This function searches for flashcard decks stored in GitHub repositories. By default, the function searches the flashr_decks repo. But other GitHub repos can be used.
To narrow the results, include text in the pattern
argument (for example,
list_decks(pattern = "r4ds")
).
Arguments
- pattern
String pattern to search in list of decks.
- repo
GitHub username and repo for deck repository in the format of "username/repository". Default value is "JeffreyRStevens/flashr_decks".
- quiet
Logical to prevent list information from printing to console.
Details
You are welcome to fork the
flashr_decks repo and
modify or add your own decks. Or you can create your own repo from scratch.
Just make sure to place your decks in a directory called decks/
in your
root directory. Then set the repo
argument to your username and repo (see
Examples).
See also
Other functions for finding decks:
choose_deck()