In the open source book Geocompuation with R, the following input
`sf` objects can be plotted quickly with the base R function `plot()`;
is converted into this HTML output:
<code>sf</code> objects can be plotted quickly with the base R function <code><a href="[https://rdrr.io/pkg/terra/man/plot.html](view-source:https://rdrr.io/pkg/terra/man/plot.html)">plot()</a></code>;
I suspect this is an issue with the underlying downlit package but, after looking for hints there, think that here is a good place to open the issue because bookdown should allow overriding default autolinking behaviour I imagine.
In the open source book Geocompuation with R, the following input
is converted into this HTML output:
The link to
terra
's plot help pages is confusing here, as described in this issue: https://github.com/geocompx/geocompr/issues/924I suspect this is an issue with the underlying
downlit
package but, after looking for hints there, think that here is a good place to open the issue because bookdown should allow overriding default autolinking behaviour I imagine.[x] formatted your issue so it is easier for us to read?
[x] included a minimal, self-contained, and reproducible example?
The example is not minimal but is contained in a well established reproducible book: https://r.geocompx.org/
[x] pasted the output from
xfun::session_info('bookdown')
in your issue?[x] upgraded all your packages to their latest versions (including your versions of R, the RStudio IDE, and relevant R packages)?
[x] installed and tested your bug with the development version of the bookdown package using
remotes::install_github("rstudio/bookdown")
?