The function du.check.package.version is not used anymore (dsUpload will not be availlable through registry.molgenis.org) and should be removed. When users login with du.login() and the registry is down then dsUpload will fail to run.
Note. dsUpload installation relies on devtools::install_github("lifecycle-project/ds-upload")