π¦ {flashr} 0.2.0 is out! β‘
The R package {flashr} creates flashcards for learning R functions or other things. The new version can extract R functions from R Markdown and Quarto documents, which can be used to create flashcard decks.
Blogpost: https://jeffreyrstevens.github.io/posts/flashr/
* extract_code() grabs content of code blocks
* extract_functions() grabs all R functions in the code text
* build_functions_df() creates a data frame that flashcard() can use to create slides
* automatically populates function definitions from https://jeffreyrstevens.github.io/flashr_decks/functions.html
With {flashr} you can view/build existing decks from R for Data Science and PsyTeachR (https://jeffreyrstevens.github.io/flashr_decks/decks.html) or build your own decks extracted from other books and sources.
Feedback is welcome on other decks or ideas for improvements!