* using log directory 'd:/Rcompile/CRANpkg/local/3.6/SwimmeR.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'SwimmeR/DESCRIPTION' ... OK * this is package 'SwimmeR' version '0.9.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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'SwimmeR' 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 ... [15s] OK * checking Rd files ... 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 data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [28s] ERROR Running 'testthat.R' [28s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(SwimmeR) > > test_check("SwimmeR") == Skipped tests =============================================================== * On CRAN (13) == Failed tests ================================================================ -- Error (test-relay_swimmers_works.R:5:3): relay swimmers one line works ------ Error: arguments imply differing number of rows: 40, 34 Backtrace: x 1. +-SwimmeR::swim_parse(...) test-relay_swimmers_works.R:5:2 2. | +-`%>%`(...) 3. | +-base::transform(...) 4. | \-base::transform.data.frame(...) 5. | +-base::do.call("data.frame", c(list(`_data`), e[!matched])) 6. | \-base::data.frame(...) 7. \-dplyr::select(., -Row_Numb) -- Error (test-splits.R:5:3): Singapore results, splits in parenthesis --------- Error: arguments imply differing number of rows: 444, 436 Backtrace: x 1. +-`%>%`(...) test-splits.R:5:2 2. +-SwimmeR:::splits_reform(.) 3. | \-`%>%`(...) 4. +-dplyr::mutate(...) 5. +-dplyr::mutate(...) 6. +-dplyr::rowwise(.) 7. +-dplyr::mutate(., dplyr::across(dplyr::starts_with("Split"), ~sec_format(.x))) 8. +-dplyr::mutate(., F_sec = sec_format(Finals_Time)) 9. +-dplyr::filter(...) 10. +-SwimmeR::swim_parse(...) 11. | +-`%>%`(...) 12. | +-base::transform(...) 13. | \-base::transform.data.frame(...) 14. | +-base::do.call("data.frame", c(list(`_data`), e[!matched])) 15. | \-base::data.frame(...) 16. \-dplyr::select(., -Row_Numb) -- Error (test-splits.R:71:3): USA Swimming results, splits don't have parenthesis, some splits longer than 59.99 -- Error: arguments imply differing number of rows: 107, 101 Backtrace: x 1. +-swim_parse(read_results(file), splits = TRUE) %>% splits_reform() test-splits.R:71:2 2. +-SwimmeR:::splits_reform(.) 3. | \-`%>%`(...) 4. +-dplyr::mutate(...) 5. +-dplyr::mutate(...) 6. +-dplyr::rowwise(.) 7. +-dplyr::mutate(., dplyr::across(dplyr::starts_with("Split"), ~sec_format(.x))) 8. +-dplyr::mutate(., F_sec = sec_format(Finals_Time)) 9. +-dplyr::filter(...) 10. +-SwimmeR::swim_parse(read_results(file), splits = TRUE) 11. | +-`%>%`(...) 12. | +-base::transform(...) 13. | \-base::transform.data.frame(...) 14. | +-base::do.call("data.frame", c(list(`_data`), e[!matched])) 15. | \-base::data.frame(...) 16. \-dplyr::select(., -Row_Numb) [ FAIL 3 | WARN 0 | SKIP 13 | PASS 13 ] 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 ... [11s] WARNING Error(s) in re-building vignettes: --- re-building 'SwimmeR.Rmd' using rmarkdown Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Beginning with SwimmeR v0.6.0 the Grade and School output columns are renamed Age and Team respectively. Please adjust your work flows as needed. Joining, by = "Row_Numb" Joining, by = "Row_Numb" Joining, by = "Row_Numb" Joining, by = "Row_Numb" Joining, by = "Row_Numb" Joining, by = "Row_Numb" Quitting from lines 106-116 (SwimmeR.Rmd) Error: processing vignette 'SwimmeR.Rmd' failed with diagnostics: arguments imply differing number of rows: 247, 240 --- failed re-building 'SwimmeR.Rmd' SUMMARY: processing the following file failed: 'SwimmeR.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING