/OhdsiRTools

An R package of support tools that didn’t fit other categories, including tools for maintaining R libraries.

Primary LanguageR

OhdsiRTools

Build Status codecov.io

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 code formatting.
  • Auto checking of R code.
  • Generate renv lock files with correct references to OHDSI repos.

Examples

# Auto-format all R files in a package:
formatRFolder()

# 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")
library(remotes)
install_github("ohdsi/OhdsiRTools")

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available:

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.