hrbrmstr / ggalt

:earth_americas: Extra Coordinate Systems, Geoms, Statistical Transformations & Scales for 'ggplot2'
https://cran.r-project.org/web/packages/ggalt/vignettes/ggalt_examples.html
Other
659 stars 99 forks source link

Error in coord_proj() #33

Open natemiller opened 7 years ago

natemiller commented 7 years ago

I have used coord_proj() without an issue until today when I found that I get the following error.

Error in zero_range(from) : x must be length 1 or 2

It seems to occur with the example code provided with ggalt()

world <- map_data("world")
world <- world[world$region != "Antarctica",]

gg <- ggplot()
gg <- gg + geom_cartogram(data=world, map=world,
+                           aes(x=long, y=lat, map_id=region))
gg <- gg + coord_proj("+proj=wintri")
gg
Error in zero_range(from) : x must be length 1 or 2

Any thoughts on why this error might occur? Thanks

hrbrmstr commented 7 years ago

It runs fine for me without the errant +

image

Travis CI wld be screaming at me if this particular example (without said syntax error) did not work :-)

natemiller commented 7 years ago

Sorry that was pasting issue. I have reinstalled ggalt, ggplot2, both from CRAN and still get the same error. The code works until the coord_proj line and then fails with the Error in zero_range(from) : x must be length 1 or 2 error.

hrbrmstr commented 7 years ago

can you post your output of sessionInfo() or devtools::session_info()?

hrbrmstr commented 7 years ago

I'm now pretty sure this is due to me compensating for some ggplot2 things by developing with ggplot2_2.2.1.9000 (i.e. github install).

natemiller commented 7 years ago

Sorry for being so late getting back to this and I see this is likely a bug. I have tried reinstalling ggplot2 and any number of other packages and this still seems to be an issue. Here is my current session info, while trying to generate a new map.

Thanks for working on this. I really find the package useful.

sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X El Capitan 10.11.6

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] ggalt_0.4.0 rgdal_1.2-5 sp_1.2-4 rgeos_0.3-22 dplyr_0.5.0 ggplot2_2.2.1

loaded via a namespace (and not attached): [1] Rcpp_0.12.9 plotly_4.5.6 Rttf2pt1_1.3.4 magrittr_1.5 maps_3.1.1 MASS_7.3-45
[7] munsell_0.4.3 viridisLite_0.1.3 colorspace_1.3-2 lattice_0.20-34 R6_2.2.0 httr_1.2.1
[13] plyr_1.8.4 tools_3.3.2 grid_3.3.2 gtable_0.2.0 ash_1.0-15 KernSmooth_2.23-15 [19] DBI_0.6 extrafontdb_1.0 htmltools_0.3.5 digest_0.6.12 lazyeval_0.2.0 assertthat_0.1
[25] proj4_1.0-8 tibble_1.2 tidyr_0.6.1 purrr_0.2.2 RColorBrewer_1.1-2 htmlwidgets_0.8
[31] base64enc_0.1-3 labeling_0.3 scales_0.4.1 extrafont_0.17 jsonlite_1.3

natemiller commented 7 years ago

Just checking in to see if any progress has been made on this bug. I use your ggalt package and coord_proj a lot in my work, so I am eager for it to be accessible again. Thanks so much

zoanthal commented 7 years ago

Getting the same error.

R version 3.3.1 (2016-06-21) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252

attached base packages: [1] grid parallel stats graphics grDevices utils datasets methods base

