Re: [R] setRefClass in package

2021-03-24 Thread Jeremie Juste
Hello, Many thanks for the reply. Indeed there was no scoping issue here. I was sloppy. Best regards, Jeremie On Wednesday, 24 Mar 2021 at 11:34, Duncan Murdoch wrote: > On 24/03/2021 9:06 a.m., Jeremie Juste wrote: >> Hello, >> I was wondering how to call a function outside a setRefClass but

Re: [R] setRefClass in package

2021-03-24 Thread Duncan Murdoch
On 24/03/2021 9:06 a.m., Jeremie Juste wrote: Hello, I was wondering how to call a function outside a setRefClass but inside the package without export it. Let me explain by means of an example. There are no scoping issues here: Your initialize method can see all local functions in the packa

Re: [R] setRefClass in package

2021-03-24 Thread Bert Gunter
I think this query fits better on r-package-devel rather than here. 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 Wed, Mar 24, 2021 at 6:07 AM Jeremie Juste

[R] setRefClass in package

2021-03-24 Thread Jeremie Juste
Hello, I was wondering how to call a function outside a setRefClass but inside the package without export it. Let me explain by means of an example. - in the file test-package/R/test.R ##' some description ##' ##' some details ##' @title test ##' @return sideeffect ##' @author Jeremie Juste ##'