@@ -76,36 +76,36 @@ if (helper_skip()) {
76
76
})
77
77
78
78
# ------------------- param_table with nlmixr start -----------------------------
79
- context(" Test param_table() with nlmixr controller" )
80
- if (requireNamespace(" nlmixr2est" , quietly = TRUE )) {
81
- test_that(" param_table: params return: kable" , {
82
- skip_on_os(" windows" )
83
- one.compartment <- function () {
84
- ini({
85
- tka <- 0.45 # Log Ka
86
- tcl <- 1 # Log Cl
87
- tv <- 3.45 # Log V
88
- eta.ka ~ 0.6
89
- eta.cl ~ 0.3
90
- eta.v ~ 0.1
91
- add.sd <- 0.7
92
- })
93
- model({
94
- ka <- exp(tka + eta.ka )
95
- cl <- exp(tcl + eta.cl )
96
- v <- exp(tv + eta.v )
97
- d / dt(depot ) <- - ka * depot
98
- d / dt(center ) <- ka * depot - cl / v * center
99
- cp <- center / v
100
- cp ~ add(add.sd )
101
- })
102
- }
103
- fit <- nlmixr2est :: nlmixr(one.compartment , nlmixr2data :: theo_sd , " saem" ,
104
- control = list (print = 0 )
105
- )
106
- ctr <- pmx_nlmixr(fit , conts = c(" cl" , " v" ))
107
- expect_s3_class(param_table(ctr ), " knitr_kable" )
108
- })
109
- }
79
+ # context("Test param_table() with nlmixr controller")
80
+ # if (requireNamespace("nlmixr2est", quietly=TRUE)) {
81
+ # test_that("param_table: params return: kable", {
82
+ # skip_on_os("windows")
83
+ # one.compartment <- function() {
84
+ # ini({
85
+ # tka <- 0.45 # Log Ka
86
+ # tcl <- 1 # Log Cl
87
+ # tv <- 3.45 # Log V
88
+ # eta.ka ~ 0.6
89
+ # eta.cl ~ 0.3
90
+ # eta.v ~ 0.1
91
+ # add.sd <- 0.7
92
+ # })
93
+ # model({
94
+ # ka <- exp(tka + eta.ka)
95
+ # cl <- exp(tcl + eta.cl)
96
+ # v <- exp(tv + eta.v)
97
+ # d / dt(depot) <- -ka * depot
98
+ # d / dt(center) <- ka * depot - cl / v * center
99
+ # cp <- center / v
100
+ # cp ~ add(add.sd)
101
+ # })
102
+ # }
103
+ # fit <- nlmixr2est::nlmixr(one.compartment, nlmixr2data::theo_sd, "saem",
104
+ # control = list(print = 0)
105
+ # )
106
+ # ctr <- pmx_nlmixr(fit, conts = c("cl", "v"))
107
+ # expect_s3_class(param_table(ctr), "knitr_kable")
108
+ # })
109
+ # }
110
110
# ------------------- param_table with nlmixr start -----------------------------
111
111
}
0 commit comments