R Under development (unstable) (2026-01-07 r89288 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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(repfun) > > test_check("repfun") Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-rs_setup-15.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_addbignvar-8.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_addpage-7.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_addsupp-8.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_align-8.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_contents-6.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_data2codelist-6.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_datacompare-7.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_datetime-7.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_denorm-8.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_expvarlist-6.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_fillcodedcode-7.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_freq-8.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_getdata-7.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_groupbyvars-6.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_libname-7.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_list-9.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_setdata-7.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_stackvar-8.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_sumstats-11.R Current Working Directory: d:/RCompile/CRANincoming/R-devel/repfun.Rcheck/tests/testthat The Current Working Directory Has Not Been Set As Expected (An Issue). It Must Be Set By The User. Saving _problems/test-ru_width_rtf-9.R [ FAIL 21 | WARN 0 | SKIP 0 | PASS 3 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rs_setup.R:15:3'): environment setup works ───────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-rs_setup.R:15:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_addbignvar.R:8:3'): adding big N works ────────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_addbignvar.R:8:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_addpage.R:7:3'): adding page numbers works ────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_addpage.R:7:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_addsupp.R:8:3'): combining SDTM with its supplemental data works ── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_addsupp.R:8:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_align.R:8:3'): aligning columns works ─────────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_align.R:8:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_contents.R:6:3'): proc contents works ─────────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_contents.R:6:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_data2codelist.R:6:3'): converting data to codelist works ──── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_data2codelist.R:6:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_datacompare.R:7:3'): proc compare works ───────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_datacompare.R:7:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_datetime.R:7:3'): adding formatted datetimes works ────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_datetime.R:7:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_denorm.R:8:3'): transposing a dataframe works ─────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_denorm.R:8:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_expvarlist.R:6:3'): expanding variable list works ─────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_expvarlist.R:6:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_fillcodedcode.R:7:3'): populating a decode variable works ─── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_fillcodedcode.R:7:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_freq.R:8:3'): generating counts and percents works ────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_freq.R:8:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_getdata.R:7:3'): get data function works ──────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_getdata.R:7:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_groupbyvars.R:6:3'): multiplication works ─────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_groupbyvars.R:6:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_libname.R:7:3'): ru_libname works for rds and rda files ───── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_libname.R:7:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_list.R:9:3'): producing RTFs works ────────────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_list.R:9:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_setdata.R:7:3'): appending data sets works ────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_setdata.R:7:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_stackvar.R:8:3'): stacking variables works ────────────────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_stackvar.R:8:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_sumstats.R:11:3'): generating summary statistics works ────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_sumstats.R:11:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) ── Error ('test-ru_width_rtf.R:9:3'): generating rtf column widths works ─────── Error in `value[[3L]](cond)`: attempt to apply non-function Backtrace: ▆ 1. └─repfun::setpath(paste0(rfenv$PATH, "/tests/testthat")) at test-ru_width_rtf.R:9:3 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) 6. └─base::tryCatch(...) 7. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. └─value[[3L]](cond) 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) [ FAIL 21 | WARN 0 | SKIP 0 | PASS 3 ] Error: ! Test failures. Execution halted