Skip to content

Commit 61c6b61

Browse files
author
luke
committed
Upgrade note for R_shallow_duplicate_attr to WARNING.
Also warn for R_duplicate_attr (not used in CRAN/BioC at this point). git-svn-id: https://svn.r-project.org/R/trunk@89039 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 1f22dde commit 61c6b61

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/NEWS.Rd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@
216216
\code{ENCLOS}, \code{Rf_isFrame}, \code{OBJECT},
217217
\code{SET_TYPEOF}, \code{ENVFLAGS}, \code{SET_ENVFLAGS},
218218
\code{SET_FORMALS}, \code{SET_BODY}, \code{SET_CLOENV},
219-
\code{STRING_PTR}, \code{DATAPTR}, \code{XTRUELENGTH}.
219+
\code{STRING_PTR}, \code{DATAPTR}, \code{XTRUELENGTH},
220+
\code{R_duplicate_attr}, \code{R_shallow_duplicate_attr}.
220221
221222
\item The deprecated macros \code{CHARACTER_DATA} and
222223
\code{CHARACTER_POINTER} now return \code{const} pointers since using

src/library/tools/R/sotools.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,8 @@ warnNonAPI <-
726726
"EXTPTR_PROT", "EXTPTR_PTR", "EXTPTR_TAG", "NAMED", "FRAME", "HASHTAB",
727727
"IS_S4_OBJECT", "BODY", "FORMALS", "CLOENV", "ENCLOS", "Rf_isFrame",
728728
"OBJECT", "SET_TYPEOF", "ENVFLAGS", "SET_ENVFLAGS", "SET_FORMALS",
729-
"SET_BODY", "SET_CLOENV", "STRING_PTR", "DATAPTR", "XTRUELENGTH")
729+
"SET_BODY", "SET_CLOENV", "STRING_PTR", "DATAPTR", "XTRUELENGTH",
730+
"R_shallow_duplicate_attr", "R_duplicate_attr")
730731

731732
## grDevices uses R_Home R_InputHandlers R_TempDir R_Visible R_cairoCdynload R_fopen R_gzclose R_gzgets R_gzopen R_isForkedChild Rf_envlength Rf_strIsASCII Rf_utf8towcs Rg_set_col_ptrs Ri18n_wcwidth addInputHandler do_X11 do_contourLines do_getGraphicsEventEnv do_getSnapshot do_playSnapshot do_saveplot locale2charset mbcsToUcs2 ptr_R_ProcessEvents
732733

0 commit comments

Comments
 (0)