I have a package (TSdbi) which provides end user functions that I export, and several utilities for plugin packages (e.g. TSMySQL) that I do not export because I do not intend them to be exposed to end users. I call these from the plugin packages using TSdbi::: but that now produces a note in the checks: * checking dependencies in R code ... NOTE Namespace imported from by a ?:::? call: ?TSdbi? See the note in ?`:::` about the use of this operator. :: should be used rather than ::: if the function is exported, and a package almost never needs to use ::: for its own functions. Is there a preferred method to accomplish this in a way that does not produce a note? Thanks, Paul
On Aug 28, 2013, at 11:15 AM, Paul Gilbert <pgilbert902 at gmail.com> wrote:> I have a package (TSdbi) which provides end user functions that I export, and several utilities for plugin packages (e.g. TSMySQL) that I do not export because I do not intend them to be exposed to end users. I call these from the plugin packages using TSdbi::: but that now produces a note in the checks: > > * checking dependencies in R code ... NOTE > Namespace imported from by a ?:::? call: ?TSdbi? > See the note in ?`:::` about the use of this operator. :: should be > used rather than ::: if the function is exported, and a package > almost never needs to use ::: for its own functions. > > Is there a preferred method to accomplish this in a way that does not produce a note? > > Thanks, > PaulPaul, See this rather lengthy discussion that occurred within the past week: https://stat.ethz.ch/pipermail/r-devel/2013-August/067180.html Regards, Marc Schwartz
Paul, this was discussed at length only a couple of days ago. See this thread: http://comments.gmane.org/gmane.comp.lang.r.devel/34100 If I follow you, I think a change has been made that doesn't NOTE if the use of `:::` is to packages for which you are also the maintainer. But read the thread as the change is mentioned in there somewhere. HTH G On 28 August 2013 10:15, Paul Gilbert <pgilbert902 at gmail.com> wrote:> I have a package (TSdbi) which provides end user functions that I export, > and several utilities for plugin packages (e.g. TSMySQL) that I do not > export because I do not intend them to be exposed to end users. I call these > from the plugin packages using TSdbi::: but that now produces a note in the > checks: > > * checking dependencies in R code ... NOTE > Namespace imported from by a ?:::? call: ?TSdbi? > See the note in ?`:::` about the use of this operator. :: should be > used rather than ::: if the function is exported, and a package > almost never needs to use ::: for its own functions. > > Is there a preferred method to accomplish this in a way that does not > produce a note? > > Thanks, > Paul > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Gavin Simpson, PhD