use_addin: Add minimal RStudio Addin binding

View source: R/addin.R

use_addinR Documentation

Add minimal RStudio Addin binding

Description

This function helps you add a minimal RStudio Addin binding to inst/rstudio/addins.dcf.

Usage

use_addin(addin = "new_addin", open = rlang::is_interactive())

Arguments

addin

Name of the addin function, which should be defined in the R folder.

open

Open the newly created file for editing? Happens in RStudio, if applicable, or via utils::file.edit() otherwise.


r-lib/usethis documentation built on March 20, 2024, 8:51 p.m.