Running 'dotestthat.R' [5s]
Running the tests in 'tests/dotestthat.R' failed.
Complete output:
  > 
  > ## Location of unitTest files
  > runit.dir <- system.file(package="rvgtest", "unittests")
  > 
  > ## Name of R file with test suite
  > testsuite.file <- "runalltests.R"
  > 
  > ## path to R file with test suite
  > testsuite <- file.path(runit.dir, testsuite.file)
  > 
  > ## Indicate that we run 'R CMD check' 
  > .rvgt.RCMDCHECK <- TRUE
  > 
  > ## Load and test suite
  > cat("Running testsuite",testsuite,"\n") 
  Running testsuite D:/temp/Rtmp4SFdLZ/RLIBS_797436c22b64/rvgtest/unittests/runalltests.R 
  > source(testsuite)
  =============================================
   Run test suite in directory
   D:/temp/Rtmp4SFdLZ/RLIBS_797436c22b64/rvgtest/unittests
  =============================================
  Runuran: 
  [Runuran] Runuran API: .....
  [Runuran] Runuran API - Invalid arguments: .12..
  ftable: 
  [ftable] RVG frequency tables - Create: ...................
  [ftable] RVG frequency tables - Invalid arguments: .............................
  htest: 
  [htable] RVG frequency tables - GoF tests: .......
  [htable] RVG frequency tables - Invalid arguments for GoF tests: ............
  ierror: 
  [ierror] Approximation error - uerror: .......
  [ierror] Approximation error - xerror: .........
  [ierror] Approximation error - plot: ..............
  [ierror] Approximation error - Invalid arguments: ..............................3....
  
  == Failed ======================================================================
  -- 1. FAILURE (test_Runuran.R:93:9): [Ru-i12] calling uerror (Runuran) with inva
  `uerror(...)` threw an error with unexpected message.
  Expected match: " Argument 'aqdist' is object of class 'unuran' of invalid distribution type."
  Actual message: "Argument 'aqdist' is object of class 'unuran' of invalid distribution type."
  Backtrace:
   1. testthat::expect_error(...) test_Runuran.R:93:8
   6. rvgtest::uerror(...)
  
  -- 2. FAILURE (test_Runuran.R:100:9): [Ru-i12] calling xerror (Runuran) with inv
  `xerror(...)` threw an error with unexpected message.
  Expected match: " Argument 'aqdist' is object of class 'unuran' of invalid distribution type."
  Actual message: "Argument 'aqdist' is object of class 'unuran' of invalid distribution type."
  Backtrace:
   1. testthat::expect_error(...) test_Runuran.R:100:8
   6. rvgtest::xerror(...)
  
  -- 3. FAILURE (test_ierror.R:324:9): [ie-i31] calling plot.rvgt.ierror: x ------
  `plot.rvgt.ierror()` threw an error with unexpected message.
  Expected match: "'x' is missing."
  Actual message: "argument \"x\" is missing, with no default"
  Backtrace:
   1. testthat::expect_error(plot.rvgt.ierror(), msg) test_ierror.R:324:8
   6. rvgtest::plot.rvgt.ierror()
  
  == DONE ========================================================================
  Error: Test failures
  Execution halted