[R-pkg-devel] Problems with devtools::build() in R

Jarrett Phillips ph||||p@j@rrett1 @end|ng |rom gm@||@com
Wed May 17 01:06:44 CEST 2023


Hi Dirk,

I wonder if my problem is related to the question you posed about the CRAN
macOS builders being down. If it is, then according to @Simon Urbanek, this
should be resolved in a few hours.

Can you confirm?

Thanks.

Cheers,

Jarrett

On Tue, May 16, 2023 at 1:11 PM Dirk Eddelbuettel <edd using debian.org> wrote:

>
> On 16 May 2023 at 18:32, Serguei Sokol wrote:
> | Try to add in <your_package_dir>/src/Makevars:
> |
> | PKG_LIBS=$(FLIBS)
>
> Good catch. For every RcppArmadillo package we recommend (and inject if you
> use the RcppArmadillo.package.skeleton() helper) (and omit the earlier
> comment lines)
>
>   PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS)
>   PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
>
> Source file (with addded comments) is at
>
> https://github.com/RcppCore/RcppArmadillo/blob/master/inst/skeleton/Makevars
> or in your friendly neighborhood RcppArmadillo installation as
> system.file("skeleton", "Makevars", package="RcppArmadillo")
>
> Dirk
>
> --
> dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list