Utility functions to deploy functions and tests for addins

remedy_example(txt, addin, mark = entire_document)

scratch_file()

entire_document()

individual_lines()

set_text(txt = "", sec, mark)

Arguments

txt

character, text to place in temporary document

addin

function, addin function to deploy

mark

function, highlight using entire_document or individual_lines

sec

source editor context object

Value

New document in source editor of RStudio

Details

These function only will work in a RStudio IDE