MIMSunit
Algorithm to Compute Monitor Independent Movement Summary Unit (MIMS-Unit)
Description
The MIMS-unit algorithm is developed to compute Monitor Independent Movement Summary Unit, a measurement to summarize raw accelerometer data while ensuring harmonized results across different devices. It also includes scripts to reproduce results in the related publication (John, D., Tang. Q., Albinali, F. and Intille, S. (2019) <doi:10.1123/jmpb.2018-0068>).
Downloads
515
Last 30 days
7749th
974
Last 90 days
4.4K
Last year
Trend: +32.7% (30d vs prior 30d)
3
Last 30 days
29
Last 90 days
100
Last year
Trend: -82.4% (30d vs prior 30d)
5
Last 7 days
19
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 15, 2026
ERROR 5 OK · 0 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Qu Tang <tang.q@northeastern.edu>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Qu Tang <tang.q@northeastern.edu>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
examples
Running examples in ‘MIMSunit-Ex.R’ failed The error most likely occurred in: > ### Name: import_mhealth_csv > ### Title: Import raw multi-channel accelerometer data stored in mHealth > ### Specification > ### Aliases: import_mhealth_csv > > ### ...[truncated]... :import_mhealth_csv(filepath) 2. └─readr::read_csv(file = filepath, quoted_na = TRUE, col_types = coltypes) 3. └─lifecycle::deprecate_stop(...) 4. └─lifecycle:::deprecate_stop0(msg) 5. └─rlang::cnd_signal(...) Execution halted
examples
Running examples in ‘MIMSunit-Ex.R’ failed The error most likely occurred in: > ### Name: import_mhealth_csv > ### Title: Import raw multi-channel accelerometer data stored in mHealth > ### Specification > ### Aliases: import_mhealth_csv > > ### ...[truncated]... :import_mhealth_csv(filepath) 2. └─readr::read_csv(file = filepath, quoted_na = TRUE, col_types = coltypes) 3. └─lifecycle::deprecate_stop(...) 4. └─lifecycle:::deprecate_stop0(msg) 5. └─rlang::cnd_signal(...) Execution halted
examples
Running examples in 'MIMSunit-Ex.R' failed The error most likely occurred in: > ### Name: import_mhealth_csv > ### Title: Import raw multi-channel accelerometer data stored in mHealth > ### Specification > ### Aliases: import_mhealth_csv > > ### ...[truncated]... :import_mhealth_csv(filepath) 2. └─readr::read_csv(file = filepath, quoted_na = TRUE, col_types = coltypes) 3. └─lifecycle::deprecate_stop(...) 4. └─lifecycle:::deprecate_stop0(msg) 5. └─rlang::cnd_signal(...) Execution halted
examples
Running examples in ‘MIMSunit-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: import_mhealth_csv
> ### Title: Import raw multi-channel accelerometer data stored in mHealth
> ###
...[truncated]...
...)
4. └─lifecycle:::deprecate_stop0(msg)
5. └─rlang::cnd_signal(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
illustrate_extrapolation 4.325 0.067 5.383
examples
Running examples in ‘MIMSunit-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: import_mhealth_csv
> ### Title: Import raw multi-channel accelerometer data stored in mHealth
> ###
...[truncated]...
...)
4. └─lifecycle:::deprecate_stop0(msg)
5. └─rlang::cnd_signal(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
illustrate_extrapolation 4.246 0.043 5.422
examples
Running examples in 'MIMSunit-Ex.R' failed The error most likely occurred in: > ### Name: import_mhealth_csv > ### Title: Import raw multi-channel accelerometer data stored in mHealth > ### Specification > ### Aliases: import_mhealth_csv > > ### ...[truncated]... :import_mhealth_csv(filepath) 2. └─readr::read_csv(file = filepath, quoted_na = TRUE, col_types = coltypes) 3. └─lifecycle::deprecate_stop(...) 4. └─lifecycle:::deprecate_stop0(msg) 5. └─rlang::cnd_signal(...) Execution halted
examples
Running examples in 'MIMSunit-Ex.R' failed The error most likely occurred in: > ### Name: import_mhealth_csv > ### Title: Import raw multi-channel accelerometer data stored in mHealth > ### Specification > ### Aliases: import_mhealth_csv > > ### ...[truncated]... :import_mhealth_csv(filepath) 2. └─readr::read_csv(file = filepath, quoted_na = TRUE, col_types = coltypes) 3. └─lifecycle::deprecate_stop(...) 4. └─lifecycle:::deprecate_stop0(msg) 5. └─rlang::cnd_signal(...) Execution halted
Code & tests
Open call graph →Line coverage
–
Expression
–
Tests / Examples
–
Functions
56 34 exported
Complexity
4.1 avg / 30 max
Call network
56 nodes / 58 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Lowest coverage
Per-function coverage is not measured for this package yet.
Code
Structure
Lines of code
6,768
Files
81
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
34
Internal functions
15
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.01
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
93.8%
\dontrun example ratio
3.1%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
100%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.6.0
System requirements
4
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
9
First release
2020-03-02
Latest release
2026-05-14
Avg cadence
103 days
Cold removal rate
100%
Dep drift
3
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.