Skip to content

Commit 3c840ef

Browse files
committed
Fix use of untar
fixes #1029
1 parent b762c54 commit 3c840ef

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

R/install.R

Lines changed: 1 addition & 2 deletions
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)