- Previously the traceability matrix would error out if code file, documentation, and test file columns were all empty (#76).
- Added support for externally scored packages.
render_scorecard()
can now render a scorecard from a set of files created by an external scorer (i.e. something other thanscore_pkg()
). Note that they do not need to beR
packages (#70). - Exports in the traceability matrix that spanned more than one page (usually due to linking to many test files), are now split into and <export (cont.)> to ensure tables do not overflow into the footer (#73).
- Expanded support for linking methods to their documentation and relevant test files (#71).
- Due to a few text wrapping bugs in the traceability matrix, some packages would fail to render a scorecard. (#66)
- Other columns in the traceability matrix now indent when overflowing to the next line (#71)
- Due to a regression in the 0.4.0 release, an error was triggered when formatting the traceability matrix of a package with exports in its namespace that couldn't be mapped to a code file. (#65)
- Various table formatting improvements. The
traceability matrix
,R dependency versions
, andtest coverage
tables are now striped (each row
alternates in color) to help distinguish between rows for potentially large tables. (#58)
- Longer file paths and export names would occasionally overlap across columns. To address this, a text wrapping method was defined and additional cell padding was added. (#57)
- Renamed "Mitigation" section to "Comments" for added clarity. The term "mitigation" may cause misinterpretations, suggesting that a package deviated from expected results. This section can be used for any kind of additional explanatory notes. (#54)
- The template used by
render_scorecard_summary()
was incompatible with a Pandoc change in behavior introduced in version 3.1.7 and reverted in 3.1.10. (#51)
- Added new table to the appendix, displaying package dependency versions (#45).
add_traceability
defaults to'auto'
instead ofFALSE
inrender_scorecard()
. (#33)- New hex sticker (#48)
- Various traceability matrix fixes for capturing R exports and mapping to relevant tests and documentation. (#36, #42, #47)
- Fixed a bug in
flextable_formatted()
where the number of rows was being appended to the overall scores and metadata tables. This was due to a change inflextable
, and was introduced in version0.9.3
:as_flextable.data.frame()
always shows the number of rows even if less than 10. (#43) - Removed unused imports that were used during early development. (#44)
First official release
Exported functions:
score_pkg
: Generate scorecard metrics for packagerender_scorecard
: Take a JSON fromscore_pkg()
and render a pdfmake_traceability_matrix
: Create a Traceability Matrix for the purpose of appending to a scorecardrender_scorecard_summary
: Render PDF summary of scorecardssummarize_package_results
: Review important package metrics prior to runningrender_scorecard_summary()