R PACKAGEDEV TOOLS

30 tools from the R Packagedev MCP Server, categorised by risk level.

View the R Packagedev policy →

READ TOOLS

10

WRITE TOOLS

17
create_package Create a new R package skeleton at the specified path using usethis::create_package(). Sets up DESCRIPTION, NAMESPACE, and the R/ directory. 3/5 document Generate roxygen2 documentation and update NAMESPACE using devtools::document(). Reads @-tags from R source and creates man/*.Rd files. 2/5 install Install the package into the local R library using devtools::install(). 2/5 renv_init Initialise an renv project-local library for the project using renv::init(). Creates renv/ and renv.lock, and updates .Rprofile. 2/5 renv_install Install packages into the renv project library using renv::install(). Supports CRAN packages, GitHub (user/repo), or version-pinned installs. 2/5 renv_restore Restore packages from renv.lock to recreate the recorded environment using renv::restore(). 2/5 renv_update Update packages in the renv project library using renv::update(). If no package names are given, all outdated packages are updated. 2/5 use_git Initialise a Git repository in the package and make an initial commit using usethis::use_git(). 2/5 use_github Create a GitHub remote for the package and push using usethis::use_github(). Requires a GitHub PAT configured via GITHUB_PAT or gh_token(). 2/5 use_gpl3_license Add a GPL-3 LICENSE file and update DESCRIPTION License field using usethis::use_gpl3_license(). 2/5 use_mit_license Add an MIT LICENSE file and update DESCRIPTION License field using usethis::use_mit_license(). 2/5 use_package Add a package dependency to DESCRIPTION using usethis::use_package(). Supports Imports, Suggests, Depends, LinkingTo, and Enhances. 2/5 use_pipe Add the magrittr pipe (%>%) to the package via usethis::use_pipe(). Creates utils-pipe.R and updates NAMESPACE. 2/5 use_r Add a new R source file under R/ in an existing package using usethis::use_r(). Creates 'R/<name>.R' with minimal boilerplate. 2/5 use_readme_md Add a README.md to the package root using usethis::use_readme_md(). 3/5 use_testthat Configure the testthat testing infrastructure for a package using usethis::use_testthat(). Creates tests/testthat/ and adds testthat to Suggests. 2/5 use_vignette Create a new vignette stub (Rmd file) under vignettes/ using usethis::use_vignette(). 2/5

DESTRUCTIVE TOOLS

1

EXECUTE TOOLS

2
How many tools does the R Packagedev MCP server have? +

The R Packagedev MCP server exposes 30 tools across 4 categories: Read, Write, Destructive, Execute.

How do I enforce policies on R Packagedev tools? +

Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the R Packagedev server.

What risk categories do R Packagedev tools fall into? +

R Packagedev tools are categorised as Read (10), Write (17), Destructive (1), Execute (2). Each category has a recommended default policy.

Enforce policies on R Packagedev

Open source. One binary. Zero dependencies.

npx -y @policylayer/intercept
github.com/policylayer/intercept →
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.