Re: [R-pkg-devel] CRAN note: src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS

2018-08-20 Thread Georgi Boshnakov
Dirk and James, Many thanks for the detailed advice. Georgi From: R-package-devel [r-package-devel-boun...@r-project.org] on behalf of Balamuta, James Joseph [balam...@illinois.edu] Sent: 21 August 2018 02:44 To: r-package-devel@r-project.org Subject: R

Re: [R-pkg-devel] CRAN note: src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS

2018-08-20 Thread Balamuta, James Joseph
In short, the default Makevars{.win} file should be updated with: CXX_STD = CXX11 PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) c.f. https://github.com/RcppCore/RcppArmadillo/blob/58b11c738d31b9e8d9fa6b39e2290b2ac08aefc4/inst/sk

Re: [R-pkg-devel] CRAN note: src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS

2018-08-20 Thread Dirk Eddelbuettel
On 20 August 2018 at 22:14, Georgi Boshnakov wrote: | Hi, | | Recently the results page of my package on CRAN at | https://cran.r-project.org/web/checks/check_results_sarima.html, | started to show the NOTE below for some systems. | I am using Rcpp/RcppArmadillo without any manual interventions

[R-pkg-devel] CRAN note: src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS

2018-08-20 Thread Georgi Boshnakov
Hi, Recently the results page of my package on CRAN at https://cran.r-project.org/web/checks/check_results_sarima.html, started to show the NOTE below for some systems. I am using Rcpp/RcppArmadillo without any manual interventions on my side. Is it reasonable to expect that the NOTE will disapp

Re: [R-pkg-devel] New test in R-devel causes existing packages to fail: "Error: connections left open"

2018-08-20 Thread Uwe Ligges
My advise: Apparently you want to have communication via sockets to scala. So there should be a function that creates the connction and one tha closes the connection. Comparable to starting some parallel cluster and stopping it again. In the meantime, you can allow for all sorts of communicat