Skip to content
Back to skills

Usethis

ASecurity

R usethis package for workflow automation. Use for package setup, Git, GitHub, and project configuration.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 4, 2026
datatestinggitci/cddocumentation

Security analysis

A100/100

Scanned June 4, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill usethis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Usethis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Usethis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-usethis/badge)](https://www.skillsdirectory.com/skills/leolin990405-usethis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: usethis
description: R usethis package for workflow automation. Use for package setup, Git, GitHub, and project configuration.
---

# usethis Package

Workflow automation for R packages and projects.

## Create Package

```r
library(usethis)

# New package
create_package("mypackage")

# New project
create_project("myproject")
```

## Package Setup

```r
# License
use_mit_license()
use_gpl3_license()
use_cc0_license()

# Documentation
use_roxygen_md()
use_package_doc()
use_news_md()
use_readme_rmd()

# Dependencies
use_package("dplyr")
use_package("ggplot2", type = "Suggests")
use_pipe()  # Add %>%
use_tibble()
```

## Testing

```r
use_testthat()
use_test("myfunction")
use_coverage()
```

## Git & GitHub

```r
use_git()
use_github()
use_github_action_check_standard()
use_github_action("pkgdown")
use_github_pages()
```

## Data

```r
# Internal data
use_data_raw("dataset")
use_data(mydata, internal = TRUE)

# External data
use_data(mydata)
```

## Vignettes

```r
use_vignette("introduction")
use_article("advanced-usage")
```

## CI/CD

```r
use_github_action_check_standard()
use_github_action_check_release()
use_github_action("test-coverage")
use_github_action("pkgdown")
```

## Other

```r
# Add file
use_r("myfunction")
use_test("myfunction")

# Badges
use_cran_badge()
use_lifecycle_badge("experimental")
use_coverage_badge()

# Imports
use_import_from("dplyr", "filter")
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.