Last updated on 2026-08-16 07:51:44 CEST.
| Package | OK | NOTE | ERROR |
|---|---|---|---|
| actibase | 13 | ||
| actinet | 13 | ||
| actiread | 13 | ||
| asleep | 12 | 1 | |
| brainR | 11 | 2 | |
| cforward | 13 | ||
| cifti | 13 | ||
| diffr | 13 | ||
| freesurfer | 11 | 2 | |
| fslr | 11 | 2 | |
| gcite | 13 | ||
| gifti | 13 | ||
| glassdoor | 13 | ||
| kirby21.base | 11 | 2 | |
| kirby21.fmri | 11 | 2 | |
| kirby21.t1 | 11 | 2 | |
| mapnhanespa | 13 | ||
| matlabr | 13 | ||
| mscstts | 13 | ||
| neurobase | 8 | 5 | |
| neurohcp | 13 | ||
| rscopus | 8 | 5 | |
| stapler | 11 | 2 | |
| stepcount | 11 | 2 | |
| walking | 13 | ||
| WhiteStripe | 11 | 2 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 12, ERROR: 1
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [212s/156s]
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 uv...Done!
Downloading cpython-3.8.20-macos-aarch64-none (download) (16.6MiB)
Downloaded cpython-3.8.20-macos-aarch64-none (download)
Building antlr4-python3-runtime==4.9.3
Updating https://github.com/muschellij2/asleep.git (HEAD)
Building importlib==1.0.4
Downloading torch (59.3MiB)
Downloading fonttools (2.6MiB)
Downloading scipy (27.5MiB)
Downloading matplotlib (7.0MiB)
Downloading numba (2.5MiB)
Downloading pillow (3.2MiB)
Downloading numpy (13.2MiB)
Downloading networkx (2.0MiB)
Downloading statsmodels (9.6MiB)
Downloading transforms3d (1.3MiB)
Downloading torchvision (1.6MiB)
Downloading pandas (10.2MiB)
Downloading scikit-learn (7.2MiB)
Downloading llvmlite (27.4MiB)
Downloading sympy (5.9MiB)
Built importlib==1.0.4
Built antlr4-python3-runtime==4.9.3
Downloaded transforms3d
Downloaded torchvision
Downloaded fonttools
Downloaded pillow
Building pyyaml==6.0.3
Downloaded networkx
Downloaded numba
Downloaded matplotlib
Downloaded scikit-learn
Downloaded sympy
Downloaded statsmodels
Downloaded pandas
Downloaded numpy
Downloaded llvmlite
Downloaded scipy
Downloaded torch
Updated https://github.com/muschellij2/asleep.git (4916a50c61dfe513a04ab340da3bfc4bd93dc96d)
Building asleep @ git+https://github.com/muschellij2/asleep.git@4916a50c61dfe513a04ab340da3bfc4bd93dc96d
Built asleep @ git+https://github.com/muschellij2/asleep.git@4916a50c61dfe513a04ab340da3bfc4bd93dc96d
Built pyyaml==6.0.3
Installed 50 packages in 735ms
Checking Data
File is:/Volumes/Builds/packages/big-sur-arm64/results/4.5/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 /Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/ssl.joblib.lzma
Caching ssl-wearables repository...
Downloading: "https://github.com/OxWearables/ssl-wearables/zipball/v1.0.0" to /Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/torch_hub_cache/v1.0.0.zip
Caching SleepNet repository and weights...
Downloading: "https://github.com/OxWearables/asleep/zipball/main" to /Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/torch_hub_cache/main.zip
Downloading: "https://github.com/OxWearables/asleep/releases/download/0.4.9/sleepnet_apr_16_2024.mdl" to /Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/torch_hub_cache/checkpoints/sleepnet_apr_16_2024.mdl
0%| | 0.00/232M [00:00<?, ?B/s]
2%|▏ | 5.50M/232M [00:00<00:04, 57.4MB/s]
5%|▍ | 11.0M/232M [00:00<00:07, 30.7MB/s]
8%|▊ | 18.0M/232M [00:00<00:05, 43.7MB/s]
10%|▉ | 23.1M/232M [00:00<00:06, 32.5MB/s]
12%|█▏ | 28.8M/232M [00:00<00:05, 38.6MB/s]
14%|█▍ | 33.4M/232M [00:01<00:06, 30.2MB/s]
17%|█▋ | 39.6M/232M [00:01<00:05, 37.4MB/s]
19%|█▉ | 44.1M/232M [00:01<00:06, 31.2MB/s]
22%|██▏ | 50.1M/232M [00:01<00:06, 29.5MB/s]
25%|██▍ | 57.5M/232M [00:01<00:04, 38.3MB/s]
27%|██▋ | 62.1M/232M [00:01<00:05, 33.1MB/s]
29%|██▉ | 68.1M/232M [00:02<00:04, 38.8MB/s]
31%|███▏ | 72.6M/232M [00:02<00:05, 31.8MB/s]
35%|███▍ | 80.1M/232M [00:02<00:05, 31.1MB/s]
38%|███▊ | 87.9M/232M [00:02<00:03, 39.8MB/s]
40%|███▉ | 92.6M/232M [00:02<00:04, 33.1MB/s]
43%|████▎ | 100M/232M [00:03<00:04, 33.1MB/s]
47%|████▋ | 108M/232M [00:03<00:03, 41.6MB/s]
49%|████▊ | 113M/232M [00:03<00:03, 35.2MB/s]
52%|█████▏ | 120M/232M [00:03<00:03, 33.2MB/s]
55%|█████▌ | 129M/232M [00:03<00:02, 42.8MB/s]
58%|█████▊ | 134M/232M [00:03<00:02, 36.4MB/s]
60%|██████ | 140M/232M [00:04<00:04, 20.5MB/s]
63%|██████▎ | 147M/232M [00:04<00:03, 26.9MB/s]
65%|██████▌ | 152M/232M [00:04<00:03, 25.8MB/s]
68%|██████▊ | 159M/232M [00:05<00:02, 32.9MB/s]
70%|███████ | 164M/232M [00:05<00:02, 29.9MB/s]
73%|███████▎ | 170M/232M [00:05<00:02, 29.8MB/s]
76%|███████▌ | 176M/232M [00:05<00:01, 34.4MB/s]
78%|███████▊ | 180M/232M [00:05<00:01, 30.1MB/s]
81%|████████ | 187M/232M [00:05<00:01, 37.8MB/s]
83%|████████▎ | 192M/232M [00:06<00:01, 32.3MB/s]
86%|████████▌ | 199M/232M [00:06<00:00, 41.0MB/s]
88%|████████▊ | 204M/232M [00:06<00:00, 32.7MB/s]
90%|█████████ | 210M/232M [00:06<00:00, 32.0MB/s]
93%|█████████▎| 216M/232M [00:06<00:00, 36.6MB/s]
95%|█████████▍| 220M/232M [00:06<00:00, 31.3MB/s]
98%|█████████▊| 227M/232M [00:07<00:00, 38.6MB/s]
100%|█████████▉| 231M/232M [00:07<00:00, 32.5MB/s]
100%|██████████| 232M/232M [00:07<00:00, 33.3MB/s]Parsing raw data
All models downloaded successfully.
/Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/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.04s)
Resampling...
Resampling... Done! (0.09s)
{'WearTime(days)': 0.1666662808564815, 'NonwearTime(days)': 0.0, 'NumNonwearEpisodes': 0}
Time shift applied: 0 hours
Raw data file saved to: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/raw.csv
Info data file saved to: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/info.json
time x y z non_wear
0 2000-01-04 20:00:00.000000000 -0.704000 0.413000 -0.540000 False
1 2000-01-04 20:00:00.033333333 -0.720795 0.419000 -0.561667 False
2 2000-01-04 20:00:00.066666666 -0.665154 0.428846 -0.578590 False
3 2000-01-04 20:00:00.100000000 -0.698000 0.434000 -0.525000 False
4 2000-01-04 20:00:00.133333333 -0.674051 0.417308 -0.575385 False
Transforming data for model input
Data shape for data2model: (480, 3, 900)
Data shape for times: (480,)
Data shape for nonwear: (480,)
Detecting sleep windows
args$outdir/Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a
ssl_sleep_path: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/ssl_sleep.npy, exists:FALSE
data2model
array([[[-0.704 , -0.72079488, -0.66515385, ..., -0.69130774,
-0.69115383, -0.6903333 ],
[ 0.413 , 0.419 , 0.42884615, ..., 0.42430774,
0.42807678, 0.44416667],
[-0.54 , -0.56166666, -0.57858971, ..., -0.55976925,
-0.59274354, -0.61691666]],
[[-0.689 , -0.61469231, -0.58484615, ..., -0.62961541,
-0.62735884, -0.62341669],
[ 0.469 , 0.42923077, 0.43343586, ..., 0.466 ,
0.46 , 0.45547223],
[-0.648 , -0.55720514, -0.58207693, ..., -0.57223075,
-0.57330765, -0.56950002]],
[[-0.625 , -0.62246154, -0.63430771, ..., -0.73707666,
-0.73812797, -0.74825001],
[ 0.457 , 0.45953846, 0.46923078, ..., 0.18476925,
0.19420501, 0.20291666],
[-0.56 , -0.548 , -0.56430771, ..., -0.64523075,
-0.6363847 , -0.65150002]],
...,
[[-0.032 , -0.032 , -0.032 , ..., -0.032 ,
-0.032 , -0.032 ],
[-0.123 , -0.123 , -0.123 , ..., -0.123 ,
-0.123 , -0.123 ],
[-0.988 , -0.988 , -0.988 , ..., -0.988 ,
-0.988 , -0.988 ]],
[[-0.032 , -0.032 , -0.032 , ..., -0.032 ,
-0.032 , -0.032 ],
[-0.123 , -0.123 , -0.123 , ..., -0.123 ,
-0.123 , -0.123 ],
[-0.988 , -0.988 , -0.988 , ..., -0.988 ,
-0.988 , -0.988 ]],
[[-0.032 , -0.032 , -0.032 , ..., -0.032 ,
-0.032 , -0.032 ],
[-0.123 , -0.123 , -0.123 , ..., -0.123 ,
-0.123 , -0.123 ],
[-0.988 , -0.988 , -0.988 , ..., -0.988 ,
-0.988 , -0.988 ]]])
non_wear
array([False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False])
Data2model file saved to: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/data2model.npy
Times file saved to: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/times.npy
Non-wear file saved to: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/non_wear.npy
Downloading https://github.com/OxWearables/asleep/releases/download/0.4.12/ssl.joblib.lzma...
prediction set sample count: 480
Using local /Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/torch_hub_cache/OxWearables_ssl-wearables_v1.0.0
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:22<00:00, 22.50s/it]Running SleepNet
SleepNet outdir: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a
Upstream ssl model path: /Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/ssl.joblib.lzma, exists: TRUE
SleepNet weight URL: https://github.com/OxWearables/asleep/releases/download/0.4.9/sleepnet_apr_16_2024.mdl
SleepNet artifact ssl_sleep: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/ssl_sleep.npy, exists: TRUE
SleepNet artifact y_pred: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/y_pred.npy, exists: FALSE
SleepNet artifact pred_prob: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/pred_prob.npy, exists: FALSE
SleepNet artifact x_npy: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/X.npy, exists: TRUE
SleepNet artifact x_npy_gz: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/X.npy.gz, exists: FALSE
SleepNet artifact npid: /Volumes/Temp/tmp/RtmpVCFIiY/file17e48335f1e5a/npid.npy, exists: TRUE
(480,)
(array([0., 2., 3.]), array([ 79, 45, 356]))
pytorch device: mps
setting up cnn
access local repo
/Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/sleepnet.py:207: Hydra14MigrationWarning:
The version_base parameter is not specified.
Hydra will assume defaults for version 1.1.
Hydra 1.4 will remove this compatibility behavior.
Before upgrading to Hydra 1.4, set version_base="1.3" and test your application.
See https://hydra.cc/docs/upgrades/1.3_to_1.4/prepare_for_1_4/ for preparation instructions.
initialize(config_path="conf")
Loading local weight from /Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/torch_hub_cache/checkpoints/sleepnet_apr_16_2024.mdl
/Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/cache/archive-v0/i8tzpdcBJFJ_GRNP/lib/python3.8/site-packages/asleep/torch_hub_cache/OxWearables_asleep_main/hubconf.py:22: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
state_dict = torch.load(local_weight_path,
Saving _problems/test-asleep-20.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 67 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-asleep.R:20:5'): asleep model works ────────────────────────────
<python.builtin.RuntimeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition>
Error in `py_call_impl(callable, call_args$unnamed, call_args$named)`: RuntimeError: MPS backend out of memory (MPS allocated: 8.00 MB, other allocations: 272.00 KB, max allowed: 1.70 GB). Tried to allocate 256 bytes on shared pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure).
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. └─reticulate (local) start_sleep_net(...)
3. └─reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 67 ]
Error:
! Test failures.
Execution halted
/Users/rbuild/Library/Caches/org.R-project.R/R/reticulate/uv/python/cpython-3.8.20-macos-aarch64-none/lib/python3.8/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Flavor: r-oldrel-macos-arm64
Current CRAN status: OK: 11, NOTE: 2
Version: 1.7.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 11, NOTE: 2
Version: 1.8.1
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 11, NOTE: 2
Version: 2.27.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 11, NOTE: 2
Version: 1.7.3
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "John",
family = "Muschelli",
role = c("aut", "cre"),
email = "muschellij2@gmail.com")
as necessary.
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 11, NOTE: 2
Version: 1.8.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 11, NOTE: 2
Version: 1.8.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 8, NOTE: 5
Version: 1.34.0
Check: R code for possible problems
Result: NOTE
Found calls to structure() using deprecated special names:
neurobase/tests/testthat/test-cog.R (.Names: 1)
'.Names' should be changed to 'names'.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: OK: 8, NOTE: 5
Version: 0.9.0
Check: R code for possible problems
Result: NOTE
Found calls to structure() using deprecated special names:
rscopus/R/replace_non_ascii.R (.Names: 1)
'.Names' should be changed to 'names'.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Current CRAN status: OK: 11, NOTE: 2
Version: 0.8.0
Flags: --no-vignettes
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 11, ERROR: 2
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/26s]
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(stepcount)
>
> testthat::test_check("stepcount")
Downloading uv...Done!
Downloading cpython-3.10.21-macos-aarch64-none (download) (24.7MiB)
Downloaded cpython-3.10.21-macos-aarch64-none (download)
Downloading pandas (10.3MiB)
Downloading scikit-learn (7.3MiB)
Downloading matplotlib (7.0MiB)
Downloading numba (2.5MiB)
Downloading transforms3d (1.3MiB)
Downloading torchvision (1.2MiB)
Downloading torch (50.7MiB)
Downloading llvmlite (27.4MiB)
Downloading numpy (13.2MiB)
Downloading pillow (4.6MiB)
Downloading statsmodels (9.6MiB)
Downloading scipy (27.4MiB)
Downloading fonttools (2.8MiB)
Downloaded transforms3d
Downloaded torchvision
Downloaded fonttools
Downloaded pillow
Downloaded numba
Downloaded matplotlib
Downloaded scikit-learn
Downloaded statsmodels
Downloaded pandas
Downloaded numpy
Downloaded llvmlite
Downloaded scipy
Downloaded torch
Installed 36 packages in 266ms
Error in py_get_attr(x, name, FALSE) :
AttributeError: module 'stepcount' has no attribute 'stepcount'
Run `reticulate::py_last_error()` for details.
-- Python Exception Message ----------------------------------------------------
-- R Traceback -----------------------------------------------------------------
AttributeError: module 'stepcount' has no attribute 'stepcount'
x
1. \-stepcount::sc_read(file) at test-sc_read.R:4:5
2. \-stepcount:::stepcount_base()
3. +-base::try(...)
4. | \-base::tryCatch(...)
5. | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
6. | \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. | \-base (local) doTryCatch(return(expr), name, parentenv, handler)
8. +-sc$stepcount
9. \-reticulate:::`$.python.builtin.module`(sc, "stepcount")
10. \-reticulate::py_get_attr(x, name, FALSE)
See `reticulate::py_last_error()$r_trace$full_call` for more details.
This message is displayed once per session.
Saving _problems/test-sc_read-4.R
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 42 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test-full_run.R:10:3', 'test-full_run.R:51:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-sc_read.R:4:5'): reading in a file works ───────────────────────
<python.builtin.OSError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition>
Error in `py_module_import(module, convert = convert)`: OSError: Could not find/load shared object file
Run `reticulate::py_last_error()` for details.
Backtrace:
▆
1. └─stepcount::sc_read(file) at test-sc_read.R:4:5
2. └─stepcount:::stepcount_base()
3. └─reticulate::import("stepcount.stepcount")
4. └─reticulate:::py_module_import(module, convert = convert)
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 42 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-macos-arm64
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/38s]
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(stepcount)
>
> testthat::test_check("stepcount")
Downloading cpython-3.10.21-macos-aarch64-none (download) (24.7MiB)
Downloaded cpython-3.10.21-macos-aarch64-none (download)
Downloading pillow (4.6MiB)
Downloading statsmodels (9.6MiB)
Downloading scipy (27.4MiB)
Downloading matplotlib (7.0MiB)
Downloading pandas (10.3MiB)
Downloading torchvision (1.2MiB)
Downloading scikit-learn (7.3MiB)
Downloading numba (2.5MiB)
Downloading fonttools (2.8MiB)
Downloading llvmlite (27.4MiB)
Downloading numpy (13.2MiB)
Downloading torch (50.7MiB)
Downloaded torchvision
Downloaded fonttools
Downloaded pillow
Downloaded numba
Downloaded matplotlib
Downloaded scikit-learn
Downloaded statsmodels
Downloaded pandas
Downloaded numpy
Downloaded llvmlite
Downloaded scipy
Downloaded torch
Installed 36 packages in 592ms
Error in py_get_attr(x, name, FALSE) :
AttributeError: module 'stepcount' has no attribute 'stepcount'
Run `reticulate::py_last_error()` for details.
-- Python Exception Message ----------------------------------------------------
-- R Traceback -----------------------------------------------------------------
AttributeError: module 'stepcount' has no attribute 'stepcount'
x
1. \-stepcount::sc_read(file) at test-sc_read.R:4:5
2. \-stepcount:::stepcount_base()
3. +-base::try(...)
4. | \-base::tryCatch(...)
5. | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
6. | \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. | \-base (local) doTryCatch(return(expr), name, parentenv, handler)
8. +-sc$stepcount
9. \-reticulate:::`$.python.builtin.module`(sc, "stepcount")
10. \-reticulate::py_get_attr(x, name, FALSE)
See `reticulate::py_last_error()$r_trace$full_call` for more details.
This message is displayed once per session.
Saving _problems/test-sc_read-4.R
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 42 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test-full_run.R:10:3', 'test-full_run.R:51:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-sc_read.R:4:5'): reading in a file works ───────────────────────
<python.builtin.OSError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition>
Error in `py_module_import(module, convert = convert)`: OSError: Could not find/load shared object file
Run `reticulate::py_last_error()` for details.
Backtrace:
▆
1. └─stepcount::sc_read(file) at test-sc_read.R:4:5
2. └─stepcount:::stepcount_base()
3. └─reticulate::import("stepcount.stepcount")
4. └─reticulate:::py_module_import(module, convert = convert)
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 42 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64
Current CRAN status: OK: 13
Current CRAN status: OK: 11, NOTE: 2
Version: 2.5.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘John Muschelli <muschellij2@gmail.com>’
Problems when reading CITATION file:
Replacing special names ‘.Names’ is deprecated; use ‘names’ instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc