From ea5bbdc0c29588a5915f8363d79bf468ee818502 Mon Sep 17 00:00:00 2001 From: RobertASmith Date: Wed, 13 Mar 2024 12:15:52 +0000 Subject: [PATCH] model doesn't require sourcing functions from utils - this was an error. --- tests/testthat/example_project/model.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/example_project/model.R b/tests/testthat/example_project/model.R index 2802f71..12c857c 100644 --- a/tests/testthat/example_project/model.R +++ b/tests/testthat/example_project/model.R @@ -6,9 +6,9 @@ library(miceadds) library(assertHE) # source local functions -v_files <- list.files("./inst/example_project", full.names = T) -v_files <- v_files[-grep(x = v_files, pattern = "example_script.R")] -for(i in v_files) source(i) +#v_files <- list.files("./inst/example_project", full.names = T) +#v_files <- v_files[-grep(x = v_files, pattern = "example_script.R")] +#for(i in v_files) source(i) # use default parameters from package params <- sicksickerPack::dummy_sickSickerModel_params