-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
lines <- c("lala[^1]", "", "[^1]: pof")
temp_file <- withr::local_tempfile()
brio::write_lines(lines, temp_file)
tinkr::yarn$new(temp_file)$write(temp_file)
brio::read_lines(temp_file)
#> [1] "lala[^1][^1]" "" "[^1]: pof" "" ""
#> [6] ""
# second one
lines <- c("lala[^1] blabla", "", "[^1]: pof")
temp_file <- withr::local_tempfile()
brio::write_lines(lines, temp_file)
tinkr::yarn$new(temp_file)$write(temp_file)
brio::read_lines(temp_file)
#> [1] "lala[^1][^1] blabla" "" "[^1]: pof"
#> [4] "" "" ""
Created on 2023-02-23 with reprex v2.0.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working