EvaMaeRey / flipbookr

Presenting code step-by-step and side-by-side with its output
https://evamaerey.github.io/flipbookr/
Other
198 stars 20 forks source link

punctuation in comments #1

Open EvaMaeRey opened 5 years ago

EvaMaeRey commented 5 years ago

It seems that punctuations in code comments lead to flipbook breaking....
"Error in parse(text = x, srcfile = src) : :29:2: unexpected ')'" - at least parentheses.

EvaMaeRey commented 4 years ago

Example:
"cars %>% # (data hi).{><][]! ggplot()" %>% flipbookr::code_parse()

Error in stri_replace_first_regex(string, pattern, fix_replacement(replacement), : Error in {min,max} interval. (U_REGEX_BAD_INTERVAL)