Skip to content
Prev 6981 / 12125 Next

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

Is it possible this is a windows build issue? Based on the below, it seems
the InvalidUrlException only affects windows checks. These problems were
not present when radiant version 1.3.2 was submitted, else it wouldn't have
gotten on CRAN in the first place.

https://cran.r-project.org/web/checks/check_results_radiant.html

Version: 1.3.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'programming.Rmd' using rmarkdown
    `geom_smooth()` using formula 'y ~ x'
    `geom_smooth()` using formula 'y ~ x'
    pandoc.exe: Could not fetch http:/
netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css
    InvalidUrlException "http:/
netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" "URL must
be absolute"
    Error: processing vignette 'programming.Rmd' failed with diagnostics:
    pandoc document conversion failed with error 67
    --- failed re-building 'programming.Rmd'

    SUMMARY: processing the following file failed:
     'programming.Rmd'

    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-windows-ix86+x86_64
<https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/radiant-00check.html>
, r-release-windows-ix86+x86_64
<https://www.r-project.org/nosvn/R.check/r-release-windows-ix86+x86_64/radiant-00check.html>
, r-oldrel-windows-ix86+x86_64
<https://www.r-project.org/nosvn/R.check/r-oldrel-windows-ix86+x86_64/radiant-00check.html>

Version: 1.3.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'programming.Rmd' using rmarkdown
    `geom_smooth()` using formula 'y ~ x'
    `geom_smooth()` using formula 'y ~ x'
    Could not fetch http:/
netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css
    InvalidUrlException "http:/
netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" "URL must
be absolute"
    Error: processing vignette 'programming.Rmd' failed with diagnostics:
    pandoc document conversion failed with error 61
    --- failed re-building 'programming.Rmd'

    SUMMARY: processing the following file failed:
     'programming.Rmd'

    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT
<https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64-gcc10-UCRT/radiant-00check.html>
On Mon, May 17, 2021 at 9:40 PM Vincent Nijs <vnijs at ucsd.edu> wrote: