etiennebacher / altdoc

Alternative to pkgdown to document R packages
https://altdoc.etiennebacher.com
Other
65 stars 9 forks source link

Better mechanisms to show rendering errors #189

Closed etiennebacher closed 9 months ago

etiennebacher commented 9 months ago

render_docs() showed that rendering plot2.Rd failed, but I had no information about why. This means that I had to do altdoc:::.rd2qmd("man/plot2.Rd", ".") and then quarto::quarto_render("plot2.qmd", output_format = "markdown") to see that the error was simply due to the fact that the package basetheme was not installed.

We should have an easier way to show errors when needed.

vincentarelbundock commented 9 months ago

What did you see with verbose=TRUE?

etiennebacher commented 9 months ago

Forgot we had that argument 😅