AzureSMR icon indicating copy to clipboard operation
AzureSMR copied to clipboard

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

Open yueguoguo opened this issue 7 years ago • 1 comments

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

yueguoguo avatar Jun 14 '17 01:06 yueguoguo

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.

andrie avatar Jun 14 '17 09:06 andrie