Use of deprecated {as.,is.,}real() functions in CRAN package fAsianOptions

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Feb 8 13:08:49 CET 2013


The message below was sent out on Jan 10/11.  These functions have now
been removed from R-devel and in most cases there are now check errors.
In all cases R CMD check in R-devel reports the problem.

Can we please have an update by March 1, the beginning of the countdown
to the release of R 3.0.0.

-------- Original Message --------
Functions real(), as.real() and is.real() have been 'deprecated' and
'for backwards compatibility only' for over 5 years now, but are still
used in your package (or something it calls, but I have tried to
eliminate those).  They now give formal warnings in R-patched and
R-devel, and will become defunct shortly, most likely for R 3.0.0 in a
couple of months.

R-devel CMD check --as-cran will report in the check output: it
seems the code concerned is not exercised in the package checks.

All that was needed was to use the 'double' versions.

Please submit an update to the package correcting this, to CRAN
following http://cran.r-project.org/web/packages/policies.html .

There may be other issues that need fixing: see the CRAN check logs at
http://cran.r-project.org/web/checks/check_results_NAME.html,
replacing NAME by the name of your package.



More information about the Rmetrics-core mailing list