* using log directory 'd:/Rcompile/CRANpkg/local/4.3/rsleep.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [2s] 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 ... [9s] OK * checking Rd files ... [1s] 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 ... [6s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [13s] ERROR Running 'testthat.R' [13s] 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 in 'inst/doc' ... OK * checking re-building of vignette outputs ... [6s] 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: (35) schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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: (35) schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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: (35) schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - Das empfangene Zertifikat ist abgelaufen. 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 ... [17s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 2 ERRORs