[R-pkg-devel] [External] Rf_lazy_duplicate moved to nonAPI
iuke-tier@ey m@iii@g oii uiow@@edu
iuke-tier@ey m@iii@g oii uiow@@edu
Thu Nov 6 04:37:09 CET 2025
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
>
> ______________________________________________
> R-package-devel using r-project.org 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: luke-tierney using uiowa.edu
Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu/
More information about the R-package-devel
mailing list