- using R Under development (unstable) (2026-08-04 r90350)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)
GNU Fortran (GCC) 16.1.1 20260515 (Red Hat 16.1.1-2)
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-08-04 15:53:50 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘asleep/DESCRIPTION’ ... OK
- this is package ‘asleep’ version ‘0.1.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 ‘asleep’ can be installed ... [5s/11s] OK
See the install log for details.
- 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 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 whether startup messages can be suppressed ... 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/14s] 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 for unstated dependencies in ‘tests’ ... OK
- checking tests ... [74s/172s] ERROR
Running ‘testthat.R’ [74s/172s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
> library(testthat)
> library(asleep)
>
> asleep:::cleanup_uv_lock_files(
+ c(".", tempdir(), dirname(tempdir()))
+ )
> testthat::test_check("asleep")
Downloading cpython-3.8.20-linux-x86_64-gnu (download) (19.9MiB)
Downloaded cpython-3.8.20-linux-x86_64-gnu (download)
Updating https://github.com/muschellij2/asleep.git (HEAD)
Downloading triton (199.7MiB)
Downloading transforms3d (1.3MiB)
Downloading nvidia-nccl-cu12 (168.1MiB)
Downloading nvidia-cusolver-cu12 (118.4MiB)
Downloading numpy (16.5MiB)
Downloading nvidia-cuda-cupti-cu12 (13.5MiB)
Downloading nvidia-curand-cu12 (53.9MiB)
Downloading torch (760.2MiB)
Downloading sympy (5.9MiB)
Downloading numba (3.5MiB)
Downloading nvidia-cusparse-cu12 (186.9MiB)
Downloading nvidia-cublas-cu12 (391.6MiB)
Downloading llvmlite (41.6MiB)
Downloading pandas (11.8MiB)
Downloading nvidia-cufft-cu12 (116.0MiB)
Downloading matplotlib (8.8MiB)
Downloading fonttools (4.5MiB)
Downloading scipy (32.9MiB)
Downloading statsmodels (10.4MiB)
Downloading kiwisolver (1.1MiB)
Downloading nvidia-cudnn-cu12 (634.0MiB)
Downloading torchvision (6.7MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading networkx (2.0MiB)
Downloading pillow (4.3MiB)
Downloading nvidia-nvjitlink-cu12 (37.9MiB)
Downloading scikit-learn (29.8MiB)
Building importlib==1.0.4
Building antlr4-python3-runtime==4.9.3
Built importlib==1.0.4
Built antlr4-python3-runtime==4.9.3
Downloaded kiwisolver
Downloaded transforms3d
Updated https://github.com/muschellij2/asleep.git (4916a50c61dfe513a04ab340da3bfc4bd93dc96d)
Building asleep @ git+https://github.com/muschellij2/asleep.git@4916a50c61dfe513a04ab340da3bfc4bd93dc96d
Downloaded networkx
Downloaded numba
Downloaded fonttools
Downloaded pillow
Built asleep @ git+https://github.com/muschellij2/asleep.git@4916a50c61dfe513a04ab340da3bfc4bd93dc96d
Downloaded sympy
Downloaded torchvision
Downloaded matplotlib
Downloaded pandas
Downloaded statsmodels
Downloaded nvidia-cuda-cupti-cu12
Downloaded numpy
Downloaded nvidia-cuda-nvrtc-cu12
Downloaded scikit-learn
Downloaded scipy
Downloaded nvidia-nvjitlink-cu12
Downloaded llvmlite
Downloaded nvidia-curand-cu12
Downloaded nvidia-cusolver-cu12
Downloaded nvidia-cufft-cu12
Downloaded nvidia-nccl-cu12
Downloaded nvidia-cusparse-cu12
Downloaded triton
Downloaded nvidia-cublas-cu12
Downloaded nvidia-cudnn-cu12
Downloaded torch
Installed 62 packages in 6.59s
Checking Data
File is:/data/localhost/ripley/R/packages/tests-devel/asleep.Rcheck/asleep/extdata/example_sleep.csv.gz
Downloading models if not already present
Downloading https://github.com/OxWearables/asleep/releases/download/0.4.12/ssl.joblib.lzma...
Saved to /data/localhost/ripley/.cache/R/reticulate/uv/cache/archive-v0/1_Wyp4N-TBoEyMv7/lib/python3.8/site-packages/asleep/ssl.joblib.lzma
Caching ssl-wearables repository...
Saving _problems/test-asleep-20.R
/data/localhost/ripley/.cache/R/reticulate/uv/cache/archive-v0/1_Wyp4N-TBoEyMv7/lib/python3.8/site-packages/asleep/utils.py:44: UserWarning: Could not infer format, so each element will be parsed individually, falling back to `dateutil`. To ensure parsing is consistent and as-expected, please specify a format.
data = pd.read_csv(
Lowpass filter...
Skipping lowpass filter: data sample rate 30 too low for cutoff rate 20
Lowpass filter... Done! (0.00s)
Gravity calibration...
Gravity calibration... Done! (0.21s)
Resampling...
Resampling... Done! (0.21s)
{'WearTime(days)': 0.1666662808564815, 'NonwearTime(days)': 0.0, 'NumNonwearEpisodes': 0}
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 67 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-asleep.R:20:5'): asleep model works ────────────────────────────
<urllib.error.HTTPError/urllib.error.URLError/python.builtin.OSError/python.builtin.Exception/python.builtin.BaseException/urllib.response.addinfourl/urllib.response.addinfo/urllib.response.addbase/tempfile._TemporaryFileWrapper/python.builtin.object/error/condition>
Error in `py_call_impl(callable, call_args$unnamed, call_args$named)`: urllib.error.HTTPError: HTTP Error 403: rate limit exceeded
Run `reticulate::py_last_error()` for details.
Backtrace:
▆
1. └─asleep::asleep(file = file, verbose = 2L, force_download = TRUE) at test-asleep.R:20:5
2. └─asleep::sl_download_models(force_download = force_download)
3. └─abase_noconvert$get_sleep$download_models(force_download = force_download)
4. └─reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 67 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR