crew102 / wosr

R clients to the Web of Science and Incites APIs
https://crew102.github.io/wosr/
Other
30 stars 8 forks source link

IP-Based Authentication Does Not Work as Described in Documentation #6

Closed 414theodore closed 6 years ago

414theodore commented 6 years ago

Calling the auth function as described in documentation to use IP-based authentication:

auth(username = NULL, password = NULL)

Causes the below error to appear:

Error in if (username == "" || password == "") { : missing value where TRUE/FALSE needed

414theodore commented 6 years ago

Thanks @crew102. Apologies, I'm relatively green to github and Im not sure how the commits work. At what point does a new build of the package get created that I can install the new version?

crew102 commented 6 years ago

You can install the development version of the package (which contains the fix to your issue) by first installing devtools then using install_github():

if (!"devtools" %in% rownames(installed.packages())) 
  install.packages("devtools")

devtools::install_github("vt-arc/wosr")