On Thu, 4 Dec 2025 at 17:08, <[email protected]> wrote:
>
> Dear package developers and affiliated people,
>
> I just noted a problem with an Rcpp-based package (cannot find
> R_ext/Callbacks.h):
>
> https://win-builder.r-project.org/S0C6dP4J5NLU/00install.out
>
> I admit that I don't know if it is a problem in Rcpp, R-devel or in the Rcpp
> example from RStudio.

TL;DR, this has been _fixed_. You can resubmit your package. Longer
explanation follows.

In the process of header cleanup that R Core has been addressing
lately, R_ext/Callbacks.h was dropped in R-devel [1], and packages
started to fail with the error you experienced, including all new
submissions linking to Rcpp. We are aware of that [2]. But it turns
out that this header has been restored for now [3], so packages won't
fail anymore.

It turns out that Rcpp introduced this include many many years ago,
and probably it was needed then looking at the ChangeLog, but it is
certainly not needed anymore, so we are removing it [4]. The next Rcpp
release is scheduled for January without this include, and then R Core
may safely remove it.

So thanks, Luke, for restoring it for now.

[1] 
https://github.com/r-devel/r-svn/commit/671453f7c085d503dff55b533797f58d789e5510
[2] https://github.com/RcppCore/Rcpp/issues/1417
[3] 
https://github.com/r-devel/r-svn/commit/679f14eebcb4030ee7339f2c8e40073a9d0edd5d
[4] https://github.com/RcppCore/Rcpp/pull/1418

Best,
-- 
Iñaki Úcar

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

Reply via email to