Require capitalized R/ dir.

This commit is contained in:
trestletech
2019-08-12 14:59:16 -05:00
parent a73e0998bc
commit 5ea9d70fb4
4 changed files with 0 additions and 11 deletions

View File

@@ -1,2 +0,0 @@
helper1 <- 789

View File

@@ -14,11 +14,6 @@ test_that("nested helpers are loaded", {
expect_equal(helper2, "def")
})
test_that("lower-case helper dir is loaded", {
loadHelpers("../test-helpers/app3-lowercase")
expect_equal(helper1, 789)
})
test_that("app with both r/ and R/ prefers R/", {
## App 4 already has a lower-case r/ directory. Try to create an upper.
tryCatch(dir.create("../test-helpers/app4-both/R"),