CRAN Package Check Results for Maintainer ‘Daniel Falster <daniel.falster at unsw.edu.au>’

Last updated on 2024-11-15 19:49:49 CET.

Package ERROR OK
APCalign 2 11

Package APCalign

Current CRAN status: ERROR: 2, OK: 11

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(APCalign) > > test_check("APCalign") Downloading... trying URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apc.parquet' Internet or server may be down; error in downloading or reading the file: cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apc.parquet' trying URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apni.parquet' Internet or server may be down; error in downloading or reading the file: cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apni.parquet' Loading resources into memory... ===========================Error in `FUN()`: ! In path: "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/APCalign.Rcheck/tests/testthat/helper.R" Caused by error in `UseMethod()`: ! no applicable method for 'rename' applied to an object of class "NULL" Backtrace: ▆ 1. ├─testthat::test_check("APCalign") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_helpers(".", env) 7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─APCalign::load_taxonomic_resources(...) at tests/testthat/helper.R:5:3 15. │ └─... %>% ... 16. ├─dplyr::mutate(., genus = extract_genus(canonical_name), taxon_rank = standardise_taxon_rank(taxon_rank)) 17. ├─dplyr::rename(., dplyr::any_of(column_rename)) 18. └─base::.handleSimpleError(...) 19. └─testthat (local) h(simpleError(msg, call)) 20. └─rlang::abort(...) Warning messages: 1: In utils::download.file(url, path_to_file, mode = "wb") : cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apc.parquet': HTTP status was '404 Not Found' 2: In utils::download.file(url, path_to_file, mode = "wb") : cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apni.parquet': HTTP status was '404 Not Found' Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(APCalign) > > test_check("APCalign") Downloading... trying URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apc.parquet' Internet or server may be down; error in downloading or reading the file: cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apc.parquet' trying URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apni.parquet' Internet or server may be down; error in downloading or reading the file: cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apni.parquet' Loading resources into memory... ===========================Error in `FUN()`: ! In path: "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/APCalign.Rcheck/tests/testthat/helper.R" Caused by error in `UseMethod()`: ! no applicable method for 'rename' applied to an object of class "NULL" Backtrace: ▆ 1. ├─testthat::test_check("APCalign") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_helpers(".", env) 7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─APCalign::load_taxonomic_resources(...) at tests/testthat/helper.R:5:3 15. │ └─... %>% ... 16. ├─dplyr::mutate(., genus = extract_genus(canonical_name), taxon_rank = standardise_taxon_rank(taxon_rank)) 17. ├─dplyr::rename(., dplyr::any_of(column_rename)) 18. └─base::.handleSimpleError(...) 19. └─testthat (local) h(simpleError(msg, call)) 20. └─rlang::abort(...) Warning messages: 1: In utils::download.file(url, path_to_file, mode = "wb") : cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apc.parquet': HTTP status was '404 Not Found' 2: In utils::download.file(url, path_to_file, mode = "wb") : cannot open URL 'https://github.com/traitecoevo/APCalign/releases/download/0.0.2.9000/apni.parquet': HTTP status was '404 Not Found' Execution halted Flavor: r-patched-linux-x86_64