microsoft / AzureSMR

AzureSMR is no longer being actively developed. For ongoing support of Azure in R, see: https://github.com/Azure/AzureR
Other
60 stars 43 forks source link

Look for config file in ~/.azuresmr when running tests #78

Open yueguoguo opened 7 years ago

yueguoguo commented 7 years ago

Should settingsfile <- system.file("tests/testthat/config.json", package = "AzureSMR") be replaced by settingsfile <- getOption("AzureSMR.config") in the testing scripts? @andrie

andrie commented 7 years ago

Yes, ultimately it should.

Right now it has the benefit that the file used for settings is in the same location as the package, making it easy to manage your test settings with the package.

However, this fails R CMD check.