other attached packages: [1] caret_6.0-73 survey_3.31-5 Matrix_1.2-8 AER_1.2-5 sandwich_2.3-4
[6] lmtest_0.9-35 car_2.1-4 pscl_1.4.9 modEvA_1.3.2 XML_3.98-1.5
[11] dplyr_0.5.0 psych_1.7.3.21 gridExtra_2.2.1 jsonlite_1.3 easyGgplot2_1.0.0.9000 [16] multcomp_1.4-6 TH.data_1.0-8 MASS_7.3-45 compareGroups_3.2.4 SNPassoc_1.9-2
[21] mvtnorm_1.0-6 haplo.stats_1.7.7 xtable_1.8-2 gdata_2.17.0 Hmisc_4.0-2
[26] Formula_1.2-1 survival_2.41-2 zoo_1.7-14 NCStats_0.4.6 FSA_0.8.12
[31] reshape2_1.4.2 devtools_1.12.0 dtplyr_0.0.1 lsr_0.5 rgdal_1.2-5
[36] RColorBrewer_1.1-2 countrycode_0.19 rworldmap_1.3-6 gmodels_2.16.2 Rmisc_1.5
[41] plyr_1.8.4 lattice_0.20-34 lsmeans_2.25-5 estimability_1.2 mgcv_1.8-17
[46] nlme_3.1-131 mice_2.30 ggalt_0.4.0 beepr_1.2 scales_0.4.1
[51] dismo_1.1-4 raster_2.5-8 geosphere_1.5-5 maptools_0.9-1 sp_1.2-4
[56] RgoogleMaps_1.4.1 ggmap_2.7 ggplot2_2.2.1 mapproj_1.2-4 mapdata_2.2-6
[61] maps_3.1.1

loaded via a namespace (and not attached): [1] minqa_1.2.4 colorspace_1.3-2 rjson_0.2.15 rprojroot_1.2 htmlTable_1.9 base64enc_0.1-3
[7] audio_0.1-5 MatrixModels_0.4-1 codetools_0.2-15 splines_3.3.1 mnormt_1.5-5 extrafont_0.17
[13] knitr_1.15.1 spam_1.4-0 nloptr_1.0.4 pbkrtest_0.4-7 Rttf2pt1_1.3.4 cluster_2.0.6
[19] png_0.1-7 httr_1.2.1 backports_1.0.5 assertthat_0.1 lazyeval_0.2.0 acepack_1.4.1
[25] htmltools_0.3.5 quantreg_5.29 tools_3.3.1 coda_0.19-1 gtable_0.2.0 Rcpp_0.12.10
[31] extrafontdb_1.0 iterators_1.0.8 stringr_1.2.0 proto_1.0.0 lme4_1.1-12 gtools_3.5.0
[37] polspline_1.1.12 proj4_1.0-8 SparseM_1.76 fields_8.10 HardyWeinberg_1.5.6 curl_2.4
[43] memoise_1.0.0 TeachingDemos_2.10 epitools_0.5-8 rms_5.1-0 rpart_4.1-10 latticeExtra_0.6-28 [49] stringi_1.1.3 foreach_1.4.3 checkmate_1.8.2 bitops_1.0-6 evaluate_0.10 htmlwidgets_0.8
[55] labeling_0.3 magrittr_1.5 R6_2.2.0 DBI_0.6 foreign_0.8-67 withr_1.0.2
[61] nnet_7.3-12 ash_1.0-15 tibble_1.2 KernSmooth_2.23-15 rmarkdown_1.4 jpeg_0.1-8
[67] data.table_1.10.4 git2r_0.18.0 ModelMetrics_1.1.0 digest_0.6.12 stats4_3.3.1 munsell_0.4.3

hrbrmstr commented 7 years ago

yep. and i'm not sure how to easily handle the prod ggplot2 compat with dev ggplot2 compat.

short-term fix is to install dev ggplot2

zoanthal commented 7 years ago

So I've installed dev ggplot2 this way:

library(devtools) dev_mode(on = T) install.packages("ggplot2")

And still get the error. Am I doing something wrong?

Oops figured it out.

install_github("hadley/ggplot2")

But I think the dash (hyphen) in my name is creating problems with installing the dev package. Argh!

Now I do

withr::with_libpaths( new = "C:/Rdevlibs", install_github('tidyverse/ggplot2' ,force = T))

Which worked for the problem at hand with the code above! But I was trying primarily to get coord_proj to work with ggmap. Now I can't even get ggmap to work. I get:

worldmap<-get_map(location = c(lon = 0, lat = 0), scale=2,zoom=1, maptype = "terrain", source = "google") Source : https://maps.googleapis.com/maps/api/staticmap?center=0,0&zoom=1&size=640x640&scale=2&maptype=terrain&language=en-EN worldmap 1280x1280 terrain map image from Google Maps. see ?ggmap to plot it. p <- ggmap(worldmap) Error in get("f", environment(CoordMap$train)) : object 'f' not found

