Open HDash opened 2 months ago
rmarkdown::render encounters fatal error when trying to knit an Rmd file which contains downloadthis buttons with self_contained = TRUE.
rmarkdown::render
downloadthis
self_contained = TRUE
Error:
pandoc: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/downloadthis/assets/css/../webfonts/fa-v4compatibility.woff2: withBinaryFile: does not exist (No such file or directory) Error: ! pandoc document conversion failed with error 1 Backtrace: 1. EpiCompare::EpiCompare(...) 2. rmarkdown::render(...) 3. rmarkdown (local) convert(output_file, run_citeproc) 4. rmarkdown (local) convert_it(output) 5. rmarkdown (local) convert_fun(...) 6. rmarkdown:::stop2(...)
With some experimentation, I pinpointed the root cause to be missing files:
assets/css/../webfonts/fa-v4compatibility.woff2
assets/css/../webfonts/fa-v4compatibility.tff
These files are being referenced in the all.min.css, which likely invokes the missing file errors.
all.min.css
While they are present in the fontawesome 6.5.2 web kit, for some reason, they have not been included in the package's assets.
Hi,
I encountered the same error.
Is there any progress or workaround this issue?
Best, António
rmarkdown::render
encounters fatal error when trying to knit an Rmd file which containsdownloadthis
buttons withself_contained = TRUE
.Error:
With some experimentation, I pinpointed the root cause to be missing files:
assets/css/../webfonts/fa-v4compatibility.woff2
assets/css/../webfonts/fa-v4compatibility.tff
These files are being referenced in the
all.min.css
, which likely invokes the missing file errors.While they are present in the fontawesome 6.5.2 web kit, for some reason, they have not been included in the package's assets.