Introduction

An R package with tools to help write and maintain other OHDSI R packages. Other OHDSI R packages should not depend on or import OhdsiRTools.

Features

  • Auto checking of R code.
  • Generate renv lock files with correct references to OHDSI repos.

Examples

# Create renv lock file
OhdsiRTools::createRenvLockFile(rootPackage = "MyStudyPackage",
                                includeRootPackage = TRUE)

# Identify problems in R code in a package:
checkUsagePackage("OhdsiRTools")

Technology

OhdsiRTools is an R package.

System Requirements

Requires R.

Installation

  1. In R, use the following commands to download and install OhdsiRTools:
install.packages("remotes")
remotes::install_github("ohdsi/OhdsiRTools")

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available: * Package manual: OhdsiRTools.pdf

Support

Contributing

Read here how you can contribute to this package.

License

OhdsiRTools is licensed under Apache License 2.0

Development

OhdsiRTools is being developed in R Studio.

Development status

Ready for use

Acknowledgements

  • This project is supported in part through the National Science Foundation grant IIS 1251151.