Skip to content

Commit

Permalink
r
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Feb 1, 2023
1 parent 2f43271 commit 76bdb62
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/options.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.terra_environment <- new.env(parent=emptyenv())


Expand All @@ -9,6 +8,12 @@
tmpdir <- try(tempdir(check = TRUE), silent=TRUE)
opt@ptr$tempdir <- normalizePath(tempdir(), winslash="/")
.terra_environment$options <- opt

x <- options("terra_default")[[1]]
if (!is.null(x)) {
do.call(terraOptions, x)
}

}

.options_names <- function() {
Expand Down

0 comments on commit 76bdb62

Please sign in to comment.