ropensci / osfr

R interface to the Open Science Framework (OSF)
https://docs.ropensci.org/osfr
Other
143 stars 28 forks source link

Fix travis-ci builds #16

Closed chartgerink closed 7 years ago

chartgerink commented 8 years ago

Need to check this out.

chartgerink commented 7 years ago

Need to incorporate the changes from PR #23 into Travis, but test.osf.io is failing at the moment with login so I cannot create PAT.

Also, the test argument has been removed from functions to avoid messy ... arguments in other functions that need this argument passed on. Instead, if you want to run the operations on the test environment, you can specify Sys.setenv(OSF_USE_TEST_SERVER = TRUE) in your R session or set this as a system environment variable. This cleans up the functions since real users will never use this option and it also helps avoid problems when the user might misspecify an argument which gets passed to ... instead of throwing an error.

chartgerink commented 7 years ago

@hafen fixed this in PR #23

:100: