From ripley at stats.ox.ac.uk  Sun Feb 19 09:19:57 2017
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sun, 19 Feb 2017 08:19:57 +0000
Subject: [Rd] Registration of native routines
In-Reply-To: <1514271c-2d83-b373-fdb7-7052c3170112@stats.ox.ac.uk>
References: <1514271c-2d83-b373-fdb7-7052c3170112@stats.ox.ac.uk>
Message-ID: <9dc2a8bb-b324-f865-be05-499860562741@stats.ox.ac.uk>

On 14/02/2017 16:25, Prof Brian Ripley wrote:
> Registration of 'native routines' (entry points in compiled code loaded
> into R) has been available for over 14 years,

...

> (There are reports that the check in 'R CMD check' on Windows sometimes
> fails to detect use of registration.  This is being looked into:
> meanwhile say so in a CRAN submission if it happens to you.)

One instance has been resolved: for at least 5 years R CMD check for a 
package with compiled code has assumed commands 'nm' and (on Windows) 
'objdump' were on the PATH: these are also needed to detect use of 
registration.  There is now a warning if they are not found.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford



[Rd] Registration of native routines
Prof Brian Ripley