Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dieghernan/pkgdev

A small set of functions that takes advantage of Github Actions for making your life easier as a R package developer. This package is primarily intended for personal use, however feel free to use it.
https://github.com/dieghernan/pkgdev

developer-tools experimental github-actions r r-package rstats

Last synced: 2 months ago
JSON representation

A small set of functions that takes advantage of Github Actions for making your life easier as a R package developer. This package is primarily intended for personal use, however feel free to use it.

Awesome Lists containing this project

README

        

---
output: github_document
editor_options:
markdown:
wrap: 80
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
warning = FALSE,
message = FALSE,
tidy = "styler",
fig.path = "man/figures/README-",
dpi = 90,
out.width = "100%"
)
```

# pkgdev

[![r-universe](https://dieghernan.r-universe.dev/badges/pkgdev)](https://dieghernan.r-universe.dev/)
[![R-CMD-check](https://github.com/dieghernan/pkgdev/actions/workflows/check-full.yaml/badge.svg)](https://github.com/dieghernan/pkgdev/actions/workflows/check-full.yaml)
[![Lifecycle:
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![CodeFactor](https://www.codefactor.io/repository/github/dieghernan/pkgdev/badge)](https://www.codefactor.io/repository/github/dieghernan/pkgdev)

**pkgdev** is a small package that includes a set of functions that takes
advantage of [GitHub Actions (GHA)](https://github.com/features/actions) for
making your life easier as a R package developer. This package is primarily
intended for personal use, however feel free to use it (at your own risk
:wink:).

## Installation

You can install the developing version of `pkgdev` with:

```{r, eval=FALSE}
devtools::install_github("dieghernan/pkgdev")
```

Alternatively, you can install `pkgdev` using the
[r-universe](https://dieghernan.r-universe.dev/pkgdev):

```{r, eval=FALSE}
# Install pkgdev in R:
install.packages("pkgdev", repos = c(
"https://dieghernan.r-universe.dev",
"https://cloud.r-project.org"
))
```

## Example

```{r, eval=FALSE}
library(pkgdev)

gha_update_docs()
```

## Related resources

- The [tidyverse style guide](https://style.tidyverse.org/).
- **ThinkR**: [Preparing your package for a CRAN
submission](https://github.com/ThinkR-open/prepare-for-cran)
- Davis Vaughan: [extrachecks](https://github.com/DavisVaughan/extrachecks).
- **{usethis} package**: [Create a release checklist in a GitHub
issue](https://usethis.r-lib.org/reference/use_release_issue.html)
- The whole [{usethis} package](https://usethis.r-lib.org)