[R-pkg-devel] invalid file URI: 5%B
That fixed the issue. Thanks a lot Ivan and Enrico!
On Wed, 2 Feb 2022 at 11:07, Ivan Krylov <krylov.r00t at gmail.com> wrote:
On Wed, 2 Feb 2022 10:46:57 +0100 Vincent van Hees <vincentvanhees at gmail.com> wrote:
May I assume that this relates to a link inside my package vignette?
That's true.
My vignette has many links of various types. How can I find out which one is the problematic one?
Take a look at inst/doc/GGIR.html in the R CMD build output and search for "%5B".
For example, does %5B provide an indication of the location in the code or does it tell me the type of link (internal link to file, internal link to vignette section, or external url)?
Unfortunately, there's no indication of the location. According to the code of R CMD check (src/library/tools/R/QC.R in the R source code), "%5B" is the whole link. Apparently, a square bracket got wrongly interpreted as a link destination somewhere inside your document. Most likely, the link on line 1158 has an unnecessary "[": https://github.com/wadpac/GGIR/blob/master/vignettes/GGIR.Rmd#L1158 -- Best regards, Ivan