-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Fail On MacOS #198
Comments
This issue is due to the low version of |
Hi @harryprince and thanks for your message. @luukvdmeer I just noticed that remotes::install_version("sf", "0.9.8", quiet = TRUE)
remotes::install_cran("sfnetworks", quiet = TRUE)
library(sfnetworks)
#> Registered S3 method overwritten by 'spatstat.geom':
#> method from
#> print.boxx cli
#> Error: package or namespace load failed for 'sfnetworks':
#> .onAttach failed in attachNamespace() for 'sfnetworks', details:
#> call: if (sf::sf_extSoftVersion()["PROJ"] < "6.0.0" || sf::sf_extSoftVersion()["proj.4"] <
#> error: missing value where TRUE/FALSE needed Created on 2022-01-03 by the reprex package (v2.0.1) I think we should slightly adjust the following if-clause: Lines 89 to 90 in 28cbfb8
with something like: .onAttach = function(libname, pkgname) {
if (sf::sf_extSoftVersion()["proj.4"] < "6.0.0") { I'm not 100% sure it is safe to ignore the output of |
Describe the bug
proj.4 6.X is installed, but still fail to install.
Reproducible example
R Session Info
The text was updated successfully, but these errors were encountered: