[R-pkg-devel] R CMD check works but with devtools::check() examples fail

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Thu May 16 12:08:04 CEST 2019


On Thu, May 16, 2019 at 10:56 AM Jack O. Wasey <jack using jackwasey.com> wrote:
> Agree with Dirk, and also you are running R CMD check on the current
> directory,

Why do you think so? Don't the lines below the "-- Building" header
mean that devtools/rcmdcheck is building the package?

G.

[...]
> > ── Building ─────────────────────────────────────────────────────────
> > rdtLite ──
> > Setting env vars:
> > ● CFLAGS    : -Wall -pedantic -fdiagnostics-color=always
> > ● CXXFLAGS  : -Wall -pedantic -fdiagnostics-color=always
> > ● CXX11FLAGS: -Wall -pedantic -fdiagnostics-color=always
> > ────────────────────────────────────────────────────────────────────────────────
> >      checking for file
> > ‘/Users/blerner/git/rdtLite.check/rdtLite.Rcheck/00_pkg_src✔  checking
> > for file
> > ‘/Users/blerner/git/rdtLite.check/rdtLite.Rcheck/00_pkg_src/rdtLite/DESCRIPTION’
> > ─  preparing ‘rdtLite’:
> > ✔  checking DESCRIPTION meta-information ...
> > ─  checking for LF line-endings in source and make files and shell scripts
> > ─  checking for empty or unneeded directories
> > ─  building ‘rdtLite_1.0.3.tar.gz’
> >
> > ── Checking ─────────────────────────────────────────────────────────
[...]


More information about the R-package-devel mailing list