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.


usethis documentation built on Sept. 11, 2024, 5:29 p.m.