Closed BStai closed 2 years ago
Hi @BStai! Can you run remotes::install_github("luukvdmeer/sfnetworks", "fix-onattach")
and report back?
That does seem to work without issue for me. I am now able to install from that branch and load without complaints.
Great! I still don't understand why you cannot install the package from CRAN but at least now you should be able to install it from github.
Hi @BStai! @loreabad6 recently pushed version 0.5.5
to CRAN. Can you check if you can install the new version from CRAN?
If this problem still persists with the newer versions, please re-open this issue. For now I close it.
Hi @luukvdmeer, I may be having a related issue. When I I run install.packages("sfnetworks")
it runs fine, but when I try to call the package with library(sfnetworks)
, I get an error message saying "there is no package called 'sfnetworks'."
Running R.Version() I have
R.Version()
$platform
[1] "x86_64-w64-mingw32"
$arch
[1] "x86_64"
$os
[1] "mingw32"
$crt
[1] "ucrt"
$system
[1] "x86_64, mingw32"
$status
[1] ""
$major
[1] "4"
$minor
[1] "2.1"
$year
[1] "2022"
$month
[1] "06"
$day
[1] "23"
$`svn rev`
[1] "82513"
$language
[1] "R"
$version.string
[1] "R version 4.2.1 (2022-06-23 ucrt)"
$nickname
[1] "Funny-Looking Kid"
Here's my session info:
> sessionInfo()
R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] tidygraph_1.2.2 igraph_1.3.5 sfdep_0.2.0 tweetrmd_0.0.9 GWmodel_2.2-9 Rcpp_1.0.9 robustbase_0.95-0 maptools_1.1-4
[9] spatialreg_1.2-6 Matrix_1.4-1 spgwr_0.6-35 spdep_1.2-7 spData_2.2.0 rgeos_0.5-9 rgdal_1.5-32 stargazer_5.2.3
[17] caret_6.0-93 lattice_0.20-45 DAAG_1.25.4 MASS_7.3-58.1 corrplot_0.92 janitor_2.1.0 glue_1.6.2 gt_0.7.0
[25] ggpubr_0.4.0 tmap_3.3-3 mapview_2.11.0 sf_1.0-8 forcats_0.5.2 stringr_1.4.1 dplyr_1.0.10 purrr_0.3.4
[33] readr_2.1.2 tidyr_1.2.0 tibble_3.1.8 ggplot2_3.3.6 tidyverse_1.3.2 sp_1.5-0
loaded via a namespace (and not attached):
[1] utf8_1.2.2 tidyselect_1.2.0 htmlwidgets_1.5.4 grid_4.2.1 pROC_1.18.0 munsell_0.5.0
[7] codetools_0.2-18 units_0.8-0 interp_1.1-3 future_1.28.0 withr_2.5.0 colorspace_2.0-3
[13] knitr_1.40 uuid_1.1-0 rstudioapi_0.14 stats4_4.2.1 wk_0.6.0 ggsignif_0.6.3
[19] listenv_0.8.0 Rdpack_2.4 rprojroot_2.0.3 coda_0.19-4 parallelly_1.32.1 LearnBayes_2.15.1
[25] vctrs_0.4.1 generics_0.1.3 ipred_0.9-13 xfun_0.32 markdown_1.1 R6_2.5.1
[31] assertthat_0.2.1 scales_1.2.1 nnet_7.3-17 googlesheets4_1.0.1 gtable_0.3.1 globals_0.16.1
[37] lwgeom_0.2-8 processx_3.7.0 leafpop_0.1.0 timeDate_4021.104 rlang_1.0.5 systemfonts_1.0.4
[43] splines_4.2.1 rstatix_0.7.0 ModelMetrics_1.2.2.2 gargle_1.2.0 dichromat_2.0-0.1 broom_1.0.1
[49] brew_1.0-7 s2_1.1.0 yaml_2.3.6 reshape2_1.4.4 abind_1.4-5 modelr_0.1.9
[55] crosstalk_1.2.0 backports_1.4.1 tools_4.2.1 lava_1.6.10 ellipsis_0.3.2 raster_3.5-29
[61] RColorBrewer_1.1-3 proxy_0.4-27 plyr_1.8.7 base64enc_0.1-3 classInt_0.4-7 prettyunits_1.1.1
[67] ps_1.7.1 rpart_4.1.16 deldir_1.0-6 tmaptools_3.1-1 zoo_1.8-11 haven_2.5.1
[73] fs_1.5.2 leafem_0.2.0 magrittr_2.0.3 data.table_1.14.2 spacetime_1.2-8 reprex_2.0.2
[79] googledrive_2.0.0 mime_0.12 hms_1.1.2 XML_3.99-0.10 leaflet_2.1.1 jpeg_0.1-9
[85] readxl_1.4.1 compiler_4.2.1 KernSmooth_2.23-20 crayon_1.5.2 htmltools_0.5.3 tzdb_0.3.0
[91] expm_0.999-6 lubridate_1.8.0 DBI_1.1.3 dbplyr_2.2.1 boot_1.3-28 car_3.1-0
[97] cli_3.3.0 rbibutils_2.2.9 parallel_4.2.1 gower_1.0.0 pkgconfig_2.0.3 foreign_0.8-82
[103] terra_1.6-7 recipes_1.0.1 xml2_1.3.3 foreach_1.5.2 svglite_2.1.0 hardhat_1.2.0
[109] webshot_0.5.3 prodlim_2019.11.13 rvest_1.0.3 snakecase_0.11.0 callr_3.7.2 digest_0.6.29
[115] cellranger_1.1.0 leafsync_0.1.0 intervals_0.15.2 curl_4.3.2 satellite_1.0.4 lifecycle_1.0.3
[121] nlme_3.1-157 jsonlite_1.8.3 carData_3.0-5 viridisLite_0.4.1 fansi_1.0.3 pillar_1.8.1
[127] pkgbuild_1.3.1 fastmap_1.1.0 httr_1.4.4 DEoptimR_1.0-11 survival_3.3-1 remotes_2.4.2
[133] xts_0.12.2 FNN_1.1.3.1 png_0.1-7 iterators_1.0.14 leaflet.providers_1.9.0 class_7.3-20
[139] stringi_1.7.8 latticeExtra_0.6-30 stars_0.5-6 e1071_1.7-11 future.apply_1.9.1
Hi @nlebovits, unfortunately the package was recently archived on CRAN because of a failing test. We are currently in the process of re-submitting, so it should be back there soon. In the meantime, please install directly from GitHub with remotes::install_github("luukvdmeer/sfnetworks")
Hi @nlebovits, unfortunately the package was recently archived on CRAN because of a failing test. We are currently in the process of re-submitting, so it should be back there soon. In the meantime, please install directly from GitHub with
remotes::install_github("luukvdmeer/sfnetworks")
Hi @luukvdmeer
I used _remotes::installgithub("luukvdmeer/sfnetworks") to install the package and call the library, but I got this error message: Error: package or namespace load failed for ‘sfnetworks’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘rlang’ 1.1.0 is already loaded, but >= 1.1.1 is required
Could you please suggest the solution? thank you so much!
Hi @LinhLTP, as the error says, you might need to update the "rlang" package, so try install.packages("rlang")
.
Hi @LinhLTP, as the error says, you might need to update the "rlang" package, so try
install.packages("rlang")
.
Thank you @loreabad6 I can download the package and use it now! Have a good day!
When I try to run
install.packages("sfnetworks")
I get the following:Running R.version() I have the following:
Based on the CRAN page that should fit the requirements for R (≥ 3.6). Is there another requirement I'm missing?
I was also unable to install via remotes due to he following error:
I do have sf installed and loaded and it works.
R Session Info