Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix parens issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eclee25 committed Jul 29, 2020
1 parent 05afc99 commit a280271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/scripts/make_makefile.R
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ report_html_make_command <- function(report_name, scenarios, simulations, deathr
s <- paste0(s, " ", rmd_file,"\n")

renderCmd = sprintf("\t$(RSCRIPT) -e 'rmarkdown::render(\"%s\"", rmd_file)
renderCmd = paste0(renderCmd, sprintf(", params=list(state_usps=\"%s\")", config$report$state_usps))
renderCmd = paste0(renderCmd, sprintf(", params=list(state_usps=\"%s\"", config$report$state_usps))
if(length(config$report$continue_on_error) != 0)
{
renderCmd = paste0(renderCmd,
sprintf(", continue_on_error=%s", config$report$continue_on_error))
}
renderCmd = paste0(renderCmd, ")'")
renderCmd = paste0(renderCmd, "))'")

s <- paste0(s, renderCmd, "\n")
return(s)
Expand Down

0 comments on commit a280271

Please sign in to comment.