ghost commented 7 years ago

I am having the same issue as zoanthal. When I use cran versions of ggplot2, ggmap, and ggalt, I get the "Error in zero_range(from) : x must be length 1 or 2" from ggalt. When I use latest github versions of ggplot2, ggalt and ggmap, I get "Error in get("f", environment(CoordMap$train)) : object 'f' not found" from ggmap (commented out the coord_proj piece). This happens with the ggalt example code and with my CA State Plane II NAD83 US Feet PROJ4 definition.

adrfantini commented 7 years ago

Just a comment to say that I am also affected by the Error in zero_range(from) : x must be length 1 or 2 bug when runnning the CRAN version of ggplot and ggalt.

adrfantini commented 7 years ago

Errata: it happens not only with CRAN versions of ggplot and ggalt, but also with github versions!

rplzzz commented 7 years ago

I've been looking at this too. The problem seems to have been introduced in 02590ea. Presumably these are the changes that are meant to provide compatibility with the dev version of ggplot2. I reverted that commit in my copy, and coord_proj seems to be working again with ggplot2 v. 2.2.1. Anyone who wants to try that version can grab the ggp221 branch of my fork.

For what it's worth, on the question of how to handle the case where the CRAN release of a package dependency has a different interface from the dev version, my advice would be to have your master branch compatible with the CRAN release, and have a separate branch with the changes needed for compatibility with the dev version. Then both versions are available to your users, with the default version of your package matching the default version of the dependency. Then, when they release the new version of the dependency, you can merge your compatibility patch into your main branch, and you'll be ready to go.

aldomann commented 7 years ago

@rplzzz your branch's ggalt doesn't seem to have geom_cartogram, so I couldn't test whether it works or not.

EDIT: Also, trying to use geom_map instead gives the following error:

Error in gPathFromVector(names) : 
  a 'grob' path must contain at least one 'grob' name
rplzzz commented 7 years ago

@aldomann I'm guessing you got the wrong branch, as geom_cartogram is definitely there, in the file "geom_cartogram.r", but it's not there in the (old, outdated) master branch. Make sure to include the ref='ggp221' argument to the install_github statement.

aldomann commented 7 years ago

You're right, I was using branch = "ggp221" instead of ref = "ggp221". Must've misread the documentation. It totally works as expected.

maelle commented 6 years ago

Working with the latest CRAN versions of everything (was hoping it would be enough for the ggplot2 part) I get

library("ggalt")
#> Warning: package 'ggalt' was built under R version 3.4.2
#> Loading required package: ggplot2
library("ggmap")
library("ggplot2")
world <- map_data("world")
usa <- world[world$region == "USA",]
usa <- usa[!(usa$subregion %in% c("Alaska", "Hawaii")),]

gg <- ggplot()
gg <- gg + geom_cartogram(data=usa, map=usa,
                          aes(x=long, y=lat, map_id=region))
gg <- gg + coord_proj(
  paste0("+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5 +lon_0=-96",
         " +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs"))
gg
#> Error in zero_range(from): x must be length 1 or 2

