Closed moodymudskipper closed 3 years ago
data$nodes$label
wasn't escaped in build_nomnoml_code()
.
additionally :
works <- function() {
## comment
"foo[]"
foo[]
}
fails <- function() {
## "comment"
foo
}
flow_data(works, prefix = "##")
flow_data(fails, prefix = "##")
had to escape "
in add_comment_calls
another weird issue in regular comments :
works <-
function() {
if(cond1) {
# ,
if(cond2) {
foo
}
}
}
fails1 <-
function() {
if(cond1) {
# ,
# com
if(cond2) {
foo
}
}
}
fails2 <-
function() {
if(cond1) {
# ,
## com
if(cond2) {
foo
}
}
}
flow_data(works, prefix = "##")
flow_data(fails1, prefix = "##")
flow_data(fails2, prefix = "##")
seems to be solved by other fixes, I see nothing wrong with current local version
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Created on 2020-09-29 by the reprex package (v0.3.0)