TestWithRStudio for Testing your R Package with RStudio in Continuous Integration

Travis-CI Build Status AppVeyor Build Status

Why do we need TestWithRStudio?

| Oh, no!!!!! | What's wrong this time!! | |-------------------------------------------|----------------------------------------| || As an R package developer, have you met the situation that your package passes R CMD check but crashes RStudio? TestWithRStudio can help you deal with this situation by testing your R package with RStudio using continuous integration like Travis CI.|

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

Installation

You can get TestWithRStudio by

devtools::install_github("Non-Contradiction/TestWithRStudio")

Basic Usage

library(TestWithRStudio)

check_rstudio()

detailed_check_in_rstudio("1")

detailed_check_in_rstudio("q()")

detailed_check_in_rstudio("doesntexist()")

detailed_check_in_rstudio("library(TestWithRStudio); crash()")

How Does TestWithRStudio Work?

TestWithRStudio for R Package Developers

Suggestion and Issue Reporting

TestWithRStudio is under active development now. Any suggestion or issue reporting is welcome! You may report it using the link: https://github.com/Non-Contradiction/TestWithRStudio/issues/new. Or email me at lch34677@gmail.com or cxl508@psu.edu.



Non-Contradiction/TestWithRStudio documentation built on May 20, 2019, 5:44 p.m.