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:
in the parent rmd/qmd file, rename any chunks that are mentioned in the error with a unique label
When running
daiquiri_report()
orreport_data()
from an rmd/qmd file, get errors such as:or
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:
options(knitr.duplicate.label = "allow")
to a chunk at the top (see also https://bookdown.org/yihui/rmarkdown-cookbook/duplicate-label.html)