The sdtmchecks package contains functions to identify common data issues in SDTM data. These checks are intended to be generalizable, actionable, and meaningful for analysis.


You can install {sdtmchecks} via:

install.packages("sdtmchecks", repos = "https://pharmaverse.r-universe.dev")

Or, you can install {sdtmchecks} from GitHub:

# install.packages("devtools")

Use the package

The Get started page walks you through how the package can be used.

Data checks in the package

To search available data check functions, please see this search page.

SDTM version

This package aims to be SDTM version agnostic and does not require users to specify the version.


This package has been developed internally at Roche since 2014. There may be areas where the checks expect Roche-specific SDTM implementation choices. Proposed additions or modifications should attempt to maintain generalizability for slightly different data standards across companies. For examples on how to do so and to learn more about contributing in general, please refer to the Writing a New Check page.

If you have an idea for a new check but no time for development, please open an issue.