Skip to content

datacutr

0.2.4Package record

SDTM Datacut

0packages depend
3.7Kdownloads / year
98.6%test coverage
13/13flavors OK

Overview

About

Supports the process of applying a cut to Standard Data Tabulation Model (SDTM), as part of the analysis of specific points in time of the data, normally as part of investigation into clinical trials. The functions support different approaches of cutting to the different domains of SDTM normally observed.

Changes in 0.2.4

Updates of Existing Functions

  • create_dcut updated to allow for cut_date in DDMMMYYYY format
  • create_dcut updated to fix a bug when the optional filter argument is left as NULL
  • apply_cut updated to set reverted Death variables DTHFL and DTHDTC to NA rather than ""
  • date_cut, pt_cut, special_dm_cut, apply_cut and read_out updated to handle empty SDTM datasets

Various

  • Updates suggested packages in NAMESPACE file
  • Changed some explicit returns to implicit in functions

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.4
READMEYes · 271 wordsVignettesYes · 7 · dynamicNEWSYes · 100% structured · mentions 0.2.4Citation fileNoWebsiteYes · pkgdown
Help pages
18 (1 internal)includes a package overview page
Examples that run
90%9 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.7K
CRAN downloads in the past year
Rank #11,023 · ~10/day · ~311/mo
Daily download trend is not available in this view yet.
41930 days
95290 days
3.7K1 year
Compare downloads with other packages →
Also on103 r2u11 autocran

Repository

17Stars
3Forks
3Open issues
2Open PRs
2Releases
594Commits
10Commit identities
License file reads as Apache-2.0 · 594 commits · Last activity 2025-11-14 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
97%
Median days to close, 50 most recently updated closed issues
92
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-24 · 162026-07-07 · 17
PracticesBeta

13 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/pharmaverse/datacutr on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Issue templatesPR template
Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-11-14 · The repository has a site deploy workflow

pkgdown site last built 2025-11-14

Coverage (1)
Coverage reporting
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (3)
lintrLint workflowRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)

Installing datacutr adds 61 packages (32 with compiled code, 39 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, sass 2.9 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Copyright holder, Author, Maintainer since 0.1.0 (2023)
Author · added in 0.2.0
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4Latest
    record
    2025-11-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.3
    record
    2025-02-03 · diff ↗
  • 0.2.2
    record
    2025-01-10 · diff ↗
  • unarchivedReturned to CRAN
    2024-12-18
  • 0.2.1
    record
    2024-12-18 · diff ↗
  • archivedRemoved from CRAN
    2024-11-21
    policy violation Checking creates '~/dummyfile'
  • 0.2.0
    record
    2024-11-19 · diff ↗ ·
    added 1 export
    read_out
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    record
    2023-03-31
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-03-31
Total releases
6 / 3 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.1
Bundled data
1.7 KB / 7 files
Download size
80 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("datacutr")
Barnett, T., Andrews, C., Harris, A., & Rees, N. (2025). datacutr: SDTM Datacut (Version 0.2.4) [Computer software]. https://doi.org/10.32614/CRAN.package.datacutr

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for datacutr version 0.2.4 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy