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)
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 |
New document in source editor of RStudio
These function only will work in a RStudio IDE