Closed kzkedzierska closed 4 years ago
I just saw this example
library(annotater)
test_string <-c("library(boot)\nrequire(Matrix)")
writeLines(annotate_pckg_calls(test_string))
and that fixed it... :D The false Error was still there, but then another restart made it work. (I did restart RStudio after installing the package, so it wasn't the restart that fixed it I think). Nothing else left here to do I suppose.
thanks for the feedback. I tried and couldn't reproduce the error but I'll keep an eye out for any weird behaviors.
Hi again, I found the problem. That error comes up when you call the functions using the addins panel when your focus (blinking cursor) is on the console pane rather than on your script. I'll mention this in the documentation and work on writing a more useful warning.
Hiya!
I saw your package on Twitter and it looks amazing! Unfortunately, it does not work for me... I attach the error message and
sessionInfo()
details below. Let me know if there is anything else that might be useful.