Is your feature request related to a problem? Please describe.
Building the pdf manual failed for me with this rather unhelpful message and backtrace:
devtools::build_manual(pkg = ".")
Error in `value[[3L]]()`:
! Failed to build manual
Run `rlang::last_trace()` to see where the error occurred.
Backtrace:
▆
1. └─devtools::build_manual(...)
2. └─base::tryCatch(...)
3. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. └─value[[3L]](cond)
Only after looking at the code of build_manual() and figuring out the command that it was trying to run via callr (R CMD Rd2pdf --force --output=pkg.BuildResults/pkg_0.0.1.pdf /scratch/dev/pkg) I got an actionable error from pdfTeX:
! LaTeX Error: File `inconsolata.sty' not found.
Describe the solution you'd like
It would be nice if the console error would bubble up to devtools so one could debug the problem much more speedily.
Is your feature request related to a problem? Please describe.
Building the pdf manual failed for me with this rather unhelpful message and backtrace:
Only after looking at the code of
build_manual()and figuring out the command that it was trying to run viacallr(R CMD Rd2pdf --force --output=pkg.BuildResults/pkg_0.0.1.pdf /scratch/dev/pkg) I got an actionable error from pdfTeX:Describe the solution you'd like
It would be nice if the console error would bubble up to
devtoolsso one could debug the problem much more speedily.