iuke-tier@ey m@iii@g oii uiow@@edu
2025-Nov-11 21:52 UTC
[Rd] Using STRING_PTR in a package now produces a WARNING in R-devel
R CMD check now produceS a WARNING if a package uses STRING_PTR. If
your use of the pointer is read-only then you can call STRING_PTR_RO
instead. If your code is writing to the string data then you will
need to change your code. The only supported way to modify string data
is to use SET_STRING_ELT. This restriction is necessary to preserve
the integrity of the memory management system.
Best,
luke
--
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 at uiowa.edu
Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu