Skip to content
Prev 325917 / 398502 Next

Issue with Imports in NAMESPACE

Dear Duncan,

Excellent, thanks! 

Maybe this is worth a remark in a future version of "Writing R Extensions" (including that those "local copies" are not exported again with exportPattern("^[[:alpha:]]+")). 

Thanks!

S?ren

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Sent: 25. juni 2013 13:02
To: S?ren H?jsgaard
Cc: R hELP (r-help at stat.math.ethz.ch)
Subject: Re: [R] Issue with Imports in NAMESPACE
On 13-06-25 6:50 AM, S?ren H?jsgaard wrote:
The importFrom directive effectively makes local copies of those functions in your package (with the usual caveats that copies aren't as inefficient as you might think).  If you want to export them, you need to add them to the exports list.

Duncan Murdoch