R Under development (unstable) (2023-11-11 r85510 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. > library(testthat) > > test_check("data.tree") Loading required package: data.tree levelName cost 1 Acme Inc. NA 2 ¦--Accounting NA 3 ¦ ¦--New Software 1000000 4 ¦ °--New Accounting Standards 500000 5 ¦--Research NA 6 ¦ ¦--New Product Line 2000000 7 ¦ °--New Labs 750000 8 °--IT NA 9 ¦--Outsource 400000 10 ¦--Go agile 250000 11 °--Switch to R 50000 levelName b 1 1 Root NA 2 °--a 2 3 °--c NA 1, 2, 3, 4, 5 levelName a 1 Root 2 °--a 2 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 381 ] > #devtools::test() > > proc.time() user system elapsed 9.51 0.75 10.20