Prints a random quote extracted from goodreads.com
rQuote(tag = "science", theme = c("light", "dark"), fonts = "Francois One", popup = TRUE, cores = detectCores() - 1, OS = c("windows", "linux", "macOS"), control = NULL, ...)
tag | A character string specifying the desired tag to look quotes from. Defaults to 'science'. |
---|---|
theme | Character string specifying whether the light or the dark theme should be used for the pop-up plot window. Defaults to 'light'. |
fonts | Character string specifying the desired Google fonts to use. Fonts are installed using function |
popup | Logical; if TRUE a pop-up plot window with the quote appears. Defaults to 'TRUE'. |
cores | Integer specifying the number of cores to be used by the function. Defaults to the number of cores detected on the current host minus 1. |
OS | Character string specifying the Operating System of the current host. Defaults to windows. |
control | a list of control values with components:
|
Argument tag refers to the available user defined tags in goodreads.com. They consist of a single word with lowercase characters (e.g 'politics', 'sports', ...). They do not contain spaces, special characters or uppercase letters. If the user inputs a tag that does not exist in goodreads.com, then no quote will be found and an error message will appear.