translate: Create a NEWS.md file from NEWS file

View source: R/translate.R

translateR Documentation

Create a NEWS.md file from NEWS file

Description

This function will add a package name line to the current NEWS file and write a NEWS.md file for viewing on GitHub. Future iterations will simplify formatting changes to the NEWS file so that it can be converted to a markdown file. Current files should have markdown syntax in the NEWS file.

Usage

translate(pkg = ".", overwrite = FALSE)

Arguments

pkg

character(1) The directory location of the package usually the current directory (default: ".")

overwite

logical(1) Whether to overwrite the existing NEWS.md file (default: FALSE)

Value

Saves a file with the name "NEWS.md" in the package directory


waldronlab/newsfeed documentation built on July 30, 2023, 1:22 a.m.