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

Code problems #3

Open
Enchufa2 opened this issue Feb 11, 2018 · 0 comments
Open

Code problems #3

Enchufa2 opened this issue Feb 11, 2018 · 0 comments

Comments

@Enchufa2
Copy link
Member

From R CMD check --as-cran:

* checking package dependencies ... NOTE 
Depends: includes the non-default packages: 
  ‘RColorBrewer’ ‘classInt’ ‘maptools’ ‘plyr’ ‘raster’ ‘rgdal’ ‘sp’  
Adding so many packages to the search path is excessive and importing 
selectively is preferable.
* checking dependencies in R code ... NOTE
Packages in Depends field not imported from:
  ‘RColorBrewer’ ‘classInt’ ‘maptools’ ‘plyr’ ‘raster’ ‘sp’
  These packages need to be imported from (in the NAMESPACE file)
  for when this namespace is loaded but not attached.

These packages should be Imports, not Depends.

* checking R code for possible problems ... NOTE
brks_color: no visible global function definition for ‘classIntervals’
get_dir : <anonymous>: no visible global function definition for ‘tail’
siane_map: no visible global function definition for ‘bind’
siane_map: no visible global function definition for ‘shift’
siane_map: no visible global function definition for ‘as’
siane_map: no visible global function definition for ‘proj4string<-’
siane_merge: no visible global function definition for ‘join’
stop_advices: no visible binding for global variable ‘value’
Undefined global functions or variables:
  as bind classIntervals join proj4string<- shift tail value
Consider adding
  importFrom("methods", "as")
  importFrom("utils", "tail")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
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