diff --git a/DESCRIPTION b/DESCRIPTION index a069252..f9215fe 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -11,5 +11,7 @@ License: MIT Encoding: UTF-8 LazyData: true RoxygenNote: 6.0.1 -Suggests: testthat, +Suggests: + testthat, + dplyr, purrr diff --git a/tests/testthat.R b/tests/testthat.R index f9e1251..f4e2386 100644 --- a/tests/testthat.R +++ b/tests/testthat.R @@ -1,4 +1,6 @@ library(testthat) library(sweary) +library(dplyr) +library(purr) test_check("sweary") diff --git a/tests/testthat/test_swear_word_df.R b/tests/testthat/test_swear_word_df.R index f13d0b5..0dda8bb 100644 --- a/tests/testthat/test_swear_word_df.R +++ b/tests/testthat/test_swear_word_df.R @@ -1,6 +1,3 @@ -library(dplyr) -library(purrr) - context("Swear word data frame") test_that("swear word data frame exists", {