ropensci / daiquiri

Data quality reporting for temporal datasets.
https://ropensci.github.io/daiquiri/
GNU General Public License v3.0
35 stars 2 forks source link

Report building fails when run from an rmarkdown or quarto document #7

Open phuongquan opened 2 years ago

phuongquan commented 2 years ago

When running daiquiri_report() or report_data() from an rmd/qmd file, get errors such as:

Duplicate chunk label 'unnamed-chunk-1'

or

Duplicate chunk label 'setup'

This appears to have started happening with version 1.0.2, which was updated to fix CRAN errors in Debian systems (6d5ddd77013d25d56efe3f7b6fcd5d5c0e90760f)

UPDATE: Version 1.0.3 partially solves this issue in that unlabelled chunks in a parent rmd/qmd file no longer cause an error, but a chunk labelled setup will still result in an error.

UPDATE: Version 1.1.1 now allows a chunk labelled setup in a parent rmd/qmd file without causing an error.

Current workarounds are:

phuongquan commented 2 years ago

@Analect is this the issue you were getting?