Session info ``` r devtools::session_info() #> Session info ------------------------------------------------------------- #> setting value #> version R version 3.4.0 Patched (2017-05-10 r72669) #> system x86_64, mingw32 #> ui RTerm #> language (EN) #> collate English_United States.1252 #> tz Europe/Paris #> date 2017-10-04 #> Packages ----------------------------------------------------------------- #> package * version date source #> ash 1.0-15 2015-09-01 CRAN (R 3.4.1) #> assertthat 0.2.0 2017-04-11 CRAN (R 3.4.0) #> backports 1.0.5 2017-01-18 CRAN (R 3.4.0) #> base * 3.4.0 2017-05-13 local #> bindr 0.1 2016-11-13 CRAN (R 3.4.1) #> bindrcpp 0.2 2017-06-17 CRAN (R 3.4.1) #> bitops 1.0-6 2013-08-17 CRAN (R 3.4.0) #> colorspace 1.3-2 2016-12-14 CRAN (R 3.4.0) #> compiler 3.4.0 2017-05-13 local #> datasets * 3.4.0 2017-05-13 local #> devtools 1.13.2 2017-06-02 CRAN (R 3.4.1) #> digest 0.6.12 2017-01-27 CRAN (R 3.4.0) #> dplyr 0.7.4 2017-09-28 CRAN (R 3.4.2) #> evaluate 0.10 2016-10-11 CRAN (R 3.4.0) #> extrafont 0.17 2014-12-08 CRAN (R 3.4.0) #> extrafontdb 1.0 2012-06-11 CRAN (R 3.4.0) #> geosphere 1.5-5 2016-06-15 CRAN (R 3.4.0) #> ggalt * 0.4.0 2017-02-15 CRAN (R 3.4.2) #> ggmap * 2.6.1 2016-01-23 CRAN (R 3.4.0) #> ggplot2 * 2.2.1 2016-12-30 CRAN (R 3.4.0) #> glue 1.1.1 2017-06-21 CRAN (R 3.4.1) #> graphics * 3.4.0 2017-05-13 local #> grDevices * 3.4.0 2017-05-13 local #> grid 3.4.0 2017-05-13 local #> gtable 0.2.0 2016-02-26 CRAN (R 3.4.0) #> htmltools 0.3.6 2017-04-28 CRAN (R 3.4.0) #> jpeg 0.1-8 2014-01-23 CRAN (R 3.4.0) #> KernSmooth 2.23-15 2015-06-29 CRAN (R 3.4.0) #> knitr 1.16 2017-05-18 CRAN (R 3.4.1) #> lattice 0.20-35 2017-03-25 CRAN (R 3.4.0) #> lazyeval 0.2.0 2016-06-12 CRAN (R 3.4.0) #> magrittr 1.5 2014-11-22 CRAN (R 3.4.0) #> mapproj 1.2-4 2015-08-03 CRAN (R 3.4.0) #> maps * 3.1.1 2016-07-27 CRAN (R 3.4.0) #> MASS 7.3-47 2017-02-26 CRAN (R 3.4.0) #> memoise 1.1.0 2017-04-21 CRAN (R 3.4.0) #> methods * 3.4.0 2017-05-13 local #> munsell 0.4.3 2016-02-13 CRAN (R 3.4.0) #> pkgconfig 2.0.1 2017-03-21 CRAN (R 3.4.0) #> plyr 1.8.4 2016-06-08 CRAN (R 3.4.0) #> png 0.1-7 2013-12-03 CRAN (R 3.4.0) #> proj4 1.0-8 2012-08-05 CRAN (R 3.4.1) #> proto 1.0.0 2016-10-29 CRAN (R 3.4.0) #> R6 2.2.1 2017-05-10 CRAN (R 3.4.0) #> RColorBrewer 1.1-2 2014-12-07 CRAN (R 3.4.0) #> Rcpp 0.12.11 2017-05-22 CRAN (R 3.4.0) #> RCurl 1.95-4.8 2016-03-01 CRAN (R 3.4.0) #> reshape2 1.4.2 2016-10-22 CRAN (R 3.4.0) #> RgoogleMaps 1.4.1 2016-09-18 CRAN (R 3.4.0) #> rjson 0.2.15 2014-11-03 CRAN (R 3.4.0) #> rlang 0.1.2 2017-08-09 CRAN (R 3.4.1) #> rmarkdown 1.6 2017-06-15 CRAN (R 3.4.1) #> rprojroot 1.2 2017-01-16 CRAN (R 3.4.0) #> Rttf2pt1 1.3.4 2016-05-19 CRAN (R 3.4.0) #> scales 0.4.1 2016-11-09 CRAN (R 3.4.0) #> sp 1.2-4 2016-12-22 CRAN (R 3.4.0) #> stats * 3.4.0 2017-05-13 local #> stringi 1.1.5 2017-04-07 CRAN (R 3.4.0) #> stringr 1.2.0 2017-02-18 CRAN (R 3.4.0) #> tibble 1.3.3 2017-05-28 CRAN (R 3.4.0) #> tools 3.4.0 2017-05-13 local #> utils * 3.4.0 2017-05-13 local #> withr 2.0.0 2017-07-28 CRAN (R 3.4.1) #> XML 3.98-1.7 2017-05-03 CRAN (R 3.4.0) #> yaml 2.1.14 2016-11-12 CRAN (R 3.4.0) ```
maelle commented 6 years ago

