Open cansavvy opened 3 days ago
make-screenshots.R needs to be functionalized and added to the ottrpal package (along with a unit test).
Currently its called like this:
Rscript --vanilla make_screenshots.R \ --git_pat ${{ secrets.GH_PAT }} \ --repo $GITHUB_REPOSITORY \ --output_dir resources/chapt_screen_images
So each of these options should become arguments in the new function.
After an initial PR that adds this as a function (along with a test in both test-rmd-leanpub-prep.R and test-quarto-leanpub-prep.R
test-rmd-leanpub-prep.R
test-quarto-leanpub-prep.R
Then later:
What needs to be done:
make-screenshots.R needs to be functionalized and added to the ottrpal package (along with a unit test).
Currently its called like this:
So each of these options should become arguments in the new function.
After an initial PR that adds this as a function (along with a test in both
test-rmd-leanpub-prep.R
andtest-quarto-leanpub-prep.R
Then later: