* using log directory 'd:/RCompile/CRANincoming/R-devel/BFS.Rcheck' * using R Under development (unstable) (2024-09-25 r87194 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'BFS/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'BFS' version '0.5.9' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [14s] NOTE Maintainer: 'Felix Luginbuhl ' Found the following (possibly) invalid URLs: URL: https://www.bfs.admin.ch/bfs/de/home/statistiken/kataloge-datenbanken/tabellen.html From: README.md Status: 404 Message: Not Found URL: https://www.bfs.admin.ch/bfs/en/home/statistics/catalogues-databases/data.html From: README.md Status: 404 Message: Not Found URL: https://www.linkedin.com/in/FelixLuginbuhl From: README.md Status: 999 * 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 serialization versions ... OK * checking whether package 'BFS' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 code 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 ... [10s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [133s] ERROR Running 'testthat.R' [133s] 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(BFS) > > test_check("BFS") ==>---------------------------- 5% | ETA: 19s ======>------------------------ 20% | ETA: 16s ===========>------------------- 35% | ETA: 13s ===============>--------------- 51% | ETA: 10s ====================>---------- 66% | ETA: 7s ========================>------ 81% | ETA: 4s =============================>- 96% | ETA: 1s [ FAIL 1 | WARN 1 | SKIP 0 | PASS 49 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bfs_get_catalog_tables.R:5:3'): bfs_get_catalog_tables() returns a data.frame of 5 rows ── Error in `req_perform(.)`: HTTP 408 Request Timeout. Backtrace: ▆ 1. ├─BFS::bfs_get_catalog_tables(limit = 5) at test-bfs_get_catalog_tables.R:5:3 2. │ └─... %>% resp_body_json(simplifyVector = TRUE) 3. ├─httr2::resp_body_json(., simplifyVector = TRUE) 4. │ └─httr2:::check_response(resp) 5. │ └─httr2:::is_response(resp) 6. └─httr2::req_perform(.) 7. └─httr2:::handle_resp(req, resp, error_call = error_call) 8. └─httr2:::resp_abort(resp, req, body, call = error_call) 9. └─rlang::abort(...) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 49 ] Error: Test failures Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE