R Under development (unstable) (2024-01-29 r85841 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. > > > library(testthat) > library(phylosem) Loading required package: TMB > > # Run tests > testthat::test_check("phylosem") Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 9 Fixed 2 x_vj 495 Random function (model, ...) { if (is.character(model)) class(model) <- "semmod" UseMethod("sem", model) } Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 9 Fixed 2 x_vj 495 Random Read 4 records Coefficient_name Number_of_coefficients Type 1 beta_z 9 Fixed 2 x_vj 495 Random [ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ] > > # Run from local directory > # testthat::test_dir( "C:/Users/James.Thorson/Desktop/Git/phylosem/tests/testthat/", reporter="check" ) > > proc.time() user system elapsed 4.64 0.46 5.09