Skip to content

Commit

Permalink
Add tests for augPred not interpolating obs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Sep 17, 2024
1 parent 0555279 commit 830e6be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/testthat/test-augpred.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ nmTest({
tableControl(cwres = TRUE, npde=TRUE)
)

expect_error(augPred(fitOne.comp.KA.solved_S), NA)
expect_error(augPred(fitOne.comp.KA.solved_S), NA)

ap <- augPred(fitOne.comp.KA.solved_S)

expect_equal(as.character(ap[ap$id == 1 & ap$time == 120, "ind"]),
c("Individual", "Population"))

skip_if_not(rxode2::.linCmtSensB())

Expand Down

0 comments on commit 830e6be

Please sign in to comment.