Consider the following code:
library(dsUpload)
armadillo_url <- "armadillo-demo.molgenis.net"
login_data <- data.frame(
server = armadillo_url,
driver = "ArmadilloDriver"
)
du.login(login_data = login_data)
This works as expected however next I want to upload some data:
du.upload(
cohort_id = "inma",
dict_version = "1_3",
dict_kind = "outcome_ath",
data_version = "1_1",
data_input_format = "CSV",
data_input_path = "<PATH>/ds-upload/inst/examples/data/demo/demo-athlete-outcome.csv",
action = "all",
run_mode = "NORMAL",
upload = TRUE
)
DsUpload fails:

URL using bad/illegal format or missing URL
How to fix
Make sure the server url contains https://
Add a check in du.login() that will make sure the user is prompted to provide a valid url:
armadillo_url <- "https://armadillo-demo.molgenis.net"
Tested with dsUpload version: dsUpload_5.0.3
Consider the following code:
This works as expected however next I want to upload some data:
DsUpload fails:

URL using bad/illegal format or missing URL
How to fix
Make sure the server url contains https://
Add a check in
du.login()that will make sure the user is prompted to provide a valid url:armadillo_url <- "https://armadillo-demo.molgenis.net"
Tested with dsUpload version: dsUpload_5.0.3