Use of R internal entry points in packages IBDsim and timeSeries

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 1 14:52:32 CEST 2012


We see in R CMD check in current R-devel

* checking foreign function calls ... WARNING
Foreign function call(s) with ‘PACKAGE’ argument in a base package:
   .C("find_interv_vec", ..., PACKAGE = "base")

This is not part of the R API and will be removed shortly.

Your uses of it are in any case incorrect and dangerous (e.g. length() 
does not need to return an integer and might be NA: see its help page).

Please remove this from your code (and be aware that such calls are seen 
as prime facie evidence of copying from the R sources, which you have 
not acknowledged).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the Rmetrics-core mailing list