We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
---
If some ---, still don't accept, but if none at all, then no chance of confusion, so lightparser could accept it?
Could lightparser add dummy yaml header?
In Quarto projects, it is common not to have yaml header in child docs..
Here is my workaround for now.
split_to_tbl2 <- function(file) { tryCatch( lightparser::split_to_tbl(file), error = function(e) { tmp <- withr::local_tempfile( lines = c( "---", "title: dummy", "---", readLines(file, warn = FALSE) ) ) lightparser::split_to_tbl(tmp) } ) }
Also would be great to add warn = FALSE to call to readLines() to avoid warning on missing final lines.
warn = FALSE
readLines()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If some
---
, still don't accept, but if none at all, then no chance of confusion, so lightparser could accept it?Could lightparser add dummy yaml header?
In Quarto projects, it is common not to have yaml header in child docs..
Here is my workaround for now.
Also would be great to add
warn = FALSE
to call toreadLines()
to avoid warning on missing final lines.The text was updated successfully, but these errors were encountered: