Creating self-contained reports from pkg/inst/ #11962
Replies: 1 comment 3 replies
-
Be sure to delete assets in |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am currently working to make reports of packages for the R Regulatory repository. To provide some example and provide some guidance on key aspects of how the reports can be generated we created a package at https://github.com/pharmar/riskreports
These reports are not meant (for the moment) to be modified by the user, but only run automatically in a validated image (docker or some similar technology) with a set of software and R packages to report information about a single R package. As such we use parametrized reports and not a template, in addition, as is meant to be generated in a virtual machine or other systems we are not using quarto projects.
The package provides a quarto document and a function to render it on several formats (HTML or gfm for web rendernig. We will also implement a PDF version of the report) using
quarto::quarto_render
. I'm filling this discussion to show my poor attempts to get this working, as indicated on #5765 (comment) . My attempts were made without quarto cli, but I think they are not related to quarto-r:Working on the
fix_workaround
branch and running:I see the following error (with quarto 1.7.13):
Note the key call using
output_file
:Beta Was this translation helpful? Give feedback.
All reactions