R Under development (unstable) (2024-01-23 r85822 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(annotater) > > test_check("annotater") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 35 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-overall-annotation.R:86:1'): if statement for pacman + base calls works ── Error in `pck_descs[stringr::str_detect(out_tb$call, ".+load\\("), ]`: Can't subset rows with `stringr::str_detect(out_tb$call, ".+load\\(")`. ✖ Logical subscript `stringr::str_detect(out_tb$call, ".+load\\(")` must be size 1 or 1, not 2. Backtrace: ▆ 1. ├─testthat::expect_match(annotate_repostitle(test_string), "# Common") at test-overall-annotation.R:86:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─annotater::annotate_repostitle(test_string) 5. │ ├─pck_descs[stringr::str_detect(out_tb$call, ".+load\\("), ] 6. │ └─tibble:::`[.tbl_df`(...) 7. │ └─tibble:::vectbl_as_row_index(i, x, i_arg) 8. │ └─tibble:::vectbl_as_row_location(i, nr, i_arg, assign, call) 9. │ ├─tibble:::subclass_row_index_errors(...) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─vctrs::vec_as_location(...) 12. └─vctrs (local) ``() 13. └─vctrs:::stop_indicator_size(...) 14. └─rlang::cnd_signal(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 35 ] Error: Test failures Execution halted