Closed dcgerard closed 8 years ago
Same with require(): https://github.com/kkdey/CountClust/blob/master/R/polarBarChart.R#L28
If you are going to submit to CRAN, they have it in their policy statement that the package shouldn't modify the global environment: https://cran.r-project.org/web/packages/policies.html#Source-packages
For example, https://github.com/kkdey/CountClust/blob/master/R/StructureGGplot.R#L61
See: http://r-pkgs.had.co.nz/namespace.html#search-path
You should either include functions from other packages in the NAMESPACE file or call them explicitly using::. Since you are using roxygen2, you can include
@importFrom
in the comments.