Displaying 1 result from an estimated 1 matches for "td1837236".
2012 Oct 05
1
avoid <<- in specific case
...39;m building a package (just for myself, for now) and run into R CMD
check telling me 'no visible binding for '<<-' assignment'.
(wording below)
Similar problem as in http://r.789695.n4.nabble.com/R-CMD-check-tells-me-no-visible-binding-for-global-variable-what-does-it-mean-td1837236.html
My question is:
Is there a way to avoid assigning the function to the global environment with <<- but still have it available? I know it is generally not good practice.
Or ist it OK in a case like this, and is there a way to avoid the notes from the rcmd check (make the function package...