Skip to content

Error: Failed to install 'chocR' from GitHub on Mac #1

Description

@Otoliths

Hi Irstea,
I encountered a bug installing the 'chocR' package on a Mac system. I guess it was due to a dependency on the package robustbase update. I'm looking forward to fixing the bug.

devtools::install_github("Irstea/chocR",build=TRUE,build_opts = c("--no-resave-data","--no-manual"),build_vignettes = TRUE)

ERROR: package installation failed
Error: Failed to install 'chocR' from GitHub:
System command 'R' failed, exit status: 1, stdout + stderr (last 10 lines):
E> In file included from /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include/Rcpp.h:57:
E> /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include/Rcpp/DataFrame.h:136:18: warning: unused variable 'data' [-Wunused-variable]
E> SEXP data = Parent::get__();
E> ^
E> 15 warnings and 14 errors generated.
E> make: *** [RcppExports.o] Error 1
E> ERROR: compilation failed for package ‘chocR’
E> * removing ‘/private/var/folders/1x/5mjvgdgx0m754gnfv6_dyxqm0000gn/T/RtmphFtMIc/Rinste5ae19e1cbf2/chocR’
E> -----------------------------------
E> ERROR: package installation failed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions