Join 📚 James's Highlights
A batch of the best highlights from what Jimmy's read, .
You can extract tables from this PDF using the aptly-named extract_tables function, like this:
# default call with no parameters changed
matrix_results <- extract_tables(site)
# get back the tables as data frames, keeping their headers
df_results <- extract_tables(site, output = "data.frame", header = TRUE)
Getting Data From PDFs the Easy Way With R - Open Source Automation
None
...cache.vars If the code chunk you want to cache creates many objects, but you only want to save a few of them, you can use knitr’s cache.vars chunk option. Simply give it a character vector of the objects’ names that you want to save.
Reproducible Research With R and RStudio
Christopher Gandrud
R CMD check or devtools::check\(\) will check your package for adherence to some standards (e.g., what folders can there be) and run the tests and examples. It’s a useful command to run even if your package isn’t intended to go on CRAN.
Workflow automation tools for package developers
Maëlle Salmon
...catch up on these, and many more highlights