\dontrun{} is allowed by CRAN. If your package got rejected for using
\dontrun{} I would guess that maybe your example needs a package that
isn't in "Suggests" in your DESCRIPTION file. Even in \dontrun{} you
should still tell the user that certain packages may be needed to
access specific option
Whereas, I just had a CRAN submission fail for using \dontrun{} just once!
🙈
On Fri, Mar 7, 2025 at 06:47 McCrowey, Clinton via R-package-devel <
r-package-devel@r-project.org> wrote:
> I wrapped my examples in \dontrun{} and the CRAN maintainers never
> complained to me.
>
>
>
> Clinton Mccrowey
I wrapped my examples in \dontrun{} and the CRAN maintainers never complained
to me.
Clinton Mccrowey | Physical Scientist | U.S. Environmental Protection Agency -
Region III | Air and Radiation Division | Office Number: 14-202 | Air Quality
Analysis Branch | Philadelphia, PA | Mail Code: 3A