* using log directory 'd:/Rcompile/CRANpkg/local/4.0/rtables.Rcheck' * using R version 4.0.5 (2021-03-31) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'rtables/DESCRIPTION' ... OK * this is package 'rtables' version '0.5.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'rtables' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [29s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [47s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [120s] ERROR Running 'testthat.R' [119s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(xml2) > library(tibble) > library(rtables) Loading required package: magrittr Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Loading required package: formatters > > test_check("rtables", reporter = JunitReporter$new(file = "unit_test_results.xml")) ARM1 ARM2 ——————————————————————————————— M 256 (50.79%) 248 (50.00%) F 248 (49.21%) 248 (50.00%) setosa versicolor virginica (N=50) (N=50) (N=50) —————————————————————————————————————————————————————— Sepal.Length Mean (sd) 5.01 (0.35) 5.94 (0.52) 6.59 (0.64) Variance 0.124 0.266 0.404 Min - Max 4.3 - 5.8 4.9 - 7.0 4.9 - 7.9 Petal.Width Mean (sd) 0.25 (0.11) 1.33 (0.20) 2.03 (0.27) Variance 0.011 0.039 0.075 Min - Max 0.1 - 0.6 1.0 - 1.8 1.4 - 2.5 hi lo —————————— label path ————————————————————————————— ARM1 ARM, ARM1 Male ARM, ARM1, SEX, M Female ARM, ARM1, SEX, F ARM2 ARM, ARM2 Male ARM, ARM2, SEX, M Female ARM, ARM2, SEX, F rowname node_class path ————————————————————————————————————————————————————————————————————————————————————————— Caucasian (n) ContentRow root, RACE, WHITE, @content, Caucasian (n) Level A ContentRow root, RACE, WHITE, FACTOR2, A, @content, Level A Age Analysis LabelRow root, RACE, WHITE, FACTOR2, A, AGE mean DataRow root, RACE, WHITE, FACTOR2, A, AGE, mean median DataRow root, RACE, WHITE, FACTOR2, A, AGE, median Age Analysis redux LabelRow root, RACE, WHITE, FACTOR2, A, AgeRedux range DataRow root, RACE, WHITE, FACTOR2, A, AgeRedux, range Level B ContentRow root, RACE, WHITE, FACTOR2, B, @content, Level B Age Analysis LabelRow root, RACE, WHITE, FACTOR2, B, AGE mean DataRow root, RACE, WHITE, FACTOR2, B, AGE, mean median DataRow root, RACE, WHITE, FACTOR2, B, AGE, median Age Analysis redux LabelRow root, RACE, WHITE, FACTOR2, B, AgeRedux range DataRow root, RACE, WHITE, FACTOR2, B, AgeRedux, range African American (n) ContentRow root, RACE, BLACK, @content, African American (n) Level A ContentRow root, RACE, BLACK, FACTOR2, A, @content, Level A Age Analysis LabelRow root, RACE, BLACK, FACTOR2, A, AGE mean DataRow root, RACE, BLACK, FACTOR2, A, AGE, mean median DataRow root, RACE, BLACK, FACTOR2, A, AGE, median Age Analysis redux LabelRow root, RACE, BLACK, FACTOR2, A, AgeRedux range DataRow root, RACE, BLACK, FACTOR2, A, AgeRedux, range Level B ContentRow root, RACE, BLACK, FACTOR2, B, @content, Level B Age Analysis LabelRow root, RACE, BLACK, FACTOR2, B, AGE mean DataRow root, RACE, BLACK, FACTOR2, B, AGE, mean median DataRow root, RACE, BLACK, FACTOR2, B, AGE, median Age Analysis redux LabelRow root, RACE, BLACK, FACTOR2, B, AgeRedux range DataRow root, RACE, BLACK, FACTOR2, B, AgeRedux, range level1 DataRow root, VAR3, level1 level2 DataRow root, VAR3, level2 Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [92s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR