diff --git a/R/install.R b/R/install.R index bd6f4319..9bb2550d 100644 --- a/R/install.R +++ b/R/install.R @@ -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)