Re: [R-pkg-devel] no visible global function definition for ‘par’

2017-01-31 Thread Cathy Lee Gierke
Thank you. Makes sense. It is *very* helpful to have R CMD check provide that. Cathy Lee Gierke *“Darkness cannot drive out darkness: only light can do that. Hate cannot drive out hate: only love can do that.” * *“The arc of the moral universe is long, but it bends towards justice.”*

Re: [R-pkg-devel] no visible global function definition for ‘par’

2017-01-31 Thread Martin Maechler
> Dirk Eddelbuettel > on Mon, 30 Jan 2017 20:50:19 -0600 writes: > On 30 January 2017 at 09:58, Kevin Ushey wrote: > | The correct thing to do is indeed import any functions from any R packages > | you use, base or otherwise. The simplest fix, if you

Re: [R-pkg-devel] no visible global function definition for ‘par’

2017-01-30 Thread Cathy Lee Gierke
Thank you. That will be why I didn't see them previously. Helps my sanity ;-) Sent from my iPhone > On Jan 30, 2017, at 8:58 PM, Kevin Ushey wrote: > > Most importantly, this _is_ a recent-ish change in R CMD check. Previously, R > CMD check did not warn about missing

Re: [R-pkg-devel] no visible global function definition for ‘par’

2017-01-30 Thread Duncan Murdoch
On 30/01/2017 12:04 PM, Cathy Lee Gierke wrote: That is the obvious solution, but it doesn't seem correct: I have pdf included in the description, and namespace files, yet it is being called out. Additionally, aren't most of these pkgs in the packages included by default? And up until

Re: [R-pkg-devel] no visible global function definition for ‘par’

2017-01-30 Thread Kevin Ushey
Most importantly, this _is_ a recent-ish change in R CMD check. Previously, R CMD check did not warn about missing imports from 'base' R packages (that is, R packages distributed with R, having priority 'base'); now it correctly does. While packages with priority 'base' are loaded by default in

Re: [R-pkg-devel] no visible global function definition for ‘par’

2017-01-30 Thread Brian G. Peterson
The error you reference below is pretty clear, I think. You need to add imports for all the functions you're using from other packages.   See: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Speci fying-imports-and-exports Regards, Brian On Mon, 2017-01-30 at 10:39 -0600, Cathy Lee

[R-pkg-devel] no visible global function definition for ‘par’

2017-01-30 Thread Cathy Lee Gierke
Yes, that seemed to get rid of the NOTEbut it doesn't seem to make much difference other than that. i.e., it seems to process the same using CATkit vs CATkit_2.06.tar.gz! Here is the main error that I am getting. I just upgraded to the latest R version, fyi. Everything was fine, a few