exampleROCK <-
rock::as.rock_source(c(
"Some example text,",
"and some more. [[look_a_code]]",
"And the end."));
### This can then be processed by other {rock}
### functions, for example:
rock::prettify_source(
exampleROCK
);
Run the code above in your browser using DataLab