R Under development (unstable) (2023-04-22 r84300 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) 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. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(tictoc) > > test_check("tictoc") [1] "Average elapsed time: 1.022 sec" 1: 1.03 sec elapsed 2: 1 sec elapsed 3: 1.01 sec elapsed 4: 1.03 sec elapsed 5: 1.04 sec elapsed 6: 1.01 sec elapsed 7: 1.03 sec elapsed 8: 1.02 sec elapsed 9: 1.01 sec elapsed 10: 1.04 sec elapsed Starting outer... Starting middle... Starting inner... INFO: inner: 3.04 seconds elapsed INFO: middle: 5.07 seconds elapsed INFO: outer: 6.1 seconds elapsed [ FAIL 0 | WARN 0 | SKIP 0 | PASS 74 ] > > proc.time() user system elapsed 1.18 0.25 25.90