pkgdown
pkgdown copied to clipboard
Generate static html documentation for an R package
```r > pkgdown::build_site() ℹ The package `tidytemplate` is required. ✖ Would you like to install it? 1: Yes 2: No Selection: 1 Error: Cannot install packages: * tidytemplate: Can't find...
ideally test input would be an Rd fragment (not a folder)
Initial PR implementing functionality similar to that mentioned in #1373 Deployed here: https://625ecfe71b4b2d1ec74155ac--rococo-beijinho-f54560.netlify.app/ Overview of changes: * If a user supplies a file `versions.json` in their package's `pkgdown/assets` directory, when...
* [ ] Automatically set `quiet = TRUE` in tests so `expect_output()` can be removed * [ ] Automatically set `cran_dates: false` in tests * [ ] Define `html_fragment()` to...
Fix #2015 Maybe it could be more readable. :sweat_smile:
In `reprex::reprex()` and `knitr::spin()`, roxygen formatted comments get rendered as prose. It would be great if pkgdown did the same for examples. Concretely, I'm proposing users could write something like:...
Trying to set up the references section, and unsure what to add in the _pkgdown.yml file so the references section is comprehensive without explicitly listing all the functions that aren't...
Follow up on: https://github.com/r-lib/pkgdown/pull/1858. Vignettes that set a custom output prefix (instead of `##`) for example the empty string: ```r knitr::opts_chunk$set(comment = "") ``` This has the unexpected side-effect that...
At the moment to not have MathJax or to load a different version one needs to override the head.html template. Should it be easier to not include MathJax? E.g. providing...