Closed IsaakBM closed 4 years ago
Hi,
Thanks for checking our wdpar! I'm sorry, I can't seem to replicate the issue on my computer, could you please post your session information (i.e. sessionInfo()
)? If you haven't already, could you try installing the developmental version on GitHub?
Cheers,
Jeff
Thanks for the quick reply @jeffreyhanson
`R version 3.5.0 (2018-04-23) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS High Sierra 10.13.2
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.5/Resources/lib/libRlapack.dylib
locale: [1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] ggmap_3.0.0 ggplot2_3.3.0 dplyr_0.8.3 wdpar_1.0.1.3 sf_0.7-6 rlang_0.4.5
loaded via a namespace (and not attached):
[1] tidyselect_0.2.5 remotes_2.1.1 purrr_0.3.3 testthat_2.3.2 colorspace_1.4-1 vctrs_0.2.4
[7] usethis_1.5.1 pkgbuild_1.0.6 e1071_1.7-2 pillar_1.4.3 glue_1.3.2 withr_2.1.2
[13] DBI_1.0.0 rappdirs_0.3.1 sessioninfo_1.1.1 jpeg_0.1-8 lifecycle_0.2.0 plyr_1.8.4
[19] stringr_1.4.0 munsell_0.5.0 gtable_0.3.0 RgoogleMaps_1.4.3 devtools_2.1.0 memoise_1.1.0
[25] callr_3.4.3 ps_1.3.2 curl_4.3 class_7.3-15 fansi_0.4.1 Rcpp_1.0.4
[31] KernSmooth_2.23-15 scales_1.0.0.9000 backports_1.1.5 classInt_0.3-3 desc_1.2.0 pkgload_1.0.2
[37] fs_1.3.2 countrycode_1.1.1 rjson_0.2.20 png_0.1-7 digest_0.6.25 stringi_1.4.6
[43] processx_3.4.2 grid_3.5.0 rprojroot_1.3-2 cli_2.0.2 tools_3.5.0 bitops_1.0-6
[49] magrittr_1.5 tibble_3.0.0 crayon_1.3.4 tidyr_0.8.3 pkgconfig_2.0.3 ellipsis_0.3.0
[55] prettyunits_1.1.1 assertthat_0.2.1 httr_1.4.1 rstudioapi_0.11 R6_2.4.1 units_0.6-3
[61] compiler_3.5.0 `
I already installed the dev version and the problem still there... probably is something related with my machine but I have not found good info on web
Thanks for your help! Isaac
Hmm, it looks like the version of sf you have installed is a bit old - could you please try updating it to the latest CRAN version?
Yep, that was the problem. Just an FYI, I had to install the dev version of sf to avoid the issue. It's working now. Thanks @jeffreyhanson
Awesome - glad its working now! I'll close this issue now that it's resolved, and please feel free to open another issue if you encounter any more problems.
Hi @jeffreyhanson
I'm just starting to play with this package and I'm getting this error
Error: x must be a vector, not a sfc_MULTIPOINT/sfc object
Not really sure what I'm doing wrong, I just copied the example
mlt_raw_pa_data <- wdpa_fetch("Malta", wait = TRUE)
Do you have any hint of what this is about?
Thanks in advance! Isaac