On Thu, 6 Nov 2025, Iris Simmons wrote:

Hi,


I see Rf_lazy_duplicate was placed on the list of non-API C functions.

That is not quite right. Rf_lazy_duplicate was never in the API. Using
it in a package has been producing a NOTE in R CMD check for a while;
that NOTE has now been upgraded to a WARNING.

Is there going to be a replacement, or some alternative? None is
mentioned in Writing R Extensions.

It has been essentially a no-op since the change to reference counting
several years ago. So Rf_lazy_duplicate(x) is now essentially the same
as x.

Best,

luke



Thanks,
   Iris

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


--
Luke Tierney
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
   Actuarial Science
241 Schaeffer Hall                  email:   [email protected]
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu/

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to