We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rf_list6()
Rcpp 1.0.4 no longer builds from source on R 3.3 because of a call to Rf_list6() that was added here:
d65f3c0#diff-c524021f4c8787893aa50c251e4c35d7R35
That is because list6() was added to R in this commit here, around R 3.4
list6()
wch/r-source@7199ea1#diff-b2ce19943acaccf93558f770778c4730
Compilation on R 3.3 gives:
* installing *source* package ‘Rcpp’ ... ** package ‘Rcpp’ successfully unpacked and MD5 sums checked ** libs g++ -I/opt/R/3.2.5/lib/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -g -O2 -c api.cpp -o api.o In file included from ../inst/include/RcppCommon.h:135:0, from ../inst/include/Rcpp.h:27, from api.cpp:24: ../inst/include/Rcpp/lang.h: In function ‘SEXPREC* Rcpp::Rcpp_list7(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’: ../inst/include/Rcpp/lang.h:45:55: error: ‘Rf_list6’ was not declared in this scope x0 = Rf_cons(x0, Rcpp_list6(x1, x2, x3, x4, x5, x6)); ^ ../inst/include/Rcpp/lang.h: In function ‘SEXPREC* Rcpp::Rcpp_lang7(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’: ../inst/include/Rcpp/lang.h:53:56: error: ‘Rf_list6’ was not declared in this scope x0 = Rf_lcons(x0, Rcpp_list6(x1, x2, x3, x4, x5, x6)); ^ make: *** [api.o] Error 1 /opt/R/3.2.5/lib/R/etc/Makeconf:143: recipe for target 'api.o' failed ERROR: compilation failed for package ‘Rcpp’
Rcpp could manually add list6() like purrr does https://github.com/tidyverse/purrr/blob/aa7bc7f6d9854a1f2d5869536af652322a4bf38b/src/utils.c#L29-L34
The text was updated successfully, but these errors were encountered:
That would be a bug if we promised support for R 3.3.0. I do not think we so.
Maybe you want to work on PR backfilling it? For reference it appears to have come from #1014.
Sorry, something went wrong.
Rcpp_list6()
Successfully merging a pull request may close this issue.
Rcpp 1.0.4 no longer builds from source on R 3.3 because of a call to
Rf_list6()
that was added here:d65f3c0#diff-c524021f4c8787893aa50c251e4c35d7R35
That is because
list6()
was added to R in this commit here, around R 3.4wch/r-source@7199ea1#diff-b2ce19943acaccf93558f770778c4730
Compilation on R 3.3 gives:
Rcpp could manually add
list6()
like purrr doeshttps://github.com/tidyverse/purrr/blob/aa7bc7f6d9854a1f2d5869536af652322a4bf38b/src/utils.c#L29-L34
The text was updated successfully, but these errors were encountered: