R Under development (unstable) (2024-12-10 r87437 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > > # RcppCCTZ: Rcpp-based R bindings for CCTZ > # > # Copyright (C) 2019 Dirk Eddelbuettel > # > # This file is part of RcppCCTZ. > # > # RcppCCTZ is free software: you can redistribute it and/or > # modify it under the terms of the GNU General Public License as > # published by the Free Software Foundation, either version 2 of the > # License, or (at your option) any later version. > # > # RcppCCTZ is distributed in the hope that it will be useful, but > # WITHOUT ANY WARRANTY; without even the implied warranty of > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > # General Public License for more details. > # > # You should have received a copy of the GNU General Public License > # along with RcppCCTZ. If not, see . > > if (requireNamespace("tinytest", quietly=TRUE)) { + + ## Set a seed to make the test deterministic + set.seed(42) + + ## 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 + + tinytest::test_package("RcppCCTZ") + + } test_format.R................. 0 tests test_format.R................. 0 tests test_format.R................. 0 tests test_format.R................. 1 tests OK test_format.R................. 1 tests OK test_format.R................. 2 tests OK test_format.R................. 2 tests OK test_format.R................. 3 tests OK test_format.R................. 3 tests OK test_format.R................. 3 tests OK test_format.R................. 3 tests OK test_format.R................. 3 tests OK test_format.R................. 3 tests OK test_format.R................. 4 tests OK test_format.R................. 5 tests OK 87ms test_parse.R.................. 0 tests test_parse.R.................. 0 tests test_parse.R.................. 0 tests test_parse.R.................. 0 tests test_parse.R.................. 0 tests test_parse.R.................. 1 tests OK test_parse.R.................. 1 tests OK test_parse.R.................. 2 tests OK test_parse.R.................. 2 tests OK test_parse.R.................. 2 tests OK test_parse.R.................. 3 tests OK test_parse.R.................. 3 tests OK test_parse.R.................. 4 tests OK test_parse.R.................. 4 tests OK test_parse.R.................. 4 tests OK test_parse.R.................. 4 tests OK test_parse.R.................. 5 tests OK test_parse.R.................. 5 tests OK 6ms test_tz.R..................... 0 tests test_tz.R..................... 0 tests test_tz.R..................... 0 tests test_tz.R..................... 1 tests OK test_tz.R..................... 1 tests OK test_tz.R..................... 2 tests OK test_tz.R..................... 2 tests OK test_tz.R..................... 4 tests OK 7ms All ok, 14 results (0.1s) > > proc.time() user system elapsed 0.37 0.17 0.48