Created
April 6, 2017 18:49
-
-
Save bheavner/aba968b52e456b903c047485158e6651 to your computer and use it in GitHub Desktop.
A simple test to ensure testthat is working (and to enable devtools::check() on an empty project)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context("test_testthat - unit tests") | |
test_that("test_return_true returns TRUE", { | |
expect_true(return_true()) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
note that return_true.R is here: https://gist.github.com/bheavner/bf0e1b8816692ebdfca2d7b74c165a64/