Skip to content

More breakage around Rf_list*() #1053

@eddelbuettel

Description

@eddelbuettel

CRAN reports that BioConductor package GOSemSim no longer installs.

I can confirm this with Rcpp 1.0.4.2 too:

In file included from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:135,
                 from /usr/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,
                 from ICmethod.cpp:1:
/usr/local/lib/R/site-library/Rcpp/include/Rcpp/lang.h:27:20: \  
   error: ‘Rf_list2’ is not a member of ‘Rcpp’; did you mean ‘Rcpp_list20’?
   27 | #define Rcpp_list2 Rf_list2
      |                    ^~~~~~~~
ICmethod.cpp:117:32: note: in expansion of macro ‘Rcpp_list2’
  117 |   res.attr("dimnames") = Rcpp::Rcpp_list2( id1_, id2_ );
      |                                ^~~~~~~~~~

This is presumably another side effect of #1014 just like #1048 was (which got fixed in #1049). I will take a look. I can also confirm that Rcpp 1.0.3 does not have the issue, so we regressed :-/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions