General Utility Functions for Analysis of Clinical Data
Overview
Utility functions to facilitate the import, the reporting and analysis of clinical data. Example datasets in 'SDTM' and 'ADaM' format, containing a subset of patients/domains from the 'CDISC Pilot 01 study' are also available as R datasets to demonstrate the package functionalities.
- tests: fix expect -> expect_equal (testthat >= 3.0.0)
From inst/NEWS in the release
Install
Health
ERRORre-building of vignette outputsr-release-macos-arm64
Error(s) in re-building vignettes:
--- re-building ‘clinUtils-vignette.Rmd’ using rmarkdown
Quitting from clinUtils-vignette.Rmd:441-448 [figure-interactive-creation]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `curl::curl_download()`:
! Timeout was reached [cdn.plot.ly]:
Resolving timed out after 10004 milliseconds
---
Backtrace:
▆
1. ├─base::sapply(...)
2. │ └─base::lapply(X = X, FUN = FUN, ...)
3. │ └─global FUN(X[[i]], ...)
4. │ └─ggplotly(ggplot) %>% partial_bundle()
5. ├─plotly::partial_bundle(.)
6. │ ├─plotly::plotly_build(p)
7. │ └─plotly:::plotly_build.plotly(p)
8. │ └─plotly:::verify_partial_bundle(p)
9. │ └─curl::curl_download(...)
10. └─curl:::raise_libcurl_error(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'clinUtils-vignette.Rmd' failed with diagnostics:
Timeout was reached [cdn.plot.ly]:
Resolving timed out after 10004 milliseconds
--- failed re-building ‘clinUtils-vignette.Rmd’
SUMMARY: processing the following file failed:
‘clinUtils-vignette.Rmd’
Error: Vignette re-building failed.
Execution haltedNOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘clinUtils-palette.Rd’ ‘comparisonTables-common-args.Rd’ \arguments should not be documented without \usage.
- ERROR10 OK, 2 NOTE, 1 ERRORNow
- ERROR10 OK, 3 NOTE, 1 ERROR2026-03-30
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 42
- Examples that run
- 81%13 run in a plain check · 3 never run
- Exported functions with examples
- 53%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 48
Stars over time
Forks over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/openanalytics/clinutils on 2026-10-11.
Dependencies
Installing clinUtils adds 58 packages (31 with compiled code, 39 MB of source tarballs). Heaviest: data.table 5.7 MB, bslib 5.6 MB, promises 3.1 MB.
Code & Tests
Datasets
People & History
Previously maintained by Michela Pasetto (0.0.1 to 0.0.3).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.2Latest
- 0.2.12025-09-03 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.2.02024-05-17 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.52024-04-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.42023-01-06 · diff ↗
- 0.1.32022-10-24 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.12022-02-22 · diff ↗
- 0.1.0
- 0.0.42021-07-21 · diff ↗
- 0.0.32021-07-16 · diff ↗
- 0.0.22021-07-14 · diff ↗
Show 2 earlier eventsHide 2 earlier events
- 0.0.12021-06-08
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-06-08
- Total releases
- 12 / 5 yrs
- License
- MIT + file LICENSE OSI
- Bundled data
- 142 KB / 4 files
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("clinUtils")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.