Skip to content

Commit

Permalink
Removing environment stuff that doesn't fix problem with Rstudio "run…
Browse files Browse the repository at this point in the history
… examples"
  • Loading branch information
dmkaplan2000 committed Jun 7, 2022
1 parent 9733376 commit 7fae350
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test.starticles.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ rmarkdown::draft("MYARTICLENAME.Rmd","generic_article","starticles",edit=FALSE)

# Requires recent version of pandoc (provided by RStudio)
if (rmarkdown::pandoc_available(version="2.17"))
rmarkdown::render("MYARTICLENAME/MYARTICLENAME.Rmd",
envir=new.env(parent = globalenv()))
rmarkdown::render("MYARTICLENAME/MYARTICLENAME.Rmd")

# Return to orignal workind directory ------------------
setwd(owd)

0 comments on commit 7fae350

Please sign in to comment.