We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent decf56e commit 9e8c52aCopy full SHA for 9e8c52a
R/gf_functions.R
@@ -2849,11 +2849,9 @@ gf_sina <-
2849
# #' @seealso [ggplot2::geom_sf()]
2850
#' @export
2851
#' @examples
2852
-#'
2853
-#' \dontrun{
+#
2854
#' if (requireNamespace('maps', quietly = TRUE)) {
2855
-#' library(maps)
2856
-#' world1 <- sf::st_as_sf(map('world', plot = FALSE, fill = TRUE))
+#' world1 <- sf::st_as_sf(maps::map('world', plot = FALSE, fill = TRUE))
2857
#' gf_sf(data = world1)
2858
#' }
2859
#'
@@ -2864,7 +2862,6 @@ gf_sina <-
2864
2862
#' )
2865
2863
#' gf_sf(data = world2)
2866
2867
-#' }
2868
2869
# \dontrun{
2870
# if (require(maps) && require(maptools) &&
0 commit comments