[R-pkg-devel] InvalidUrlException for fontawesome icons in Rmarkdown vignette

Vincent Nijs vn|j@ @end|ng |rom uc@d@edu
Sun May 16 08:16:06 CEST 2021


Hi,

I submitted a minor update to a package and ran into the vignette
warning/error shown. FYI the package change had nothing to do with the
vignette.

Flavor: r-devel-windows-ix86+x86_64
Check: re-building of vignette outputs, Result: WARNING
  Error(s) in re-building vignettes:
  --- re-building 'programming.Rmd' using rmarkdown
  pandoc.exe: Could not fetch
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css
<https://urldefense.com/v3/__https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css__;!!Mih3wA!QDKkOEM4b68jQTdP9_B69YPFnkWW3hUKU0TnKHzueExJp5xLhyR22STQL1kQ0BZLBY0$>
  InvalidUrlException "
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css
<https://urldefense.com/v3/__https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css__;!!Mih3wA!QDKkOEM4b68jQTdP9_B69YPFnkWW3hUKU0TnKHzueExJp5xLhyR22STQL1kQ0BZLBY0$>"
"URL must be absolute"
  Error: processing vignette 'programming.Rmd' failed with diagnostics:
  pandoc document conversion failed with error 67
  --- failed re-building 'programming.Rmd'

I have used the Rmarkdown header below for this package for a number of
years and it has never caused an issue. The URL is absolute and links
properly. The vignette also builds fine locally.

I'm stuck and hope you can shed some light on this problem.

Thanks,

Vincent

---
title: Programming with Radiant
author: "Vincent R. Nijs, Rady School of Management (UCSD)"
date: "`r Sys.Date()`"
output:
  rmarkdown::html_vignette:
    css:
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css
vignette: >
  %\VignetteIndexEntry{Programming with Radiant}
  %\VignetteEngine{knitr::rmarkdown}
  \usepackage[utf8]{inputenc}
---

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list