Description Usage Arguments Details Value Author(s) Examples
View source: R/openingDetails.R
Report opening details about the book, to be executed as an R expression in the Date:
field.
1 |
... |
Further named strings to be included in the opening details. |
It is usually sufficient to set something like
1 | date: "`r rebook::openingDetails()`"
|
in the YAML header of the book, thereby ensuring that the book details are printed after the title but before any contents. This assumes that none of the details have problematic characters, particularly double quotes.
Details are extracted from a DESCRIPTION
file in the current or any parent directory.
This assumes that authors are formatted as Authors@R
and the License
and Date
fields are specified.
A string containing the formatted details for inclusion into a YAML header.
Aaron Lun
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.