use_addin: Add minimal RStudio Addin binding

Description Usage Arguments

View source: R/addin.R

Description

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

Usage

1
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 Feb. 10, 2021, 5:08 p.m.