From 49719fd0d0c8972284d0284b1c5fba57c2e783f0 Mon Sep 17 00:00:00 2001 From: MarcinKosinski Date: Mon, 17 Sep 2018 10:57:35 +0200 Subject: [PATCH] add dplyr to suggests and tests #5 --- DESCRIPTION | 4 +++- tests/testthat.R | 2 ++ tests/testthat/test_swear_word_df.R | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) 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", {