Skip to content

Fix R-devel check failures after R_typeToChar relocation and deprecation. - #61

Merged
t-kalinowski merged 2 commits into
mainfrom
fix/r-devel
Dec 5, 2025
Merged

Fix R-devel check failures after R_typeToChar relocation and deprecation.#61
t-kalinowski merged 2 commits into
mainfrom
fix/r-devel

Conversation

@t-kalinowski

@t-kalinowski t-kalinowski commented Dec 5, 2025

Copy link
Copy Markdown
Owner

This PR resolves the CRAN check failures traced to the relocation of R_typeToChar from Rinternals.h to Defn.h in r89057. The symbol was later marked non-API here.

quickr previously used R_typeToChar to preserve the distinction between S4 objects and plain “object” in error messages. Because the symbol is no longer available through public headers, this patch switches to the public Rf_type2char(TYPEOF(x)). This restores compatibility with current R-devel and clears the CRAN check failures, at the cost of losing the S4/plain-object nuance.

This is the minimal, CRAN-safe fix required ahead of the 2025-12-19 retention deadline.

@t-kalinowski
t-kalinowski merged commit c9a750e into main Dec 5, 2025
5 checks passed
@t-kalinowski
t-kalinowski deleted the fix/r-devel branch December 10, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant