Skip to content

Commit 9d9d0f7

Browse files
committed
Fix NormalizePath
1 parent 8043f6b commit 9d9d0f7

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

R/General_NormalizePath.R

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,9 @@ NormalizePath <- function(Path, MustWork = FALSE) {
4242
}
4343
}
4444

45-
# Determine shell type
46-
shell_type <- dplyr::if_else(
47-
nzchar(Sys.getenv("ComSpec", unset = "")), "cmd", "sh")
48-
4945
# Process and return normalized path
5046
Out <- fs::path_abs(Path) %>%
51-
fs::path_tidy() %>%
52-
shQuote(type = shell_type)
47+
fs::path_tidy()
5348

5449
return(Out)
5550
}

R/Mod_Merge_Chains.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Mod_Merge_Chains <- function(
146146
dplyr::mutate(
147147
Post_Missing = furrr::future_map_lgl(
148148
.x = Post_Path,
149-
.f = function(x){
149+
.f = function(x) {
150150

151151
purrr::map_lgl(
152152
.x = as.character(x),

0 commit comments

Comments
 (0)