R Under development (unstable) (2023-08-05 r84874 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > > 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=20304 on localhost:11458 at 20:46:02.697 test_businessdayconvention.R.. 13 tests OK 53ms test_calendar.R............... 2 tests OK 2ms test_dates.R.................. 0 tests 1ms [Exited at #6: Skipping dates test on Windows.] test_options.R................ 159 tests OK 40ms [Exited at #236: Skipping Asian options on Windows.] test_schedule.R............... 9 tests OK 8ms All ok, 183 results (0.2s) > > proc.time() user system elapsed 0.17 0.03 0.67