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

Vincent Nijs vn|j@ @end|ng |rom uc@d@edu
Wed May 19 20:49:00 CEST 2021


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 using ucsd.edu> wrote:

> I see the same issue come up on rhub and the issue has also started
> showing up for the previous version of the package. See results link below.
>
> https://cran.r-project.org/web/checks/check_results_radiant.html
>
> On Mon, May 17, 2021 at 6:10 AM Uwe Ligges <
> ligges using statistik.tu-dortmund.de> wrote:
>
>> Perhaps simply ask the CRAN crew to run the checks again, but as you do
>> not say which package this is about etc, we can hardly help.
>>
>> Best,
>> Uwe Ligges
>>
>> On 16.05.2021 08:16, Vincent Nijs wrote:
>> > 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://urldefense.com/v3/__https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css__;!!Mih3wA!RgyNlE6MVL47VVcjFz5JmMHpLjgnleTMV8PUzdHRhLsF840eotO4MEE4Up6Lwg$
>> > <
>> https://urldefense.com/v3/__https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css__;!!Mih3wA!QDKkOEM4b68jQTdP9_B69YPFnkWW3hUKU0TnKHzueExJp5xLhyR22STQL1kQ0BZLBY0$
>> >
>> >    InvalidUrlException "
>> >
>> https://urldefense.com/v3/__https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css__;!!Mih3wA!RgyNlE6MVL47VVcjFz5JmMHpLjgnleTMV8PUzdHRhLsF840eotO4MEE4Up6Lwg$
>> > <
>> 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://urldefense.com/v3/__https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css__;!!Mih3wA!RgyNlE6MVL47VVcjFz5JmMHpLjgnleTMV8PUzdHRhLsF840eotO4MEE4Up6Lwg$
>> > vignette: >
>> >    %\VignetteIndexEntry{Programming with Radiant}
>> >    %\VignetteEngine{knitr::rmarkdown}
>> >    \usepackage[utf8]{inputenc}
>> > ---
>> >
>> >       [[alternative HTML version deleted]]
>> >
>> > ______________________________________________
>> > R-package-devel using r-project.org mailing list
>> >
>> https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-package-devel__;!!Mih3wA!RgyNlE6MVL47VVcjFz5JmMHpLjgnleTMV8PUzdHRhLsF840eotO4MEEPPgZZbg$
>> >
>>
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list