Message-ID: <53AD5069.9090100@statistik.tu-dortmund.de>
Date: 2014-06-27T11:07:21Z
From: Uwe Ligges
Subject: Listing Packages in Depends or Imports
In-Reply-To: <1403834407075.39663@uni.sydney.edu.au>
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
>