Not working with 4.2.0
Opened this issue · 3 comments
Warning in install.packages :
unable to access index for repository https://r.esri.com/bin/windows/contrib/4.2:
cannot open URL 'https://r.esri.com/bin/windows/contrib/4.2/PACKAGES'
Warning in install.packages :
package ‘arcgisbinding’ is not available as a binary package for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
@timpwhite We don't have enough information to process your request. Please fill up all fields of the bug report.
I am experiencing the same problem on R version 4.1.2.
I am having a similar issue. arcgisbinding
breaks two different ways that I've encountered.
First install directly from github using remotes::install_github("R-ArcGIS/r-bridge")
.
library(arcgisbinding)
#> *** Please call arc.check_product() to define a desktop license.
arc.check_product()
#> product: ArcGIS Pro (13.1.0.40766)
#> license: Advanced
#> version: 1.0.1.300
arc.check_portal()
#> *** Current
#> url : https://www.arcgis.com/
#> version : NA
#> user : jparry_ANGP
#> organization : GP Analysis - Prod Hive 1
When executing any other function, the R session is corrupted and aborted. There are no errors to traceback unfortunately.
The following example from arc.select()
crashes.
ozone.file <- system.file(
"extdata", "ca_ozone_pts.shp",
package = "arcgisbinding"
)
d <- arc.open(ozone.file)
I've gone ahead and instead, installed using the directions from https://r.esri.com/
install.packages("arcgisbinding", repos="https://r.esri.com", type="win.binary")
This succeeds.
library(arcgisbinding)
#> *** Please call arc.check_product() to define a desktop license.
arc.check_product()
#> product: ArcGIS Pro (13.1.0.40766)
#> license: Advanced
#> version: 1.0.1.300
ozone.file <- system.file(
"extdata", "ca_ozone_pts.shp",
package = "arcgisbinding"
)
d <- arc.open(ozone.file)
After a few different session restarts arc.check_product()
returns an error.
sessionInfo()
#> R version 4.2.1 (2022-06-23 ucrt)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 19042)
#>
#> Matrix products: default
#>
#> locale:
#> [1] LC_COLLATE=English_United States.utf8
#> [2] LC_CTYPE=English_United States.utf8
#> [3] LC_MONETARY=English_United States.utf8
#> [4] LC_NUMERIC=C
#> [5] LC_TIME=English_United States.utf8
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] withr_2.5.0 digest_0.6.29 lifecycle_1.0.3 magrittr_2.0.3
#> [5] reprex_2.0.2 evaluate_0.17 highr_0.9 stringi_1.7.8
#> [9] rlang_1.0.6 cli_3.4.1 rstudioapi_0.14 fs_1.5.2
#> [13] rmarkdown_2.17 tools_4.2.1 stringr_1.4.1 glue_1.6.2
#> [17] xfun_0.33 yaml_2.3.5 fastmap_1.1.0 compiler_4.2.1
#> [21] htmltools_0.5.3 knitr_1.40
Created on 2022-11-21 with reprex v2.0.2