Skip to content

v0.2.1

Compare
Choose a tag to compare
@mduncans mduncans released this 01 Nov 01:14
· 195 commits to main since this release
d47be9e

v0.2.1 - Elective footnotes

What's Changed

Full Changelog: v0.2.0...v0.2.1


Bugs Fixed

  • Untracked File Source Path: Fixed an issue where the source path of untracked source file in a git repository was not captured, leading to a blank source footnote without error messages.
  • Default Path for Console Sourced Scripts: Corrected the logic that previously defaulted to setting the source path to the current working directory when scripts were sourced from the console rather than the file sourced.
  • Source Tracking Warnings: Added a warning to the log if the source script is not tracked by git. The source footnote now displays "FILE NOT TRACKED BY GIT."
  • Accurate Source Path Detection: Enhanced the logic to correctly identify the source file being executed, regardless of the file open in the editor.

New Features

  • Elective Footnotes: Introduced more customizable options for handling footnotes, detailed in a new vignette: Elective footnotes.
  • Disable Footnotes: You can now disable footnotes entirely by setting add_footnotes = FALSE in build_report.
  • Footnote Management for Missing Metadata: Added the ability to add figures or tables without footnotes. If a table or figure lacks an associated metadata file, set footnotes_fail_on_missing_metadata = FALSE in build_report or add_footnotes to bypass errors and log warnings instead. These figures/tables will not get footnotes added.
  • Object Path Footnote: Added the ability to include an object path footnote to help trace the origin of tables or figures within a script. This feature can be enabled by setting include_object_path = TRUE in build_report or add_footnotes.