From 3c840ef31013dd6e9672dc38fa06105abd17cdd1 Mon Sep 17 00:00:00 2001 From: jgabry Date: Thu, 14 Nov 2024 13:07:26 -0700 Subject: [PATCH] Fix use of untar fixes #1029 --- R/install.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)