From b556b38f59d83625af7c54496096ab8e4f965cf3 Mon Sep 17 00:00:00 2001 From: jamesaazam Date: Fri, 7 Jul 2023 18:21:59 -0500 Subject: [PATCH] Removed calling of libraries in tests because they are already in Suggests --- tests/testthat/test_simulate_data.R | 3 --- tests/testthat/test_visualisation.R | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/testthat/test_simulate_data.R b/tests/testthat/test_simulate_data.R index 34bedf84..e044c57b 100644 --- a/tests/testthat/test_simulate_data.R +++ b/tests/testthat/test_simulate_data.R @@ -1,7 +1,4 @@ test_that("simulated data", { - library(dplyr) - library(serofoi) - seed <- 1234 size_age_class <- 5 #----- Test for constant FoI diff --git a/tests/testthat/test_visualisation.R b/tests/testthat/test_visualisation.R index ce35d42d..a40da9bf 100644 --- a/tests/testthat/test_visualisation.R +++ b/tests/testthat/test_visualisation.R @@ -1,7 +1,4 @@ # Test for the function plot_seroprev_fitted - -library(testthat) - test_that("individual models", { set.seed(1234) # For reproducibility