MyNixOS website logo
Description

Help with Preparing a New Version of an R Package.

Helps to prepare a release. Before releasing an R package it is important to update the DESCRIPTION file and the changelog. This package prepares these files and also updates the versions according to the branches. It relies heavily on the 'desc' packages.

{releaser}

CRANstatus

R-CMD-check Testcoverage CodeFactor CodacyBadge lint

GH Pagesbuilt

{releaser} helps the developer to release their package and update informations (DESCRIPTION, CHANGELOG…) of the package.

Installation

You can install the development version of {releaser} from GitHub with:

# install.packages("remotes")
remotes::install_github("TanguyBarthelemy/releaser")

Usage

library("releaser")

You can extract the latest version of a package on GitHub and display the different future version:

version <- get_latest_version("rjdverse/rjd3toolkit")
#> Fetched DESCRIPTION from branch: v3.5.1
#> Version found on branch v3.5.1: 3.5.1
#> Dernière release : 3.5.1
#> Fetching branches from repository: rjdverse/rjd3toolkit
#> Found branches: develop, gh-pages, main, snapshot
#> Fetched DESCRIPTION from branch: develop
#> Version found on branch develop: 3.5.2
#> Version sur develop  : 3.5.2
#> Fetched DESCRIPTION from branch: main
#> Version found on branch main: 3.5.1
#> Version sur main  : 3.5.1
#> Fetched DESCRIPTION from branch: snapshot
#> Version found on branch snapshot: 3.5.1.9500
#> Version sur snapshot  : 3.5.1.9500
get_different_future_version(version)
#> Package version bumped from '3.5.1' to '3.5.2'
#> Future patch version: 3.5.2
#> Package version bumped from '3.5.2' to '3.6.0'
#> Future minor version: 3.6.0
#> Package version bumped from '3.6.0' to '4.0.0'
#> Future major version: 4.0.0
#> current_version.Version    future_patch_version    future_minor_version 
#>                 "3.5.1"                 "3.5.2"                 "3.6.0" 
#>    future_major_version 
#>                 "4.0.0"
Metadata

Version

1.1.0

License

Unknown

Platforms (78)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows