Skip to content

hms-dbmi/r_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R Testing Build Status codecov

Installation:

> install.packages("devtools", dependencies = TRUE)`

Running Tests

> devtools::test()
  • The example test should run and you will see output like so:
Loading RTesting
Testing RTesting
Hello World Test: .

DONE ===========================================================================

Continuous Integration:

  • See the .travis.yml file in this directory for information on what the CI process will do.

In short, this will:

- Check the R code and package structure for consistency with R's best practices.
- Run the prior checks against 3 different R versions.
- Upload R code coverage information to CodeCov
- Send an email if these prior checks fail

About

Example repo of how to properly test an R package

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages