Skip to content

Commit

Permalink
proper function name
Browse files Browse the repository at this point in the history
  • Loading branch information
roninsightrx committed Jun 12, 2024
1 parent 26956f0 commit bfc46bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/new_ode_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -459,14 +459,14 @@ new_ode_model <- function (model = NULL,
"--with-keep.source",
"--pkglock",
"--no-staged-install",
shQuotes(normalizePath(file.path(folder, package)))
shQuote(normalizePath(file.path(folder, package)))
)

system2(cmd, args, stdout = quiet, stderr = quiet)

} else {
# Run R CMD BUILD to zip file
args <- c("CMD", "build", shQuotes(normalizePath(file.path(folder, package))))
args <- c("CMD", "build", shQuote(normalizePath(file.path(folder, package))))
system2(cmd, args, stdout = quiet, stderr = quiet)
pkg_file <- paste0(package, "_", version, ".tar.gz")
if(file.exists(pkg_file)) {
Expand Down

0 comments on commit bfc46bd

Please sign in to comment.