mirror of https://git.sr.ht/~hrbrmstr/splashr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
184 B
6 lines
184 B
7 years ago
|
.pkgenv <- new.env(parent=emptyenv())
|
||
|
|
||
|
.onAttach <- function(...) {
|
||
|
temp_dir <- normalizePath(gsub("//", "/", path.expand(tempdir())))
|
||
|
assign("temp_dir", temp_dir, envir=.pkgenv)
|
||
|
}
|