Re: [R] R CMD check report error not finding function

2020-03-05 Thread Bert Gunter
... but this is the wrong list for such questions. Post on r-package-devel if you need further help. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Mar 5

Re: [R] R CMD check report error not finding function

2020-03-05 Thread Michael Dewey
Dear Ruben I do not think your export pattern matches .foo so that may be the problem. Michael On 05/03/2020 09:10, Ruben wrote: Dear R-help listers, I am creating a package for a friend using his scripts and I run into a problem when doing the check. Inside a macro created with gtools::defm

[R] R CMD check report error not finding function

2020-03-05 Thread Ruben
Dear R-help listers, I am creating a package for a friend using his scripts and I run into a problem when doing the check. Inside a macro created with gtools::defmacro(par1, expr= ... there is a call to stats::optim and the function for the optimization is called .foo(), which is listed as one o