ctsit / redcapcustodian

Simplified, automated data management on REDCap systems
Other
12 stars 6 forks source link

Update render_report.R to support quarto files #118

Closed pbchase closed 1 year ago

pbchase commented 1 year ago

Addresses issues #117. This PR makes these changes:

Note that I introduce a backward compatibility issue by changing the syntax of render_report.R it no longer accepts a parameter name and no longer prefixes the report names with report/. Instead, it wants only the path to the report and the path must be relative to the project root.

This change will not introduce chaos in CTS-IT systems, because this updated render_report.R is already deployed internally in the 3 projects that were using render_report.R It could introduce chaos at other sites, but it's not clear we have any users outside of CTS-IT.