Skip to content

Commit 9b1a59e

Browse files
committed
docs(addRasterLegend): Mark example for interactive use only
1 parent f9ae6df commit 9b1a59e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@
3333
^cran-comments\.md$
3434
^revdep$
3535
^\.github$
36+
^CRAN-SUBMISSION$

R/layers.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ addRasterImage <- function(
301301
#' @param layer the layer of the raster to target
302302
#' @param ... additional arguments to pass through to [addLegend()]
303303
#' @seealso [addRasterImage()]
304-
#' @examples
304+
#' @examplesIf interactive()
305305
#'
306306
#' library(terra)
307307
#'

man/addRasterLegend.Rd

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)