Created
March 22, 2023 16:46
-
-
Save Pakillo/999e34301c56011138ef164363502465 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(usethis) | |
create_package("templateRpackage") | |
## Use git & create repo on GitHub | |
use_git() | |
use_github(organisation = "EcologyR") | |
## Create README | |
use_readme_rmd() | |
## Create data folders | |
use_data_raw() | |
use_package_doc() | |
use_news_md() | |
use_testthat() | |
## create example function (suma.R) | |
use_test("suma") | |
## create example function (resta.R) | |
use_test() | |
use_github_action_check_release() | |
use_mit_license() | |
use_coverage() | |
use_github_action("test-coverage") | |
# pkgdown could run on CI too, but here manually | |
use_github_pages(branch = git_default_branch(), path = "/docs") | |
use_pkgdown() | |
pkgdown::build_site() | |
use_citation() | |
# use_code_of_conduct("email") | |
# use_package("ggplot2") | |
# usethis::use_github_action("lint") | |
# use_logo("logo.png") | |
# use_spell_check() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment