* using log directory ‘/Users/ripley/R/packages/tests-devel/rsleep.Rcheck’ * using R Under development (unstable) (2024-05-11 r86532) * using platform: aarch64-apple-darwin23.4.0 * R was compiled by Apple clang version 15.0.0 (clang-1500.3.9.4) GNU Fortran (GCC) 12.2.0 * running under: macOS Sonoma 14.4.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘rsleep/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘rsleep’ version ‘1.0.12’ * 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 ‘rsleep’ 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 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 ... 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > testthat::test_check("rsleep") Loading required package: rsleep trying URL 'https://rsleep.org/data/rec_1.dat' [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test_resp.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_ecg.R:6:3'): Peak detection ──────────────────────────────────── Error in `download.file("https://rsleep.org/data/rec_1.dat", path)`: cannot open URL 'https://rsleep.org/data/rec_1.dat' Backtrace: ▆ 1. └─utils::download.file("https://rsleep.org/data/rec_1.dat", path) at test_ecg.R:6:3 [ FAIL 1 | WARN 2 | SKIP 1 | PASS 74 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building ‘Spectral_analysis_sleep_electroencephalography.Rmd’ using rmarkdown % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: certificate has expired More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. Quitting from lines at lines 39-51 [edf_read] (Spectral_analysis_sleep_electroencephalography.Rmd) Error: processing vignette 'Spectral_analysis_sleep_electroencephalography.Rmd' failed with diagnostics: 'curl' call had nonzero exit status --- failed re-building ‘Spectral_analysis_sleep_electroencephalography.Rmd’ --- re-building ‘Spindles_detection_and_analysis.Rmd’ using rmarkdown % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: certificate has expired More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. Quitting from lines at lines 56-71 [edf_read] (Spindles_detection_and_analysis.Rmd) Error: processing vignette 'Spindles_detection_and_analysis.Rmd' failed with diagnostics: 'curl' call had nonzero exit status --- failed re-building ‘Spindles_detection_and_analysis.Rmd’ --- re-building ‘Using_rsleep_and_SleepCycles_packages_to_detect_sleep_cycles.Rmd’ using rmarkdown % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: certificate has expired More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. Quitting from lines at lines 56-70 [hypnogram] (Using_rsleep_and_SleepCycles_packages_to_detect_sleep_cycles.Rmd) Error: processing vignette 'Using_rsleep_and_SleepCycles_packages_to_detect_sleep_cycles.Rmd' failed with diagnostics: 'curl' call had nonzero exit status --- failed re-building ‘Using_rsleep_and_SleepCycles_packages_to_detect_sleep_cycles.Rmd’ SUMMARY: processing the following files failed: ‘Spectral_analysis_sleep_electroencephalography.Rmd’ ‘Spindles_detection_and_analysis.Rmd’ ‘Using_rsleep_and_SleepCycles_packages_to_detect_sleep_cycles.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/rsleep.Rcheck/00check.log’ for details. 32.29 real 19.06 user 4.74 sys