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

use_addin(addin = "new_addin", open = 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.