* using log directory 'd:/Rcompile/CRANpkg/local/4.2/atrrr.Rcheck' * using R version 4.2.3 (2023-03-15 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: UTF-8 * checking for file 'atrrr/DESCRIPTION' ... OK * this is package 'atrrr' version '0.0.3' * 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 'atrrr' 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 ... [6s] OK * checking Rd files ... [1s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] ERROR Running 'testthat.R' [8s] Running the tests in 'tests/testthat.R' failed. Complete output: > # 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(atrrr) > > test_check("atrrr") [ FAIL 1 | WARN 0 | SKIP 2 | PASS 167 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • !dir.exists(tools::R_user_dir("atrrr", "cache")) is TRUE (2): 'test-convert.R:6:3', 'test-convert.R:16:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-actors.R:17:3'): user info pagination ────────────────────────── Error in `basename(req$url)`: path too long Backtrace: ▆ 1. ├─testthat::expect_equal(nrow(get_user_info(actor = actors)), 75L) at test-actors.R:17:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(get_user_info(actor = actors)) 5. └─atrrr::get_user_info(actor = actors) 6. ├─base::append(...) 7. ├─purrr::pluck(...) 8. │ └─purrr:::pluck_raw(.x, list2(...), .default = .default) 9. ├─base::do.call(...) 10. └─atrrr (local) ``(``, .token = NULL, .return = "json") 11. └─atrrr:::make_request(...) 12. └─httr2::req_perform(...) 13. └─atrrr (local) mock(req) 14. ├─base::sub("\\?.*", "", basename(req$url)) at D:\RCompile\CRANpkg\local\4.2\atrrr.Rcheck\tests\testthat\setup-mock.R:6:3 15. │ └─base::is.factor(x) 16. └─base::basename(req$url) [ FAIL 1 | WARN 0 | SKIP 2 | PASS 167 ] 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 ... [8s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR