-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
Error in yaml::yaml.load(i): Parser error #49
Comments
In the first call, library(kgrams)
package <- "kgrams"
rdname <- "preprocess"
topic <- "preprocess"
is_source <- FALSE
autotest:::get_fn_exs(package, rdname, topic, is_source)
#> Error in qstart[i]:qend[i]: Argomento NA/NaN Created on 2021-07-16 by the reprex package (v2.0.0) If you jump in the debugger and see how the code of the first example is preprocessed, you will notice that the output after preprocessing is invalid R code. Hope this helps |
@vgherard Thanks for this one - this particular 🐛 is definitely internal to I'll leave this issue open, and use this package as a test cast for the re-design. Thanks! |
Thank you @mpadge, looking forward for the next version then 😃. If I can help in any way, let me know! |
Here I'm trying
autotest::autotest_package()
onkgrams
(I'm using here the CRAN version for ease of reproducibility). It looks like it is failing to convert some of my examples to YAML, but the errors are somewhat cryptic. Might these be due to the fact that some of my examples contain infix operators (e.g.%|%
)? I recall having some problems also withpkgdown
for this reason.I will try to jump into the debugger to catch the culprit example(s?). Meanwhile, any idea on this?
Thanks,
Valerio
Created on 2021-07-16 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: