Skip to content

Commit ac36c53

Browse files
authored
Merge pull request #57 from InsightRX/RXR-3044
RXR-3044: remove `...` from `get_map_estimates()`
2 parents e7437a7 + 21d0535 commit ac36c53

6 files changed

Lines changed: 10 additions & 25 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Depends: utils, stats
1212
Imports: PKPDsim, numDeriv, mvtnorm
1313
Suggests: testthat (>= 3.0.0)
1414
Remotes: InsightRX/PKPDsim
15-
RoxygenNote: 7.3.2
15+
RoxygenNote: 7.3.3
1616
Encoding: UTF-8
1717
Config/testthat/edition: 3

R/calc_residuals.R

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ calc_residuals <- function(
3232
censoring = NULL,
3333
censoring_idx = NULL,
3434
data_before_init = NULL,
35-
ltbs = FALSE,
36-
...
35+
ltbs = FALSE
3736
) {
3837

3938
## Observation vectors
@@ -61,8 +60,7 @@ calc_residuals <- function(
6160
iov_bins = iov_bins,
6261
output_include = output_include,
6362
t_init = t_init,
64-
lagtime = lagtime,
65-
...
63+
lagtime = lagtime
6664
)
6765
})
6866
suppressMessages({
@@ -81,8 +79,7 @@ calc_residuals <- function(
8179
iov_bins = iov_bins,
8280
A_init = A_init_population,
8381
t_init = t_init,
84-
lagtime = lagtime,
85-
...
82+
lagtime = lagtime
8683
)
8784
})
8885

R/get_map_estimates.R

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@
6161
#'option is `TRUE`.
6262
#' @param skip_hessian skip calculation of Hessian
6363
#' @param verbose show more output
64-
#' @param ... parameters passed on to `sim_ode()` function
65-
#'
64+
#'
6665
#' @examples
6766
#' \dontrun{
6867
#' ## define parameters
@@ -134,8 +133,7 @@ get_map_estimates <- function(
134133
verbose = FALSE,
135134
A_init = NULL,
136135
skip_hessian = FALSE,
137-
output_include = list(covariates = FALSE, parameters = FALSE),
138-
...) {
136+
output_include = list(covariates = FALSE, parameters = FALSE)) {
139137

140138
## get prior weight for scaling of variance term
141139
weight_prior_var <- parse_weight_prior(weight_prior, type)
@@ -232,8 +230,7 @@ get_map_estimates <- function(
232230
t_max = tail(t_obs, 1) + t_init + 1,
233231
iov_bins = iov_bins,
234232
return_design = TRUE,
235-
t_init = t_init,
236-
...
233+
t_init = t_init
237234
)
238235
})
239236

@@ -426,8 +423,7 @@ get_map_estimates <- function(
426423
censoring = censoring,
427424
censoring_idx = censoring_idx,
428425
data_before_init = data_before_init,
429-
ltbs = ltbs,
430-
...
426+
ltbs = ltbs
431427
)
432428
}
433429

man/calc_residuals.Rd

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_map_estimates.Rd

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/map_shrinkage_control.Rd

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)