* using log directory 'd:/Rcompile/CRANpkg/local/3.5/rapbase.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'rapbase/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'rapbase' version '1.10.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rapbase' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [5s] ERROR Running 'testthat.R' [5s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(rapbase) > > test_check("rapbase") -- 1. Error: (unknown) (@test-auto-report-functions.R#124) -------------------- invalid 'path' argument Backtrace: 1. base::Sys.setFileTime(bckFile, "2019-01-01") -- 2. Error: Configuration is read from package (@test-config.R#13) ----------- file.exists(file.path(path, fileName)) is not TRUE Backtrace: 1. testthat::expect_output(str(getConfig()), "List of") 11. rapbase::getConfig() 12. base::stopifnot(file.exists(file.path(path, fileName))) -- 3. Failure: The use of MSSQL in no longer possible with an appropriate messag `LoadRegData(regName, query, dbType = "mssql")` threw an error with unexpected message. Expected match: "Use of MSSQL is no longer supported. Exiting" Actual message: "file.exists(file.path(path, fileName)) is not TRUE" Backtrace: 1. testthat::expect_error(...) 6. rapbase::LoadRegData(regName, query, dbType = "mssql") 7. rapbase::rapOpenDbConnection(registryName, dbType) 8. rapbase::getConfig() 9. base::stopifnot(file.exists(file.path(path, fileName))) -- 4. Error: Helpers provide warning when no session data present (@test-userInf file.exists(file.path(path, fileName)) is not TRUE Backtrace: 1. testthat::expect_warning(getUserName()) 6. rapbase::getUserName() 7. rapbase::userInfo(shinySession, entity = "user") 8. rapbase::getConfig(fileName = "rapbaseConfig.yml") 9. base::stopifnot(file.exists(file.path(path, fileName))) -- 5. Error: (unknown) (@test-userInfo-helper-functions.R#18) ----------------- file.exists(file.path(path, fileName)) is not TRUE Backtrace: 1. rapbase::getConfig(fileName = "rapbaseConfig.yml") 2. base::stopifnot(file.exists(file.path(path, fileName))) -- 6. Error: Warning is provided when instance is undefined (@test-userInfo.R#15 file.exists(file.path(path, fileName)) is not TRUE Backtrace: 1. testthat::expect_warning(userInfo(entity = "user")) 6. rapbase::userInfo(entity = "user") 7. rapbase::getConfig(fileName = "rapbaseConfig.yml") 8. base::stopifnot(file.exists(file.path(path, fileName))) == testthat results =========================================================== [ OK: 62 | SKIPPED: 3 | WARNINGS: 3 | FAILED: 6 ] 1. Error: (unknown) (@test-auto-report-functions.R#124) 2. Error: Configuration is read from package (@test-config.R#13) 3. Failure: The use of MSSQL in no longer possible with an appropriate message (@test-dbConnection.R#91) 4. Error: Helpers provide warning when no session data present (@test-userInfo-helper-functions.R#8) 5. Error: (unknown) (@test-userInfo-helper-functions.R#18) 6. Error: Warning is provided when instance is undefined (@test-userInfo.R#15) Error: testthat unit tests failed Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR