Utility code to convert SLiM code into a form that can be parsed by R
(e.g. in styler
or prettycode
). Don't forget to re-SLiMify
afterwards (via slim_code_SLiMify
)!
slim_code_Rify(code_snippet)
SLiM code to Rify as a character vector
Rified code snippet