From ligges at statistik.tu-dortmund.de  Fri Jun 27 13:07:21 2014
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Fri, 27 Jun 2014 13:07:21 +0200
Subject: [Rd] Listing Packages in Depends or Imports
In-Reply-To: <1403834407075.39663@uni.sydney.edu.au>
References: <1403834407075.39663@uni.sydney.edu.au>
Message-ID: <53AD5069.9090100@statistik.tu-dortmund.de>



On 27.06.2014 04:00, Dario Strbenac wrote:
> Hello,
>
> The Writing R Extensions manual gives confusing advice. Compare
>
> Packages listed in imports or importFrom directives in the NAMESPACE file should almost always be in ?Imports? and not ?Depends?.
>
> with
>
> Almost always packages mentioned in ?Depends? should also be imported from in the NAMESPACE file
>


Right. In the DESCRIPTION file, you should try to be in "Imports" only, 
but even you have to declare in "Depends", you still need to import with 
appropriate directives in the NAMESPACE file.

Best,
Uwe Ligges



> --------------------------------------
> Dario Strbenac
> PhD Student
> University of Sydney
> Camperdown NSW 2050
> Australia
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] Listing Packages in Depends or Imports
Uwe Ligges