Skip to content

Commit bceb482

Browse files
authored
Merge pull request #1034 from stan-dev/fix-untar-install
Make use of untar() platform independent in `install_cmdstan()`
2 parents b762c54 + 3c840ef commit bceb482

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: R/install.R

+1-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ install_cmdstan <- function(dir = NULL,
203203
} else {
204204
untar_rc <- utils::untar(
205205
dest_file,
206-
exdir = dir_cmdstan,
207-
extras = "--strip-components 1"
206+
exdir = dir
208207
)
209208
if (untar_rc != 0) {
210209
stop("Problem extracting tarball. Exited with return code: ", untar_rc, call. = FALSE)

0 commit comments

Comments
 (0)