README.md

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)
#> Authors@R:
#>     person(given = "Jiaxiang",
#>            family = "Li",
#>            role = c("aut", "cre"),
#>            email = "alex.lijiaxiang@foxmail.com",
#>            comment = c(ORCID = "https://orcid.org/0000-0003-3196-6492"))
# add_zenodo_citation(readme_path = here::here("../pyks/README.Rmd"))
add_disclaimer()
#> <U+2714> Setting active project to 'D:/work/add2pkg'
#> <h4 align="center">**Code of Conduct**</h4>
#> 
#> <h6 align="center">Please note that the `add2pkg` project is released with a [Contributor Code of Conduct](https://github.com/JiaxiangBU/add2pkg/blob/master/CODE_OF_CONDUCT.md).<br>By contributing to this project, you agree to abide by its terms.</h6>
#> 
#> <h4 align="center">**License**</h4>
#> 
#> <h6 align="center">MIT &copy; [Jiaxiang Li](https://github.com/JiaxiangBU/add2pkg/blob/master/LICENSE.md)</h6>

**Code of Conduct**

Please note that the `add2pkg` project is released with a [Contributor Code of Conduct](https://github.com/JiaxiangBU/add2pkg/blob/master/CODE_OF_CONDUCT.md).By contributing to this project, you agree to abide by its terms.

**License**

MIT © [Jiaxiang Li](https://github.com/JiaxiangBU/add2pkg/blob/master/LICENSE.md)


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