But it works fine with @rplzzz's branch :ok_hand:

matteodefelice commented 6 years ago

I also get Error in zero_range(from) : x must be length 1 or 2 with the example provided by @maelle

> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] maps_3.2.0    ggmap_2.6.1   ggalt_0.4.0   ggplot2_2.2.1

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.13       compiler_3.4.0     RColorBrewer_1.1-2 plyr_1.8.4         bindr_0.1         
 [6] tools_3.4.0        extrafont_0.17     tibble_1.3.4       gtable_0.2.0       lattice_0.20-35   
[11] pkgconfig_2.0.1    png_0.1-7          rlang_0.1.2        mapproj_1.2-5      yaml_2.1.14       
[16] proto_1.0.0        bindrcpp_0.2       Rttf2pt1_1.3.4     stringr_1.2.0      dplyr_0.7.4       
[21] RgoogleMaps_1.4.1  grid_3.4.0         glue_1.1.1         R6_2.2.2           jpeg_0.1-8        
[26] sp_1.2-5           reshape2_1.4.2     extrafontdb_1.0    magrittr_1.5       scales_0.5.0      
[31] MASS_7.3-47        assertthat_0.2.0   proj4_1.0-8        colorspace_1.3-2   geosphere_1.5-5   
[36] KernSmooth_2.23-15 ash_1.0-15         stringi_1.1.5      lazyeval_0.2.0     munsell_0.4.3     
[41] rjson_0.2.15
zkamvar commented 6 years ago

For what it's worth, I re-ran @maelle's reprex with the current devel of ggplot2 (tidyverse/ggplot2@4ee6c94) and it works.

library("ggalt")
#> Loading required package: ggplot2
#> Warning: package 'ggalt' was built under R version 3.4.2
#> Loading required package: ggplot2
library("ggmap")
library("ggplot2")
world <- map_data("world")
usa <- world[world$region == "USA",]
usa <- usa[!(usa$subregion %in% c("Alaska", "Hawaii")),]

gg <- ggplot()
gg <- gg + geom_cartogram(data=usa, map=usa,
                          aes(x=long, y=lat, map_id=region))
gg <- gg + coord_proj(
  paste0("+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5 +lon_0=-96",
         " +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs"))
gg

Created on 2018-01-09 by the reprex package (v0.1.1.9000).

