Open hadley opened 5 years ago
It looks like the error originates in the handling of the object created here:
I'm guessing the output format of roxygen2::roc_proc_text
has changed since the previous version.
Ah yes, the structure of the returned objects has totally changed — it's now documented in https://roxygen2.r-lib.org/articles/extending.html, and please let me know if anything isn't obvious.
The comments in that file mention that roxygen2::read_file()
isn't exported; it is now so you might be able to simplify some code.
We can use packageVersion("roxygen2")
to create an if
that handles this new structure. I'll look into read_file
but I think it will be fair straightforward anyway from what testing I have done already.
Is it ok for me to submit roxygen2 to CRAN, telling them that you're aware of the problem and are working on it?
Yes, I don't want to hold you up, it isn't core functionality in this package, and I think I can fix it fairly easily (once I find the time!)
Awesome, thanks! And please feel free to ping me if you get stuck and I can take a look.
We're planning to release roxygen2 in the very near future, so it would be wonderful if you could take a quick look at this.