Hi @yannick or possibly other developers of
I have written the following script with the goal to install a specific DataSHIELD version via
opalr on the server side.
library(opalr) o <- opal.login('administrator', 'password', url = 'https://localhost:8443', opts = list(ssl.verifypeer = 0)) dsadmin.install_package(o, 'dsBase', githubusername = "datashield", ref='5.1.0') opal.logout(o)
It does what it should, but the command
dsadmin.install_package(o, 'dsBase', githubusername = "datashield", ref='5.1.0')
yields an error: Error: Client error: (400) Bad Request; IllegalArgument: R option format is invalid
Can you explain this error?
When writing this code, I encountered some other behaviour which I would consider a bug:
Without the “githubusername” argument, the “ref” is simply ignored. I figured it out how to do it after looking at the code of
This contradicts the documentation, which simply states, “If NULL (default), try to install from DataSHIELD package repository.”