From jfox at mcmaster.ca  Fri Aug 23 03:54:26 2013
From: jfox at mcmaster.ca (John Fox)
Date: Thu, 22 Aug 2013 21:54:26 -0400
Subject: [Rd] legitimate use of :::
In-Reply-To: <20130823004158.GA14224@gray-ThinkPad-X200-Tablet>
References: <CANROs4dyoRyjoVHZLs7wDrFrjVX-1zvTTv2i4tBzF3f6Rx-XTA@mail.gmail.com>
	<5215F9BD.5030009@statistik.tu-dortmund.de>
	<52165F15.1090500@yorku.ca>
	<CABdHhvENvyTD6dPtbQzNaGqgwHNtV86juZh=5F7oBQSPJhO1Rw@mail.gmail.com>
	<BA069179-9E70-4CCE-BD8E-CCB01988B68E@muxspace.com>
	<CAP01uRnuo9kFwbDpmZrQhkF5Mo5EW5LZt623o6b7N7F804Rp0Q@mail.gmail.com>
	<ABEAF14C-9D05-4878-9A15-3FC9728C7951@muxspace.com>
	<521693A6.5030407@statistik.tu-dortmund.de>
	<CAJoaRhZ_fRG2vuUk-dkXa6JwG4zYK2eDDTzw4BXQJFmWxwV92Q@mail.gmail.com>
	<20130823004158.GA14224@gray-ThinkPad-X200-Tablet>
Message-ID: <web-470792921@cgpsrv2.cis.mcmaster.ca>

Dear Gray,

On Thu, 22 Aug 2013 19:41:58 -0500
 Gray <gray at clhn.co> wrote:
> Peter Meilstrup: (05:01PM on Thu, Aug 22)
> >One most often encounters namespace conflicts at the user level, when
> >loading two packages that have no logical connection other than both
> >bearing on your problem of the moment.
> 
> Unless I'm mistaken, you can reassign the hidden functions, ie
> 
> fna <- joespackage:::usefulfunction
> 
> fnb <- janespackage:::usefulfunction
> 

This will now generate a note from R CMD check and an objection from the CRAN administrators.

Best,
 John

> which is a little bit of a pain, but makes the user's code
> unambiguous.  This also works with two colons for explicitly exported
> functions.
> 
> -- 
> Gray Calhoun, Assistant Professor of Economics at Iowa State http://gray.clhn.co (web)
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] legitimate use of :::
John Fox