Running 'testthat.R' [3s]
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