Session info ``` r devtools::session_info() #> Session info ------------------------------------------------------------- #> setting value #> version R version 3.4.3 (2017-11-30) #> system x86_64, darwin15.6.0 #> ui X11 #> language (EN) #> collate en_US.UTF-8 #> tz America/Chicago #> date 2018-01-09 #> Packages ----------------------------------------------------------------- #> package * version date source #> ash 1.0-15 2015-09-01 CRAN (R 3.4.0) #> assertthat 0.2.0 2017-04-11 CRAN (R 3.4.0) #> backports 1.1.2 2017-12-13 CRAN (R 3.4.3) #> base * 3.4.3 2017-12-07 local #> bindr 0.1 2016-11-13 CRAN (R 3.4.0) #> bindrcpp 0.2 2017-06-17 CRAN (R 3.4.0) #> colorspace 1.4-0 2017-11-23 R-Forge (R 3.4.2) #> compiler 3.4.3 2017-12-07 local #> curl 3.1 2017-12-12 CRAN (R 3.4.3) #> datasets * 3.4.3 2017-12-07 local #> devtools 1.13.4 2017-11-09 CRAN (R 3.4.2) #> digest 0.6.13 2017-12-14 CRAN (R 3.4.3) #> dplyr 0.7.4 2017-09-28 CRAN (R 3.4.1) #> evaluate 0.10.1 2017-06-24 CRAN (R 3.4.1) #> extrafont 0.17 2014-12-08 CRAN (R 3.4.0) #> extrafontdb 1.0 2012-06-11 CRAN (R 3.4.0) #> geosphere 1.5-7 2017-11-05 CRAN (R 3.4.2) #> ggalt * 0.4.0 2017-02-15 CRAN (R 3.4.0) #> ggmap * 2.6.1 2016-01-23 CRAN (R 3.4.0) #> ggplot2 * 2.2.1.9000 2018-01-09 Github (tidyverse/ggplot2@4ee6c94) #> glue 1.2.0 2017-10-29 CRAN (R 3.4.2) #> graphics * 3.4.3 2017-12-07 local #> grDevices * 3.4.3 2017-12-07 local #> grid 3.4.3 2017-12-07 local #> gtable 0.2.0 2016-02-26 CRAN (R 3.4.0) #> htmltools 0.3.6 2017-04-28 CRAN (R 3.4.0) #> httr 1.3.1 2017-08-20 cran (@1.3.1) #> jpeg 0.1-8 2014-01-23 CRAN (R 3.4.0) #> KernSmooth 2.23-15 2015-06-29 CRAN (R 3.4.0) #> knitr 1.18 2017-12-27 CRAN (R 3.4.3) #> labeling 0.3 2014-08-23 CRAN (R 3.4.0) #> lattice 0.20-35 2017-03-25 CRAN (R 3.4.0) #> lazyeval 0.2.1 2017-10-29 CRAN (R 3.4.2) #> magrittr 1.5 2014-11-22 CRAN (R 3.4.0) #> mapproj 1.2-5 2017-06-08 CRAN (R 3.4.0) #> maps * 3.2.0 2017-06-08 CRAN (R 3.4.0) #> MASS 7.3-48 2017-12-25 CRAN (R 3.4.3) #> memoise 1.1.0 2017-04-21 CRAN (R 3.4.0) #> methods * 3.4.3 2017-12-07 local #> mime 0.5 2016-07-07 CRAN (R 3.4.0) #> munsell 0.4.3 2016-02-13 CRAN (R 3.4.0) #> pillar 1.0.1 2017-11-27 CRAN (R 3.4.3) #> pkgconfig 2.0.1 2017-03-21 CRAN (R 3.4.0) #> plyr 1.8.4 2016-06-08 CRAN (R 3.4.0) #> png 0.1-7 2013-12-03 CRAN (R 3.4.0) #> proj4 1.0-8 2012-08-05 CRAN (R 3.4.0) #> proto 1.0.0 2016-10-29 CRAN (R 3.4.0) #> R6 2.2.2 2017-06-17 cran (@2.2.2) #> RColorBrewer 1.1-2 2014-12-07 CRAN (R 3.4.0) #> Rcpp 0.12.14 2017-11-23 CRAN (R 3.4.3) #> reshape2 1.4.3 2017-12-11 CRAN (R 3.4.3) #> RgoogleMaps 1.4.1 2016-09-18 CRAN (R 3.4.0) #> rjson 0.2.15 2014-11-03 CRAN (R 3.4.0) #> rlang 0.1.6 2017-12-21 cran (@0.1.6) #> rmarkdown 1.8 2017-11-17 cran (@1.8) #> rprojroot 1.3-2 2018-01-03 CRAN (R 3.4.3) #> Rttf2pt1 1.3.5 2017-12-04 CRAN (R 3.4.3) #> scales 0.5.0.9000 2017-08-28 Github (hadley/scales@d767915) #> sp 1.2-6 2018-01-05 CRAN (R 3.4.3) #> stats * 3.4.3 2017-12-07 local #> stringi 1.1.6 2017-11-17 CRAN (R 3.4.2) #> stringr 1.2.0 2017-02-18 CRAN (R 3.4.0) #> tibble 1.4.1 2017-12-25 CRAN (R 3.4.3) #> tools 3.4.3 2017-12-07 local #> utils * 3.4.3 2017-12-07 local #> withr 2.1.1.9000 2018-01-09 Github (jimhester/withr@df18523) #> xml2 1.1.1 2017-01-24 CRAN (R 3.4.0) #> yaml 2.1.16 2017-12-12 CRAN (R 3.4.3) ```
CrHvG commented 4 years ago

Any word on a solution to this? I am still getting the same error.