Skip to content

Commit

Permalink
Add advice to do test config somewhere other than tests/testhat.R (#1635
Browse files Browse the repository at this point in the history
)

Closes #1631
  • Loading branch information
jennybc committed May 24, 2022
1 parent 459171a commit 9544ca9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions inst/templates/testthat.R
@@ -1,3 +1,11 @@
# This file is part of the standard setup for testthat.
# It is recommended that you do not modify it.
#
# Where should you do additional test configuration?
# Learn more about the roles of various files in:
# * https://r-pkgs.org/tests.html
# * https://testthat.r-lib.org/reference/test_package.html#special-files

library(testthat)
library({{{ name }}})

Expand Down

0 comments on commit 9544ca9

Please sign in to comment.