Skip to content

Commit

Permalink
donturn -> donttest
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Sep 19, 2023
1 parent 9c67083 commit 7604cd2
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion R/check_if_installed.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#' returned, indicating which of the packages are installed, and which not.
#'
#' @examplesIf interactive() || identical(Sys.getenv("IN_PKGDOWN"), "true")
#' \dontrun{
#' \donttest{
#' check_if_installed("insight")
#' try(check_if_installed("datawizard", stop = FALSE))
#' try(check_if_installed("rstanarm", stop = FALSE))
Expand Down
2 changes: 1 addition & 1 deletion R/clean_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#' or spline-terms).
#'
#' @examplesIf require("curl", quietly = TRUE) && curl::has_internet()
#' \dontrun{
#' \donttest{
#' library(brms)
#' model <- download_model("brms_zi_2")
#' clean_parameters(model)
Expand Down
2 changes: 1 addition & 1 deletion R/export_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#' # split longer tables
#' export_table(head(iris), table_width = 30)
#'
#' \dontrun{
#' \donttest{
#' # colored footers
#' data(iris)
#' x <- as.data.frame(iris[1:5, ])
Expand Down
2 changes: 1 addition & 1 deletion R/find_algorithm.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#' find_algorithm(m)
#'
#' @examplesIf require("rstanarm") && require("lme4")
#' \dontrun{
#' \donttest{
#' data(sleepstudy, package = "lme4")
#' m <- suppressWarnings(rstanarm::stan_lmer(
#' Reaction ~ Days + (1 | Subject),
Expand Down
2 changes: 1 addition & 1 deletion R/get_priors.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' for the parameters in a given model.
#'
#' @examples
#' \dontrun{
#' \donttest{
#' library(rstanarm)
#' model <- stan_glm(Sepal.Width ~ Species * Petal.Length, data = iris)
#' get_priors(model)
Expand Down
2 changes: 1 addition & 1 deletion R/get_variances.R
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
#' Highland Statistics.
#'
#' @examples
#' \dontrun{
#' \donttest{
#' library(lme4)
#' data(sleepstudy)
#' m <- lmer(Reaction ~ Days + (1 + Days | Subject), data = sleepstudy)
Expand Down
2 changes: 1 addition & 1 deletion R/is_converged.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#' }
#'
#' @examplesIf getOption("warn") < 2L
#' \dontrun{
#' \donttest{
#' if (require("glmmTMB")) {
#' model <- glmmTMB(Sepal.Length ~ poly(Petal.Width, 4) * poly(Petal.Length, 4) +
#' (1 + poly(Petal.Width, 4) | Species), data = iris)
Expand Down
2 changes: 1 addition & 1 deletion R/is_multivariate.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' is from a multivariate response model.
#'
#' @examples
#' \dontrun{
#' \donttest{
#' library(rstanarm)
#' data("pbcLong")
#' model <- suppressWarnings(stan_mvmer(
Expand Down
2 changes: 1 addition & 1 deletion R/print_parameters.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#' necessary, also for a cleaner print. See also 'Examples'.
#'
#' @examplesIf require("curl", quietly = TRUE) && curl::has_internet()
#' \dontrun{
#' \donttest{
#' library(bayestestR)
#' model <- download_model("brms_zi_2")
#' x <- hdi(model, effects = "all", component = "all")
Expand Down
2 changes: 1 addition & 1 deletion man/check_if_installed.Rd

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

2 changes: 1 addition & 1 deletion man/clean_parameters.Rd

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

2 changes: 1 addition & 1 deletion man/export_table.Rd

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

2 changes: 1 addition & 1 deletion man/find_algorithm.Rd

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

2 changes: 1 addition & 1 deletion man/get_priors.Rd

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

2 changes: 1 addition & 1 deletion man/get_variance.Rd

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

2 changes: 1 addition & 1 deletion man/is_converged.Rd

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

2 changes: 1 addition & 1 deletion man/is_multivariate.Rd

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

2 changes: 1 addition & 1 deletion man/print_parameters.Rd

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

0 comments on commit 7604cd2

Please sign in to comment.