Description Usage Arguments Details Value
Format code by replacing leading spaces with tabs to allow for block indentation
1 |
x |
A string containing source code |
For proper code generation, code that is autogenerated must be available for debugging when required.
To allow for this requirement, most of the code has to be indented in a format that the IDE in use would have indented it if it was written manually.
For this, spaces have to be tabbed as required by RStudio, our editor of choice (bias!!).
This utility function is used to format any custom code for the IDE and is purely for aesthetic purposes.
Properly indented source code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.