I am building a package in R.
The first function, is a ggplot function containing x and y for the definition of the x and y axis (aes(x,y))
.
After running the command devtools::check()
, I am receiving this message
"no visible binding for global variable 'x' "
even after adding @importFrom ggplot2 aes
I think that's because x and y are parameters for aes
, but I don't know how to solve it.