Skip to content

Commit

Permalink
Use donttest to prevent long example
Browse files Browse the repository at this point in the history
  • Loading branch information
steffilazerte committed Sep 1, 2020
1 parent ccedd60 commit 36fbc90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions R/normals.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#'
#' @examples
#'
#' \donttest{
#'
#' # Find the climate_id
#' stations_search("Brandon A", normals_only = TRUE)
#'
Expand Down Expand Up @@ -69,6 +71,7 @@
#' f <- unnest(n, frost)
#' both <- dplyr::full_join(nm, f)
#'
#' }
#' @export

normals_dl <- function(climate_ids, normals_years = "1981-2010",
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Release v.0.4.0

* Resubmission with requested changes from CRAN (Thank you!)
* \dontrun removed where unnecessary (normals_dl example)
* \dontrun replaced with \donttest (long running example in normals_dl)
* Removed "quietly = TRUE" for requireNamespace() in examples
* Reset user's options in Vignettes

Expand Down

0 comments on commit 36fbc90

Please sign in to comment.