* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/JumpeR.Rcheck’ * using R Under development (unstable) (2023-02-07 r83773) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) GNU Fortran (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) * running under: Fedora 34 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘JumpeR/DESCRIPTION’ ... OK * this is package ‘JumpeR’ version ‘0.3.0’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘JumpeR’ can be installed ... [12s/12s] OK * checking package 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 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 ... [21s/21s] 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 examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘JumpeR-Ex.R’ failed The error most likely occurred in: > ### Name: attempts_split_long > ### Title: Creates new rows of split attempts strings (long format change) > ### Aliases: attempts_split_long > > ### ** Examples > > ## No test: > df <- tf_parse( read_results( + "https://www.flashresults.com/2018_Meets/Outdoor/04-20_DukeInvite/014-1.pdf" + ), rounds = TRUE, round_attempts = TRUE, ) Error in `dplyr::na_if()`: ! Can't convert `y` to match type of `x` . Backtrace: ▆ 1. ├─JumpeR::tf_parse(...) 2. │ └─JumpeR::flash_parse(...) 3. │ ├─base::suppressWarnings(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─... %>% dplyr::na_if("NA") 6. ├─dplyr::na_if(., "NA") 7. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 8. ├─dplyr::filter(., Row_Numb >= Min_Row_Numb) 9. ├─dplyr::mutate(., Place = as.character(Place), Row_Numb = as.numeric(Row_Numb)) 10. ├─dplyr::mutate(...) 11. ├─dplyr::na_if(., 10000) 12. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 13. └─vctrs (local) ``() 14. └─vctrs::vec_default_cast(...) 15. ├─base::withRestarts(...) 16. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 17. │ └─base (local) doWithOneRestart(return(expr), restart) 18. └─vctrs::stop_incompatible_cast(...) 19. └─vctrs::stop_incompatible_type(...) 20. └─vctrs:::stop_incompatible(...) 21. └─vctrs:::stop_vctrs(...) 22. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call)) Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [25s/25s] [25s/25s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(JumpeR) > library(purrr) Attaching package: 'purrr' The following object is masked from 'package:testthat': is_null > > test_check("JumpeR") [ FAIL 3 | WARN 0 | SKIP 42 | PASS 1 ] ══ Skipped tests ═══════════════════════════════════════════════════════════════ • On CRAN (42) ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-flash_parse.R:121'): flash parse works sprint ────────────────── Error in `dplyr::na_if(., 10000)`: Can't convert `y` to match type of `x` . Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-flash_parse.R:121:4 2. │ └─base::withCallingHandlers(...) 3. ├─JumpeR::tf_parse(...) 4. │ └─JumpeR::flash_parse(...) 5. │ ├─base::suppressWarnings(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─... %>% dplyr::na_if("NA") 8. ├─dplyr::na_if(., "NA") 9. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 10. ├─dplyr::filter(., Row_Numb >= Min_Row_Numb) 11. ├─dplyr::mutate(., Place = as.character(Place), Row_Numb = as.numeric(Row_Numb)) 12. ├─dplyr::mutate(...) 13. ├─dplyr::na_if(., 10000) 14. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 15. └─vctrs (local) ``() 16. └─vctrs::vec_default_cast(...) 17. ├─base::withRestarts(...) 18. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 19. │ └─base (local) doWithOneRestart(return(expr), restart) 20. └─vctrs::stop_incompatible_cast(...) 21. └─vctrs::stop_incompatible_type(...) 22. └─vctrs:::stop_incompatible(...) 23. └─vctrs:::stop_vctrs(...) 24. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call)) ── Error ('test-tf_parse.R:91'): tf_parse_round_attempts ─────────────────────── Error in `dplyr::na_if(., 10000)`: Can't convert `y` to match type of `x` . Backtrace: ▆ 1. ├─JumpeR::tf_parse(...) at test-tf_parse.R:91:2 2. │ └─JumpeR:::hytek_parse(...) 3. │ ├─base::suppressWarnings(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─... %>% dplyr::na_if("NA") 6. ├─dplyr::na_if(., "NA") 7. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 8. ├─dplyr::filter(...) 9. ├─dplyr::filter(., Row_Numb >= Min_Row_Numb) 10. ├─dplyr::mutate(., Row_Numb = as.numeric(Row_Numb)) 11. ├─dplyr::mutate(...) 12. ├─dplyr::na_if(., 10000) 13. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 14. └─vctrs (local) ``() 15. └─vctrs::vec_default_cast(...) 16. ├─base::withRestarts(...) 17. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 18. │ └─base (local) doWithOneRestart(return(expr), restart) 19. └─vctrs::stop_incompatible_cast(...) 20. └─vctrs::stop_incompatible_type(...) 21. └─vctrs:::stop_incompatible(...) 22. └─vctrs:::stop_vctrs(...) 23. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call)) ── Error ('test-tf_parse.R:195'): tf_parse_rounds ────────────────────────────── Error in `dplyr::na_if(., 10000)`: Can't convert `y` to match type of `x` . Backtrace: ▆ 1. ├─JumpeR::tf_parse(...) at test-tf_parse.R:195:2 2. │ └─JumpeR:::hytek_parse(...) 3. │ ├─base::suppressWarnings(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─... %>% dplyr::na_if("NA") 6. ├─dplyr::na_if(., "NA") 7. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 8. ├─dplyr::filter(...) 9. ├─dplyr::filter(., Row_Numb >= Min_Row_Numb) 10. ├─dplyr::mutate(., Row_Numb = as.numeric(Row_Numb)) 11. ├─dplyr::mutate(...) 12. ├─dplyr::na_if(., 10000) 13. │ └─vctrs::vec_cast(x = y, to = x, x_arg = "y", to_arg = "x") 14. └─vctrs (local) ``() 15. └─vctrs::vec_default_cast(...) 16. ├─base::withRestarts(...) 17. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 18. │ └─base (local) doWithOneRestart(return(expr), restart) 19. └─vctrs::stop_incompatible_cast(...) 20. └─vctrs::stop_incompatible_type(...) 21. └─vctrs:::stop_incompatible(...) 22. └─vctrs:::stop_vctrs(...) 23. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call)) [ FAIL 3 | WARN 0 | SKIP 42 | PASS 1 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 2 ERRORs See ‘/data/blackswan/ripley/R/packages/tests-devel/JumpeR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:51.43, 99.28 + 8.57