- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘stepcount/DESCRIPTION’ ... OK
- this is package ‘stepcount’ version ‘0.5.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 ‘stepcount’ can be installed ... [1s/1s] OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] 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 ... [0s/0s] 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 ... [1s/1s] OK
- checking Rd files ... [0s/0s] 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 examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [19s/36s] ERROR
Running ‘testthat.R’ [19s/36s]
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.20-macos-aarch64-none (download) (24.7MiB)
Downloaded cpython-3.10.20-macos-aarch64-none (download)
Downloading llvmlite (27.4MiB)
Downloading fonttools (2.8MiB)
Downloading transforms3d (1.3MiB)
Downloading torchvision (1.2MiB)
Downloading pillow (4.5MiB)
Downloading numba (2.5MiB)
Downloading numpy (13.2MiB)
Downloading scipy (27.4MiB)
Downloading scikit-learn (7.3MiB)
Downloading torch (50.7MiB)
Downloading pandas (10.3MiB)
Downloading matplotlib (7.0MiB)
Downloading statsmodels (9.6MiB)
Downloaded transforms3d
Downloaded torchvision
Downloaded fonttools
Downloaded pillow
Downloaded numba
Downloaded matplotlib
Downloaded scikit-learn
Downloaded statsmodels
Downloaded pandas
Downloaded llvmlite
Downloaded numpy
Downloaded scipy
Downloaded torch
Installed 36 packages in 477ms
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
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR