[R-pkg-devel] Error in globalVariables(".") : could not find function "globalVariables"
Anthony Ebert
anthonyebert at gmail.com
Tue Nov 7 01:11:31 CET 2017
Thank you Uwe Ligges!
I did a grep (including all sub-directories) for globalVariables in my
code. It is not in the code at all.
Could it be the generate_input function with it's "<<-" ?
https://github.com/AnthonyEbert/queuecomputer/blob/master/R/utils.R
It's not exported and it's not used internally by anything. I just use
it as a shortcut when debugging my code.
Best,
Anthony Ebert
On Mon, Nov 6, 2017 at 11:34 PM, Uwe Ligges
<ligges at statistik.tu-dortmund.de> wrote:
>
>
> 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