Skip to content

Commit

Permalink
Merge pull request #83 from metrumresearchgroup/abbreviate-cwres
Browse files Browse the repository at this point in the history
Abbreviate CWRES
  • Loading branch information
kylebaron authored May 22, 2024
2 parents 940f3da + 1f61c37 commit 5e05e1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/pm_axis_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pm_axis_data <- list(
npde = "NPDE"
),
title = list(
cwres = "Conditional weighted residual",
cwres = "CWRES",
cwresi = "CWRES with interaction",
res = "Residual",
wres = "Weighted residual",
Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-res_time.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test_that("res time [PMP-TEST-053]", {
p <- cwres_time(df)
expect_is(p, "gg")
expect_labels(p, "TIME", "CWRES")
expect_titles(p, "Time (hr)", "Conditional weighted residual")
expect_titles(p, "Time (hr)", "CWRES")

p <- res_tad(df)
expect_is(p, "gg")
Expand All @@ -77,7 +77,7 @@ test_that("res time [PMP-TEST-053]", {
p <- cwres_tad(df)
expect_is(p, "gg")
expect_labels(p, "TAD", "CWRES")
expect_titles(p, "Time after dose (hr)", "Conditional weighted residual")
expect_titles(p, "Time after dose (hr)", "CWRES")

p <- res_tafd(df)
expect_is(p, "gg")
Expand All @@ -97,7 +97,7 @@ test_that("res time [PMP-TEST-053]", {
p <- cwres_tafd(df)
expect_is(p, "gg")
expect_labels(p, "TAFD", "CWRES")
expect_titles(p, "Time after first dose (hr)", "Conditional weighted residual")
expect_titles(p, "Time after first dose (hr)", "CWRES")


})
Expand Down

0 comments on commit 5e05e1d

Please sign in to comment.