Skip to content
Prev 2929 / 12125 Next

[R-pkg-devel] Package builds, installs, and runs but does not pass devtools::check()

Thanks, Georgi.  I've changed my approach and now do what I gather is
recommended practice: put all external package names into the
"Imports" section of the DESCRIPTION file and then use the
fully-qualified names for functions from those packages, as:

    dplyr::select()

The "check" operation is still not entirely "happy" with me, but it
doesn't flag any errors, and the package builds and runs.

BTW, one source of "complaints" from "check()" is evidently the use of
NSE in the tidyverse functions.  For instance, the line:

    next_data_frame %>% dplyr::select(-amount,

generates the message:

    standardize_format: no visible binding for global variable ?amount?

where, of course, "amount" is one of the column headings in
"next_data_frame".  There seems to be no harm done by this, and I plan
to ignore such messages, but if there's some additional wisdom that
applies here, I'd be happy to receive it.

-- Mike


On Sun, Jul 15, 2018 at 12:05 AM, Georgi Boshnakov
<georgi.boshnakov at manchester.ac.uk> wrote: