Skip to content

Commit

Permalink
Merge pull request #1034 from stan-dev/fix-untar-install
Browse files Browse the repository at this point in the history
Make use of untar() platform independent in `install_cmdstan()`
  • Loading branch information
jgabry authored Nov 18, 2024
2 parents b762c54 + 3c840ef commit bceb482
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ install_cmdstan <- function(dir = NULL,
} else {
untar_rc <- utils::untar(
dest_file,
exdir = dir_cmdstan,
extras = "--strip-components 1"
exdir = dir
)
if (untar_rc != 0) {
stop("Problem extracting tarball. Exited with return code: ", untar_rc, call. = FALSE)
Expand Down

0 comments on commit bceb482

Please sign in to comment.