Skip to content

Commit

Permalink
Add missing package imports, fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
qmarcou committed Apr 23, 2024
1 parent 0426a1d commit bdfafee
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Depends:
Imports:
assertr,
assertthat,
collections,
data.table,
doFuture,
dplyr,
Expand All @@ -32,6 +33,7 @@ Imports:
stats,
tibble,
tidyr,
tryCatchLog,
utils
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand Down
24 changes: 12 additions & 12 deletions tests/testthat/test-netidmtpreg_fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@ testthat::test_that("IDM crude survival model estimates", {
)
estimates <- list()
for (transition in c("11", "12", "13", "23")) {
estimates[transition] <-
renewnetTPreg(~1, synth_idm_data,
ratetable = NULL,
rmap = NULL,
time_dep_popvars = NULL,
s = s_time,
t = 3.0,
by = n_ind / 10,
trans = transition,
link = "logit",
R = 1 # Number of bootstraps
)
estimates[transition] <-
renewnetTPreg(~1, synth_idm_data,
ratetable = NULL,
rmap = NULL,
time_dep_popvars = NULL,
s = s_time,
t = 3.0,
by = n_ind / 10,
trans = transition,
link = "logit",
R = 1 # Number of bootstraps
)
}

# Check agreement with generating parameters
Expand Down

0 comments on commit bdfafee

Please sign in to comment.