ggplot2 - R CMD check NOTEs on ggplot, subset, etc -


when using ggplot or subset, r cmd check command on package generates following notes:

* checking r code possible problems ... note foo: no visible binding global variable ‘bar’ 

for mock function such

foo <- function(dataframe) { subset(dataframe,bar>10) } 

that r cmd check section useful when forgetting usage of global variables in package. therfore i'd have clean.

is there possibility let r know of special nature of ggplot/subset?

that's reason note not warning or error - there's no automated way detect use of non-standard evaluation in function.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -