jacobbien / litr-project

Writing R Packages with Literate Programming
https://jacobbien.github.io/litr-project/
Other
37 stars 3 forks source link

Move litr::document() to litr::render()? #17

Open jacobbien opened 2 years ago

jacobbien commented 2 years ago

The arguments for making the move are

jacobbien commented 2 years ago

A downside is if devtools::build() or devtools::install() or devtools::check() or devtools::test() are in the Rmd, we would need to include litr::document() to be run first. However, a user can simply add litr::document() before these other commands if so desired (in which case litr::document() would be run twice).