We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3150344 commit d7b287fCopy full SHA for d7b287f
R/init.R
@@ -90,13 +90,13 @@ if_exists_restore = function(vars, where) {
90
91
load_gdal <- function() {
92
if (!identical(Sys.getenv("R_SF_USE_PROJ_DATA"), "true")) {
93
- if (file.exists(prj <- system.file("proj/nad.lst", package = "sf")[1])) {
+ if (file.exists(prj <- system.file("proj", package = "sf")[1])) {
94
# nocov start
95
if (! CPL_set_data_dir(prj)) { # if TRUE, uses C API to set path, leaving PROJ_LIB / PROJ_DATA alone
96
if_exists_replace("PROJ_LIB", prj, .sf_cache)
97
if_exists_replace("PROJ_DATA", prj, .sf_cache)
98
}
99
- CPL_use_proj4_init_rules(1L)
+ # CPL_use_proj4_init_rules(1L)
100
# nocov end
101
102
if (file.exists(gdl <- system.file("gdal", package = "sf")[1]))
0 commit comments