Skip to content

Many packages are broken on Mac with CRAN version of Rcpp -- unless 10.11 SDK is used as on CRAN #1060

Description

@wch

The CRAN version of httpuv will not build using the CRAN version of Rcpp, on Mac. Simple example:

install.packages("Rcpp")
install.packages("httpuv", type = "source")

(For more info, see rstudio/httpuv#260 (comment) and other comments in that issue.)

In that issue, I and others use the Mac system toolchain, but @kevinushey has tested with the CRAN recommended toolchain and ecountered the same problems.

I've learned that several other packages have similar problems: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2020-March/010412.html

In that discussion thread, it is claimed that these packages pass R CMD check on CRAN: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2020-March/010414.html

However, @jeroen has informed me that (A) CRAN does not have the resources to re-check downstream dependencies of new packages on Mac, and (B), it does not re-build the downstream dependencies either.

I don't know how I could confirm (A) from the public information that CRAN provides, but it is simple to confirm that (B) is true. These are the dates in https://www.r-project.org/nosvn/R.check/r-release-osx-x86_64/ :

  • Rcpp_1.0.4.tgz: 2020-03-18
  • httpuv_1.5.2.tgz: 2019-09-12
  • dplyr_0.8.5.tgz: 2020-03-08

These dates show that Rcpp's downstream dependencies were NOT rebuilt on Mac.

So from all this, I feel fairly confident that the CRAN version of Rcpp does actually break its downstream dependencies on Mac. I know that the issue is fixed in the development version of Rcpp, and I think that this is very strong reason to release a new version of Rcpp to CRAN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions