r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

Parse and format NEWS files #213

Closed jeroen closed 1 year ago

jeroen commented 1 year ago

R can parse NEWS files and format them to text or html or even an interactive widget

x <- tools:::.build_news_db('dplyr')
writeLines(paste(unlist(format(x)), collapse = "\n\n"), "NEWS.txt")
writeLines(tools::toHTML(x), "NEWS.html")
jeroen commented 1 year ago

Done