Hi Barbara
Feel free to CC back to the list which dropped off.
On 16 May 2019 at 10:56, Barbara Lerner wrote:
| You are right --as-cran gives the same errors as devtools::check.? When
| it comes to running the examples, what is done differently with the
| as-cran flag?
Coarse level answer: we are asked to --as-cran per CRAN Repo Policy
Finer level answer: it sets a few more tests, does remote check etc pp which
is why it is not default. The fuller details are in the R manuals 'Writing R
Extensions' and (oddly) in Section 8 of 'R Internals' (bad title, makes it as
if we mortals were not supposed to look there) which details _all_ of the
_many_ environment variables that can be turned on and off.
From the top of my head, I am not sure why example would run/not run. That
has not happened to me in 20+ years of writing / using / binary building
packages. But I did not have time to dig -- could use/don't use suggested
packages, could be honor/disregards \dontrun{} or \donttest{} flags. You will
know your package better -- with some some digging I am sure you will get to
it.
Best, Dirk