Skip to content

Commit

Permalink
rm \dontrun{} in downcale example
Browse files Browse the repository at this point in the history
  • Loading branch information
CeresBarros committed Feb 13, 2024
1 parent a829882 commit 6765544
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions R/downscale.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#'
#' @export
#' @examples
#' \dontrun{
#' dbCon <- data_connect()
#' on.exit(try(pool::poolClose(dbCon)))
#' xyz <- data.frame(lon = runif(10, -140, -106), lat = runif(10, 37, 61), elev = runif(10), id = 1:10)
Expand All @@ -56,7 +55,6 @@
#' terra::plot(historic[[1]])
#'
#' downscale(xyz, normal, gcm = NULL, historic = historic, ppt_lr = FALSE)
#' }
downscale <- function(xyz, normal, gcm = NULL, historic = NULL, gcm_ts = NULL, gcm_hist = NULL, historic_ts = NULL, return_normal = FALSE,
vars = sort(sprintf(c("PPT%02d", "Tmax%02d", "Tmin%02d"), sort(rep(1:12, 3)))),
ppt_lr = FALSE, nthread = 1L, out_spatial = FALSE, plot = NULL) {
Expand Down
2 changes: 0 additions & 2 deletions man/downscale.Rd

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

0 comments on commit 6765544

Please sign in to comment.