[R-pkg-devel] Error in globalVariables(".") : could not find function "globalVariables"

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon Nov 6 14:34:16 CET 2017



On 06.11.2017 07:51, Anthony Ebert wrote:
> Hello r-package-devel,
> 
> I have updated my R package queuecomputer from 0.8.1 to 0.8.2. The
> source code is here https://github.com/AnthonyEbert/queuecomputer .
> 
> I have checked queuecomputer-0.8.2 with rhub and win-builder with
> status OK for every platform.
> 
> After submission to CRAN I got an incoming check error.
> 
> https://github.com/AnthonyEbert/queuecomputer/blob/master/cran-comments.md
> 
>    ...
>    Error in library.dynam(lib, package, package.lib) :
>      DLL 'dplyr' not found: maybe not installed for this architecture?
>    ...

Ignore this, a race condition on the check sytsem.


> 
> I chose to ignore that and resubmit with exactly the same source code.
> I now get a NOTE in a different place, further along in the check.
> 
>    ...
>    * checking dependencies in R code ... NOTE
>    Error in globalVariables(".") : could not find function "globalVariables"

Can you grep for globalVariables in your code?
THis is from package utils and hence you may have to declare it.

Best,
Uwe Ligges




>    ...
>    * checking PDF version of manual ... OK
>    * DONE
>    Status: 1 NOTE
> 
> See https://win-builder.r-project.org/incoming_pretest/171106_065442_queuecomputer_082/00check.log
> for full output.
> 
> I don't use that function anywhere in queuecomputer. Is this something
> I should worry about? Or should I try again?
> 
> Thanks for your help! Much appreciated.
> 
> Anthony Ebert
> 
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list