tests/testthat/parse_comments/spinning_code_chunk_headers-out.R

# A comment
a <- function() {

}

#+ chunk-label, opt1=value1
"chunk-content"

#- chunk-label, opt1=value1
call(2, 3)
# 21

Try the styler package in your browser

Any scripts or data that you put into this service are public.

styler documentation built on Aug. 29, 2023, 5:10 p.m.