Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in globalVariables(c("hue", "value", "chroma", "name", "x", "y", : could not find function "globalVariables" #17

Open
HenrikBengtsson opened this issue Sep 24, 2019 · 0 comments

Comments

@HenrikBengtsson
Copy link

Hi, when I R CMD check an in-house package 'MyPackage' of mine, I get:

checking whether the package can be loaded with stated dependencies ...Loading required package: TopDom
   Error in globalVariables(c("hue", "value", "chroma", "name", "x", "y",  : 
     could not find function "globalVariables"
   Error: package or namespace load failed forTopDom:
    unable to load R code in packagemunsellError: packageTopDomcould not be loaded
   Execution halted

I think the dependency on munsell' comes in via TopDom -> ggplot2, but not 100% sure. Eitherway, the above error goes away if fix 'munsell' to use importFrom(utils,globalVariables). BTW, that's the only solution I found to the problem. I'll send a PR next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant