Skip to content

Commit

Permalink
Don't run examples with linCmt() that need sens (unless there)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Jan 26, 2024
1 parent 185987f commit 29a0896
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/nls.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#' @examples
#' \donttest{
#'
#' if (rxode2parse::.linCmtSens()) {
#'
#' one.cmt <- function() {
#' ini({
#' tka <- 0.45
Expand All @@ -39,6 +41,7 @@
#' # You can access the underlying nls object with `$nls`
#' fit2$nls
#' }
#' }
nlsControl <- function(maxiter=10000,
tol = 1e-05,
minFactor = 1/1024,
Expand Down
5 changes: 5 additions & 0 deletions R/vpc.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#' @examples
#'
#' \donttest{
#'
#' if (rxode2parse::.linCmtSens()) {
#'
#' one.cmt <- function() {
#' ini({
#' ## You may label each parameter with a comment
Expand Down Expand Up @@ -46,6 +49,8 @@
#' head(vpcSim(fit, pred=TRUE))
#'
#' }
#'
#' }
vpcSim <- function(object, ..., keep=NULL, n=300,
pred=FALSE, seed=1009, nretry=50, minN=10,
normRelated=TRUE) {
Expand Down
2 changes: 2 additions & 0 deletions man/nlsControl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions man/vpcSim.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 29a0896

Please sign in to comment.