Overview

R package template in Zhuoer’s style

initialize

  1. rename project folder (you may have already done so before you open me with VSCode)

  2. rename .Rproj, vignettes/.Rmd

  3. replace all minir (use VSCode, remember to Save all)

  4. replace package description in readme.md, DESCRIPTION, R/aaa.R

  5. enable roxygen2 in Build & Reload

  6. GitLab add new branch, dongzhuoer/pkg

  7. website pkgdown.Rmd & pkgdown.sh

  8. Git

    rm -rf .git
    git init
    git add -A
    git commit -m "initial"
  9. delete this section

Installation

if (!("remotes" %in% .packages(T))) install.packages("remotes");
remotes::install_github("dongzhuoer/minir");

Usage

refer to vignette("minir").