Skip to content

Commit

Permalink
run_dontrun in pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Aug 5, 2020
1 parent 7feb4c2 commit 249f010
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions R-package/R/lgb.Booster.R
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ Booster <- R6::R6Class(
#' number of columns corresponding to the number of trees.
#'
#' @examples
#' \dontrun{
#' data(agaricus.train, package = "lightgbm")
#' train <- agaricus.train
#' dtrain <- lgb.Dataset(train$data, label = train$label)
Expand All @@ -735,6 +736,7 @@ Booster <- R6::R6Class(
#' , learning_rate = 1.0
#' )
#' preds <- predict(model, test$data)
#' }
#' @export
predict.lgb.Booster <- function(object,
data,
Expand Down
2 changes: 2 additions & 0 deletions R-package/man/predict.lgb.Booster.Rd

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

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def generate_r_docs(app):
, install = FALSE \
, devel = FALSE \
, examples = TRUE \
, run_dont_run = FALSE \
, run_dont_run = TRUE \
, seed = 42L \
, preview = FALSE \
, new_process = TRUE \
Expand Down

0 comments on commit 249f010

Please sign in to comment.