* using log directory ‘/srv/hornik/tmp/CRAN_pretest/Athlytics.Rcheck’ * using R Under development (unstable) (2025-10-09 r88913) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (7) Debian flang-new version 19.1.7 (7) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘Athlytics/DESCRIPTION’ ... OK * this is package ‘Athlytics’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/5s] NOTE Maintainer: ‘Ang ’ Possibly misspelled words in DESCRIPTION: ACWR (13:45) EF (13:71) Suggests or Enhances not in mainstream repositories: FITfileR Found the following (possibly) invalid URLs: URL: https://hzacode.github.io/Athlytics/ (moved to https://hezhiang.com/Athlytics/) From: DESCRIPTION README.md Status: 301 Message: Moved Permanently URL: https://hzacode.github.io/Athlytics/articles/advanced-features.html (moved to https://hezhiang.com/Athlytics/articles/advanced-features.html) From: README.md Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. Found the following (possibly) invalid file URIs: URI: CONTRIBUTING.md From: README.md URI: CODE_OF_CONDUCT.md From: README.md * checking package namespace information ... OK * checking package dependencies ... INFO Package suggested but not available for checking: ‘FITfileR’ * 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 ‘Athlytics’ can be installed ... [5s/5s] 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [8s/8s] OK * checking Rd files ... [0s/0s] 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [4s/4s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [10s/10s] ERROR Running ‘testthat.R’ [10s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(Athlytics) Loading Athlytics version 1.0.0. Analyze your Strava data locally with ease! Use load_local_activities() to get started. For documentation, see: https://hzacode.github.io/athlytics/ > > test_check("Athlytics") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Start tag expected, '<' not found Start tag expected, '<' not found Start tag expected, '<' not found Start tag expected, '<' not found [ FAIL 3 | WARN 43 | SKIP 9 | PASS 336 ] ══ Skipped tests (9) ═══════════════════════════════════════════════════════════ • Bootstrap test takes too long for regular testing (1): 'test-acwr_ewma.R:115:3' • Requires actual ZIP file for testing (1): 'test-load_local_activities.R:36:3' • Skipping ACWR EWMA test - requires date column conversion (1): 'test-acwr_ewma.R:5:3' • Skipping ACWR EWMA test - requires proper data structure (1): 'test-acwr_ewma.R:48:3' • Skipping CI warning test - requires proper data structure (1): 'test-acwr_ewma.R:151:3' • Skipping file system test - requires actual export structure (1): 'test-all_functions.R:202:3' • Skipping load metrics test - requires proper data structure (1): 'test-acwr_ewma.R:179:3' • athlytics_sample_data not available (1): 'test-load_local_activities.R:10:3' • file.exists("strava_export_data/activities.csv") is not TRUE (1): 'test-load_local_activities.R:25:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-all_functions.R:116:3'): calculate_decoupling works correctly ── Error in `map(.x, .f, ...)`: ℹ In index: 1. Caused by error in `parse_activity_file()`: ! Activity file does not exist: /tmp/RtmpuTIzyW/working_dir/RtmptNUpxW//tmp/RtmpuTIzyW/working_dir/RtmptNUpxW/activities/1.gpx Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-all_functions.R:116:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─Athlytics::calculate_decoupling(test_data, export_dir = tempdir()) 7. │ └─purrr::map_dfr(...) 8. │ └─purrr::map(.x, .f, ...) 9. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 10. │ ├─purrr:::with_indexed_errors(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ ├─purrr:::call_with_cleanup(...) 13. │ └─Athlytics (local) .f(.x[[i]], ...) 14. │ └─Athlytics:::parse_activity_file(file_path, export_dir) 15. │ └─base::stop(sprintf("Activity file does not exist: %s", file_path)) 16. └─base::.handleSimpleError(...) 17. └─purrr (local) h(simpleError(msg, call)) 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) ── Error ('test-calculate_pbs_new.R:86:3'): calculate_pbs filters by date range ── Error in `map(.x, .f, ...)`: ℹ In index: 1. Caused by error in `parse_activity_file()`: ! Activity file does not exist: /tmp/RtmpuTIzyW/working_dir/RtmptNUpxW//tmp/RtmpuTIzyW/working_dir/RtmptNUpxW/activities/5.gpx Backtrace: ▆ 1. ├─Athlytics::calculate_pbs(...) at test-calculate_pbs_new.R:86:3 2. │ └─purrr::map_dfr(...) 3. │ └─purrr::map(.x, .f, ...) 4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 5. │ ├─purrr:::with_indexed_errors(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ ├─purrr:::call_with_cleanup(...) 8. │ └─Athlytics (local) .f(.x[[i]], ...) 9. │ └─Athlytics:::parse_activity_file(file_path, export_dir) 10. │ └─base::stop(sprintf("Activity file does not exist: %s", file_path)) 11. └─base::.handleSimpleError(...) 12. └─purrr (local) h(simpleError(msg, call)) 13. └─cli::cli_abort(...) 14. └─rlang::abort(...) ── Failure ('test-parse_activity_file.R:15:3'): parse_activity_file validates input ── `parse_activity_file(temp_file)` did not throw an error. [ FAIL 3 | WARN 43 | SKIP 9 | PASS 336 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE