Displaying 1 result from an estimated 1 matches for "file5434ebd1f95".
2019 Jul 05
0
parse() drops parse data when encountering `` (bug?)
...le name
getParseData(tstfile)
#> NULL
target_text2 <- "foo = 1 {r} foo = 2"
tstfile = srcfile(tempfile())
parse(text = target_text2,
keep.source = TRUE,
srcfile = tstfile)
#> Error in parse(text = target_text2, keep.source = TRUE, srcfile =
tstfile): /tmp/RtmpXuGaL1/file5434ebd1f95:1:9: unexpected '{'
#> 1: foo = 1 {
#> ^
getParseData(tstfile)
#> line1 col1 line2 col2 id parent token terminal text
#> 8 1 1 1 7 8 0 equal_assign FALSE
#> 1 1 1 1 3 1 3 SYMBOL TRUE foo
#> 3 1...