Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear up issues with wrapping for spatRaster elements in example PAM #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ URL: https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.1240
https://github.com/macroecology/letsR,
https://brunovilela.github.io/letsR/
BugReports: https://github.com/macroecology/letsR/issues
RoxygenNote: 7.3.2
RoxygenNote: 7.3.2.9000
Encoding: UTF-8
VignetteBuilder: knitr
5 changes: 5 additions & 0 deletions R/Data_helps.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
#'
#' PresenceAbsence object obtained using the function \code{\link{lets.presab}}
#' for the Geographic distribution of the South American frog genus \link{Phyllomedusa}.
#'
#' Note that the raster element in this object is shipped as a wrapped
#' \code{SpatRaster} object and may need to be unwrapped for use in some
#' examples.
#'
#' @format A PresenceAbsence object
#' @source Generated from IUCN Spatial Data - \url{https://www.iucnredlist.org/}. 2014.
"PAM"
Expand Down
1 change: 1 addition & 0 deletions R/lets_classvar.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#' @examples \dontrun{
#' data(PAM)
#' data(temp)
#' temp <- terra::unwrap(temp)
#' pamvar <- lets.addvar(PAM, temp)
#' resu <- lets.classvar(x = pamvar, pos = ncol(pamvar), xy = TRUE)
#' }
Expand Down
1 change: 1 addition & 0 deletions R/lets_save_load.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#'
#' @examples \dontrun{
#' data(PAM)
#' PAM$Richness_Raster <- terra::unwrap(PAM$Richness_Raster)
#' lets.save(PAM, file = "PAM.RData")
#' PAM <- lets.load(file = "PAM.RData")
#' }
Expand Down
5 changes: 5 additions & 0 deletions man/PAM.Rd

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

29 changes: 0 additions & 29 deletions man/iucn.Rd

This file was deleted.

1 change: 1 addition & 0 deletions man/lets.classvar.Rd

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

File renamed without changes.
1 change: 1 addition & 0 deletions man/lets.save.Rd

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

Loading