Description Usage Arguments See Also Examples
Initialize a new R package skeleton using IQSS best practices
1 2 3 4 |
path |
character string of the location to create new package. The last component of the path will be used as the package name. |
description |
list of values for the DESCRIPTION to override the default values or add additional values. |
use_rstudio |
logical whether to create an Rstudio project file
https://support.rstudio.com/hc/en-us/articles/200526207-Using-Projects
(with |
use_pkgdown |
logical whether or not to initialize a pkgdown website for documenting the package. |
use_gpl3 |
logical whether or not to include a GPL 3 license. |
use_tests |
logical whether or not to initialize a test suite with the testthat package and continuous integration with Travis CI (for Linux and macOS) and Appveyor (for Windows). |
use_git |
logical whether or not to use git version control. |
github_auth_token |
Provide a personal access token (PAT) from
https://github.com/settings/tokens. Defaults to the |
github_protocol |
character string specifying the transfer protocol for pushing
the GitHub remote repository , either |
change_wd |
logical whether to change to make the package the working directory upon completion. |
... |
arguments to pass to methods. |
create
github_pat
use_news_md
use_gpl3_license
use_github
use_git
use_testthat
use_travis
use_appveyor
use_package_doc
,
init_site
1 2 3 4 5 6 7 8 | ## Not run:
# Initialize new package called "mypkg" in the current working directory
init_iqss_package(path = 'mypkg',
description = list("Title" = "A Test IQSS Package",
"Description" =
"This is a longer description of the package."))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.