Running ‘RQuantlib.R’ [1s/1s]
  Running ‘tinytest.R’ [1s/79s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if (requireNamespace("tinytest", quietly=TRUE) &&
  +     utils::packageVersion("tinytest") >= "1.0.0") {
  + 
  +     ## Set a seed to make the test deterministic
  +     set.seed(42)
  + 
  +     ## R makes us to this
  +     Sys.setenv("R_TESTS"="")
  + 
  +     ## there are several more granular ways to test files in a tinytest directory,
  +     ## see its package vignette; tests can also run once the package is installed
  +     ## using the same command `test_package(pkgName)`, or by director or file
  +     tinytest::test_package("RQuantLib", ncpu=getOption("Ncpus", 1))
  + }
  starting worker pid=3433709 on localhost:11354 at 17:44:31.725
  
  test_businessdayconvention.R..   13 tests [0;32mOK[0m  [0;34m0.1s[0m
  
  test_calendar.R...............    2 tests [0;32mOK[0m  [0;36m11ms[0m
  
  test_dates.R..................    6 tests [0;32mOK[0m  [0;34m1.0s[0m
  
  test_options.R................  189 tests [0;32mOK[0m  [0;34m15.0s[0m
  
  test_schedule.R...............    9 tests [0;31m3 fails[0m  [0;36m29ms[0m
  ----- FAILED[data]: test_schedule.R<24--24>
   call| expect_equal(Schedule(params), expected, info = "Testing end date for schedule with end-of-month adjustment...")
   diff| Mean relative difference: 0.0009020619
   info| Testing end date for schedule with end-of-month adjustment...
  ----- FAILED[data]: test_schedule.R<39--39>
   call| expect_equal(Schedule(params), expected, info = "Testing that no dates are past the end date with EOM adjustment...")
   diff| Mean relative difference: 0.0001899335
   info| Testing that no dates are past the end date with EOM adjustment...
  ----- FAILED[data]: test_schedule.R<75--76>
   call| expect_equal(Schedule(params), expected, info = paste("Testing that the first date is not duplicated due to", 
   call| -->    "EOM convention when going backwards..."))
   diff| Numeric: lengths (3, 4) differ
   info| Testing that the first date is not duplicated due to EOM convention when going backwards...
  Error: 3 out of 219 tests failed
  Execution halted