Skip to content

Commit

Permalink
Add donttest
Browse files Browse the repository at this point in the history
  • Loading branch information
sgvignali committed Jul 16, 2021
1 parent 0cb1a8c commit 92dbf88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/maxentVarImp.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#' @seealso \link{maxentTh}.
#'
#' @examples
#' \donttest{
#' # Acquire environmental variables
#' files <- list.files(path = file.path(system.file(package = "dismo"), "ex"),
#' pattern = "grd", full.names = TRUE)
Expand All @@ -38,6 +39,7 @@
#' model <- train(method = "Maxent", data = data, fc = "l")
#' maxentVarImp(model)
#' }
#' }
maxentVarImp <- function(model) {

if (.get_model_class(model) != "Maxent")
Expand Down
2 changes: 2 additions & 0 deletions man/maxentVarImp.Rd

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

0 comments on commit 92dbf88

Please sign in to comment.