Closed david-cortes closed 2 years ago
You don't provide a concrete example, but in general, we expect some differences because devtools/pkgload shows you the development version of the docs, and we can't perfectly recreate what R does.
Here's an example, the issue is always the same for all packages:
From https://github.com/rstudio/rstudio/issues/11360
Steps to reproduce:
devtools::load_all()
.?<function name>
in the console.Expected behavior: should look the same as if the help page were loaded for a package installed through
install.packages
orR CMD INSTALL
.Actual behavior: function signatures and code examples are rendered differently when loaded through devtools.
Setup: devtools 2.4.3, R 4.2.0.