GithubHelp home page GithubHelp logo

darthhater / fledge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cynkra/fledge

0.0 3.0 0.0 919 KB

Wings for your R packages: Streamline the process of versioning R packages and updating NEWS

Home Page: https://krlmlr.github.io/fledge/

R 100.00%

fledge's Introduction

fledge

Travis build status AppVeyor build status Lifecycle: maturing CRAN status

{fledge} has been designed to streamline the process of versioning R packages on Git, with the functionality to automatically update NEWS.md and DESCRIPTION with relevant information from recent commit messages. For details on usage and implementation, refer the Get Started article.

Demo

asciinema demo

Click on the image to show in a separate tab.

Installation

Install from GitHub using

devtools::install_github("krlmlr/fledge")

Usage

Run {fledge} commands from your package directory for versioning as below.

  • To configure your package for the first-time with {fledge}, use

    fledge::bump_version()
    fledge::finalize_version()

    From now on, use bullet points (* or -) in your commit or merge messages to indicate the messages that you want to include in NEWS.md

  • To assign a new "dev" version number to the R package and update NEWS.md, use

    fledge::bump_version()
    fledge::finalize_version()
  • To assign a new version number to the R package before release to CRAN, use

    fledge::bump_version("patch")
    fledge::commit_version()

    Substitute "patch" by "minor" or "major" if applicable.

  • To add an additional bit to the commit message (like [skip ci] for use in CircleCI, etc...) CRAN, use

    fledge::bump_version("patch", "[skip ci]")
    fledge::commit_version()
  • To tag a version when the package has been accepted to CRAN, use

    fledge::tag_version()

    Call

    fledge::bump_version()

    to immediately switch to a development version.

  • To undo the last version bump, use

    fledge::unbump_version()

fledge's People

Contributors

amoghmalik avatar darthhater avatar krlmlr avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.