Re: [Rd] conflicting imports despite using importFrom in NAMESPACE

2013-06-05 Thread Jombart, Thibaut
ference to them explicitly using ':::'. Best Thibaut From: Martin Morgan [mtmor...@fhcrc.org] Sent: 05 June 2013 20:19 To: peter dalgaard Cc: Jombart, Thibaut; r-devel@r-project.org Subject: Re: [Rd] conflicting imports despite using importFrom in NAMES

Re: [Rd] conflicting imports despite using importFrom in NAMESPACE

2013-06-05 Thread Martin Morgan
On 06/05/2013 11:59 AM, peter dalgaard wrote: I'd suspect that the Imports: line in DESCRIPTION imports the full namespaces, including conflicting items, on top of importFrom items. Does it not help to use Depends: instead? I think of Imports: and Depends: as different -- presumably the end u

Re: [Rd] conflicting imports despite using importFrom in NAMESPACE

2013-06-05 Thread peter dalgaard
I'd suspect that the Imports: line in DESCRIPTION imports the full namespaces, including conflicting items, on top of importFrom items. Does it not help to use Depends: instead? -pd On Jun 5, 2013, at 18:48 , Jombart, Thibaut wrote: > > Dear all, > > It is my understanding that using 'impo

[Rd] conflicting imports despite using importFrom in NAMESPACE

2013-06-05 Thread Jombart, Thibaut
Dear all, It is my understanding that using 'importFrom' in the NAMESPACE of a package allows to avoid conflicts between different packages defining objects with identical names. However, I can still see conflicts while loading the package using 'library'. Here is a toy example, with a packa