[Rd] accessing hidden functions in testing code

2007-04-11 Thread Tony Plate
I'd like to be able to access unexported functions in the testing code for a package with a namespace. I know that one way to do this is to use the ":::" operator, but I'd prefer to avoid cluttering up my testing code with lots of repetitions of "myPackageName:::". One way I found to do this w

Re: [Rd] accessing "hidden" functions

2007-03-27 Thread Prof Brian Ripley
On Wed, 28 Mar 2007, Benilton Carvalho wrote: > Hi, > > (I tried looking for it, but I don't think it was discussed before... > or maybe I didn't use the correct keywords). > > I have a package (say, pkg1), which uses NAMESPACE. This package > contains a bunch of functions the are used internally,

[Rd] accessing "hidden" functions

2007-03-27 Thread Benilton Carvalho
Hi, (I tried looking for it, but I don't think it was discussed before... or maybe I didn't use the correct keywords). I have a package (say, pkg1), which uses NAMESPACE. This package contains a bunch of functions the are used internally, therefore they're not exported (say, internalFunc1).