Dear Rolf,
utils::globalVariables() seems to work package wide. I prefer to ignore
these variable only within the function in which I explicitly define them.
If I use one of those variables in another function in which I haven't
declared them as global, then I want R CMD check to give me a NOTE.
On 27/05/15 23:37, Thierry Onkelinx wrote:
Dear Glenn,
Suppose this function
test <- function(df){
ggplot(df, aes(x = gp, y = y)) + geom_point()
}
Then R CMD check will consider gp and y as global variables since they are
undefined. Because R CMD check cannot detect that gp and y will be
ex
Dear Glenn,
Suppose this function
test <- function(df){
ggplot(df, aes(x = gp, y = y)) + geom_point()
}
Then R CMD check will consider gp and y as global variables since they are
undefined. Because R CMD check cannot detect that gp and y will be
extracted from df by ggplot2.
Possible workarou
This posting should probably go to the new R-package-devel mailing list
instead of R-help. If you do re-post there, you should give more
information to let people help you. We can see the errors, but we can't
see the source to your package, so it's hard to diagnose them. If your
source is online
Hello All,
I have two packages Bond Lab and the Companion to Investing in MBS. Bond Lab
clears the check and I am working on the on.load() to copy a needed directory
per Duncan Murdoch's advise to make Bond Lab CRAN-able. The companion passes
with two notes. The output is below:
I get two
5 matches
Mail list logo