cynkra / fledge

Wings for your R packages: Streamline the process of versioning R packages and updating NEWS
https://fledge.cynkra.com
186 stars 11 forks source link
changelog git package-creation r

fledge

Smoother change tracking and versioning for R packages.

rcc Lifecycle: experimental CRAN status Codecov test coverage

Do you want to provide a changelog (NEWS.md) more informative than “bug fixes and performance improvements” (https://twitter.com/EmilyKager/status/1413628436984188933) to the users of your package?

Ways to achieve that are:

Using fledge is a discipline, a few habits, that are worth learning!

What you need to do in practice is, no matter your fledge commitment level:

For informative commit messages refer to the Tidyverse style guide.

Then, for full fledge use = fledge-assisted management of NEWS.md, DESCRIPTION version numbers, and git tags:

OR, for light fledge use = filling of NEWS.md between releases:

# mypackage (development version)

These habits are worth learning!

Demo

asciinema demo

Click on the image above to show in a separate tab.

Installation & setup

Once per machine

Install from CRAN using:

install.packages("fledge")

Install from cynkra’s R-universe (development version) using:

install.packages("fledge", repos = c("https://cynkra.r-universe.dev", "https://cloud.r-project.org"))

Or install from GitHub (development version as well) using:

remotes::install_github("cynkra/fledge")

If you are used to making workflow packages (e.g. devtools) available for all your interactive work, you might enjoy loading fledge in your .Rprofile.

Once per package

For full use
For light use
# mypackage (development version)

How to get started?

Check out the general vignette vignette("fledge"), and for the whole game, the demo vignette vignette("demo"). Feel free to ask us questions!

Related tools