Re: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update

2023-05-30 Thread Dominick Samperi
jor 4 >>> #> minor 3.0 >>> #> year 2023 >>> #> month 04 >>> #> day21 >>> #> svn rev84292 >>> #> language R >>> #> version.string R version 4.3

Re: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update

2023-05-30 Thread Dominick Samperi
; #> month 04 >> #> day21 >> #> svn rev84292 >> #> language R >> #> version.string R version 4.3.0 (2023-04-21 ucrt) >> #> nickname Already Tomorrow >> packageVersion("Rcpp") >> #> [1] &#x

Re: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update

2023-05-30 Thread Alexander Ilich
f Rcpp? From: Kevin Ushey Sent: Tuesday, May 30, 2023 3:02 PM To: Alexander Ilich Cc: Dominick Samperi ; rcpp-devel Subject: Re: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update I'm also not able to reproduce, but I see a different linker invocation: g++ -shared -static-libgcc -o sour

Re: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update

2023-05-30 Thread Kevin Ushey
2023 > #> month 04 > #> day21 > #> svn rev84292 > #> language R > #> version.string R version 4.3.0 (2023-04-21 ucrt) > #> nickname Already Tomorrow > packageVersion("Rcpp") > #> [1] '1.0

Re: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update

2023-05-30 Thread Alexander Ilich
peri Sent: Tuesday, May 30, 2023 2:27 PM To: rcpp-devel Subject: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update Looks like the recent update to R 4.3 broke Rcpp::sourceCpp. Here is a simple example... library(Rcpp) Rcpp::sourceCpp(code=' #include using namespace Rcpp; // [[Rcpp::e

Re: [Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update

2023-05-30 Thread Dirk Eddelbuettel
On 30 May 2023 at 14:27, Dominick Samperi wrote: | Looks like the recent update to R 4.3 broke Rcpp::sourceCpp. | | Here is a simple example... | | library(Rcpp) | Rcpp::sourceCpp(code=' |   #include |   using namespace Rcpp; |   // [[Rcpp::export()]] |   SEXP cpptest(NumericVector v) { |    

[Rcpp-devel] Rcpp::sourceCpp Problem with R 4.3 update

2023-05-30 Thread Dominick Samperi
Looks like the recent update to R 4.3 broke Rcpp::sourceCpp. Here is a simple example... library(Rcpp) Rcpp::sourceCpp(code=' #include using namespace Rcpp; // [[Rcpp::export()]] SEXP cpptest(NumericVector v) { return v; }' ) cpptest(1:5) This works without problems under R 4.2.3,