knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

add2pkg

DOI

The goal of add2pkg is to create some snippets to develop R packages.

Installation

You can install the released version of add2pkg from CRAN with:

install.packages("add2pkg")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("JiaxiangBU/add2pkg")

Example

This is a basic example which shows you how to solve a common problem:

library(add2pkg)
## basic example code
add_me(is_paste = FALSE)
# add_zenodo_citation(readme_path = here::here("../pyks/README.Rmd"))
add_disclaimer()

r add_disclaimer()



JiaxiangBU/add2pkg documentation built on Feb. 12, 2020, 6:32 a.m.