Skip to content

Commit

Permalink
docs(addRasterLegend): Mark example for interactive use only
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Aug 30, 2023
1 parent f9ae6df commit 9b1a59e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@
^cran-comments\.md$
^revdep$
^\.github$
^CRAN-SUBMISSION$
2 changes: 1 addition & 1 deletion R/layers.R
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ addRasterImage <- function(
#' @param layer the layer of the raster to target
#' @param ... additional arguments to pass through to [addLegend()]
#' @seealso [addRasterImage()]
#' @examples
#' @examplesIf interactive()
#'
#' library(terra)
#'
Expand Down
3 changes: 2 additions & 1 deletion man/addRasterLegend.Rd

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

0 comments on commit 9b1a59e

Please sign in to comment.