Join 📚 James's Highlights
A batch of the best highlights from what Jimmy's read, .
Even when having to write some things by hand like inventing new tests, usethis provides useful functions to help (e.g., create test files with usethis::use\_test\(\)).
Workflow automation tools for package developers
Maëlle Salmon
Environment variables, found via Sys.getenv() rather than getOption(), are often used for storing secrets (like GITHUB_PAT for the gh package) or the path to secrets on disk (like TWITTER_PAT for rtweet), or not secrets (e.g. the browser to use for chromote).
Persistent Config and Data for R Packages - R-Hub Blog
None
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
...catch up on these, and many more highlights