[mirror] Opinionated R package quickstart
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

R 95.3%
Shell 0.9%
Other 3.8%
20 2 1

Clone this repository

https://tangled.org/visruth.com/bootstrapper https://tangled.org/did:plc:xfguhlqnw7pbioeiismqdmhb/bootstrapper
git@tangled.org:visruth.com/bootstrapper git@tangled.org:did:plc:xfguhlqnw7pbioeiismqdmhb/bootstrapper

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

bootstrapper#

R-CMD-check Codecov test coverage test-coverage

The goal of bootstrapper is to ...

Installation#

You can install the development version of bootstrapper like so:

# FILL THIS IN! HOW CAN PEOPLE INSTALL YOUR DEV PACKAGE?

Example#

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

library(bootstrapper)
## basic example code

IMPLEMENT THIS WORKFLOW:#

usethis::create_package(".")
# publish repo to GitHub
usethis::use_readme_md()
unlink("*.Rproj")
usethis::use_testthat()

# GitHub Actions Setup
usethis::use_github_action("check-standard", badge = TRUE)
usethis::use_github_action("test-coverage", badge = TRUE)
usethis::use_github_action(
  url = "https://github.com/visruthsk/bootstrapper/blob/main/.github/workflows/format-suggest.yaml"
)
usethis::use_pkgdown_github_pages()
c(
  "version: 2",
  "updates:",
  "  - package-ecosystem: \"github-actions\"",
  "    directory: \"/\"",
  "    schedule:",
  "      interval: \"weekly\""
) |>
  write_to_path(fs::path(".github", "dependabot.yml"))

find_replace_in_dir("actions/checkout@v4", "actions/checkout@v6")
find_replace_in_dir(
  "JamesIves/github-pages-deploy-action@v4.5.0",
  "JamesIves/github-pages-deploy-action@v4"
)

usethis::use_tidy_description()
# pick a license