Read the package news with
news(), convert the result to
Markdown, and write to an output file (e.g., ‘NEWS.md’). Each package
version appears in a first-level header, each category (e.g., NEW
FEATURES or BUG FIXES) is in a second-level header, and the news
items are written into bullet lists.
news2md(package, ..., output = "NEWS.md", category = TRUE)
Arguments to be passed to
The output file path.
Whether to keep the category names.
output = NA, returns the Markdown content as a character
vector, otherwise the content is written to the output file.
# news for the current version of R xfun::news2md("R", Version == getRversion(), output = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.