Skip to content

Cannot install package  #4

@doublezede

Description

@doublezede

Hi,
I'm trying to install the scalop package, using
R version 4.2.1
Platform: x86_64-apple-darwin19.6.0 (64-bit)
devtools::install_github("jlaffy/scalop")

But I get the following error:

* installing *source* package ‘scalop’ ...
** using staged installation
** libs
clang -I"/usr/local/Cellar/r/4.2.1/lib/R/include" -DNDEBUG  -I'/usr/local/lib/R/4.2/site-library/Rcpp/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include   -fPIC  -Wno-implicit-function-declaration  -c init.c -o init.o
clang -I"/usr/local/Cellar/r/4.2.1/lib/R/include" -DNDEBUG  -I'/usr/local/lib/R/4.2/site-library/Rcpp/include' -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include   -fPIC  -Wno-implicit-function-declaration  -c nd.c -o nd.o
nd.c:24:10: fatal error: 'S.h' file not found
#include "S.h"
         ^~~~~
1 error generated.
make: *** [nd.o] Error 1
ERROR: compilation failed for package ‘scalop’
* removing ‘/usr/local/lib/R/4.2/site-library/scalop’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/zs/_5szrr6j2zv3rm4r3xt4rhpxz58q7z/T//Rtmpbyuh0z/file71421bdf6ff0/scalop_1.1.0.tar.gz’ had non-zero exit status

Any idea what could explain this error?
Thank you for your help,
Kind regards,
Jenn

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