Skip to content
Back to formatted view

Raw Message

Message-ID: <24420.58858.67891.614511@rob.eddelbuettel.com>
Date: 2020-09-18T16:52:58Z
From: Dirk Eddelbuettel
Subject: [R-pkg-devel] Dependency needs to be loaded manually even its specified in the package
In-Reply-To: <7ba6dbb0-c87a-9fbc-cb32-a116de8811c0@bsc.es>

On 18 September 2020 at 18:38, Nuria Perez-Zanon wrote:
| I am maintaining a package call CSTools which is aimed for 
| post-processing climate simulations.
[...]
|  ??? library(CSTools)
|  ??? library(qmap)

You never use library() in a package. Rather, you declare dependency
relationsships via DESCRIPTION (and likely NAMESPACE). See "Writing R
Extensions" for all the details.

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org