Skip to content

Commit

Permalink
Removed calling of libraries in tests because they are already in Sug…
Browse files Browse the repository at this point in the history
…gests
  • Loading branch information
jamesmbaazam committed Jul 7, 2023
1 parent 26b7bcf commit cc4ec3d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions tests/testthat/models_serialization.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
library(devtools)
library(dplyr)
library(serofoi)
library(testthat)

set.seed(1234) # For reproducibility

#----- Read and prepare data
Expand Down
3 changes: 0 additions & 3 deletions tests/testthat/test_simulate_data.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
test_that("simulated data", {
library(dplyr)
library(serofoi)

seed <- 1234
size_age_class <- 5
#----- Test for constant FoI
Expand Down
9 changes: 0 additions & 9 deletions tests/testthat/test_visualisation.R
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# Test for the function plot_seroprev_fitted

library(testthat)

test_that("individual models", {
set.seed(1234) # For reproducibility

library(devtools)
library(dplyr)
library(vdiffr)
library(jsonlite)

data("simdata_large_epi")
simdata <- simdata_large_epi %>% prepare_serodata()
no_transm <- 0.0000000001
Expand Down

0 comments on commit cc4ec3d

Please sign in to comment.