R Under development (unstable) (2024-12-03 r87418 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. > # 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(tablespan) > > test_check("tablespan") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union | cyl | mean_hp sd_hp | | --- - ------- ----- | | 4 | 91 | | 4 | 81.8 21.87 | | 6 | 131.67 37.53 | | ... | ... ... | | | Horsepower | | cyl | mean_hp sd_hp | | --- - ---------- ----- | | 4 | 91 | | 4 | 81.8 21.87 | | 6 | 131.67 37.53 | | ... | ... ... | | | Horsepower | | cyl | Mean SD | | --- - ---------- ----- | | 4 | 91 | | 4 | 81.8 21.87 | | 6 | 131.67 37.53 | | ... | ... ... | Motor Trend Car Road Tests A table created with tablespan | | Horse Power Weight | | Cylinder Engine | N Mean SD Mean SD | | -------- ------ - -- ----------- ----- ------ ---- | | 4 0 | 1 91 2.14 | | 4 1 | 10 81.8 21.87 2.3 0.6 | | 6 0 | 3 131.67 37.53 2.76 0.13 | | ... ... | ... ... ... ... ... | Data from the infamous mtcars data set. | Horsepower | | Mean SD | | ---------- ----- | | 91 | | 81.8 21.87 | | 131.67 37.53 | | ... ... | [ FAIL 0 | WARN 0 | SKIP 0 | PASS 45 ] > > proc.time() user system elapsed 10.04 0.81 9.98