Skip to content

Commit

Permalink
only run examples if interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Oct 30, 2024
1 parent af567d3 commit 5eb3724
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/get_smips.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
#' nothing is provided, you will be prompted on how to set up your \R session
#' so that it is auto-detected and a browswer window will open at the
#' \acronym{TERN} website for you to request a key.
#' @examples
#'
#' @examplesIf interactive()
#'
#' r <- get_smips(day = "2024-01-01")
#'
#' # terra::plot() is re-exported for convenience
Expand Down
4 changes: 3 additions & 1 deletion man/get_smips.Rd

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

0 comments on commit 5eb3724

Please sign in to comment.