Skip to content

New release? Old version of Rcpp blocking installation of precommit-hooks #612

@junoslukan

Description

@junoslukan

I was wondering if it would be possible to release a new version? The latest (released, not development) version includes Rcpp 1.0.13 in the renv.lock as its dependency. This version had a bug (see the note in release of 1.0.13-1 and the corresponding change log) which results in the following error upon pre-commit install-hooks:

    In file included from barrier.cpp:31:
    barrier.cpp: In function ‘SEXPREC** get_vector_ptr(SEXP)’:
    ../inst/include/Rcpp/r/compat.h:34:26: error: ‘VECTOR_PTR_RO’ was not declared in this scope; did you mean ‘VECTOR_PTR’?
       34 | # define RCPP_VECTOR_PTR VECTOR_PTR_RO
          |                          ^~~~~~~~~~~~~
    barrier.cpp:74:30: note: in expansion of macro ‘RCPP_VECTOR_PTR’
       74 |     return const_cast<SEXP*>(RCPP_VECTOR_PTR(x));                                                       // #nocov end
          |                              ^~~~~~~~~~~~~~~
    make: *** [/usr/lib64/R/etc/Makeconf:204: barrier.o] Error 1
    ERROR: compilation failed for package ‘Rcpp’

I noticed that since then, you have already updated dependencies, specifically in 5e64119 for Rcpp. However, version 0.4.3.9003 uses the problematic version of Rcpp and thus fails to install.

Additional context

  • My operating system is:
  • My project uses {renv}.
  • the output of packageVersion('renv'): ‘1.0.11’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions