Skip to content

Commit

Permalink
Used \dontrun{} for the S3 confint
Browse files Browse the repository at this point in the history
  • Loading branch information
mladenjovanovic committed Jan 13, 2024
1 parent 773e6bd commit 04f2b75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/shorts-S3.R
Expand Up @@ -94,6 +94,7 @@ predict.shorts_model <- function(object, ...) {
#' @param object \code{shorts_model} object
#' @param ... Forwarded to generic \code{confint()} function
#' @examples
#' \dontrun{
#' split_distances <- c(10, 20, 30, 40, 50)
#' split_times <- create_timing_gates_splits(
#' gates = split_distances,
Expand All @@ -107,6 +108,7 @@ predict.shorts_model <- function(object, ...) {
#' # Simple model
#' simple_model <- model_timing_gates(split_distances, split_times)
#' confint(simple_model)
#' }
#' @export
confint.shorts_model <- function(object, ...) {
stats::confint(object$model, ...)
Expand Down
2 changes: 2 additions & 0 deletions man/confint.shorts_model.Rd

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

0 comments on commit 04f2b75

Please sign in to comment.