Skip to content

Commit 3cb1275

Browse files
committed
Fix windows cache path.
1 parent 91c2397 commit 3cb1275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pkg/R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ hadoop_version_name <- function(hadoopVersion) {
212212
# adapt to Spark context
213213
spark_cache_path <- function() {
214214
if (.Platform$OS.type == "windows") {
215-
winAppPath <- Sys.getenv("%LOCALAPPDATA%", unset = NA)
215+
winAppPath <- Sys.getenv("LOCALAPPDATA", unset = NA)
216216
if (is.na(winAppPath)) {
217217
msg <- paste("%LOCALAPPDATA% not found.",
218218
"Please define the environment variable",

0 commit comments

Comments
 (0)