Skip to content

Issues with Installation #6

Description

@smozaffari

Hi, I'm having issues with installation and have tried both options provided as well as installing from source. I would appreciate any ideas on what I'm missing. Thanks!

install_github("cnfoley/hyprcoloc", build_opts = c("--resave-data", "--no-manual"), build_vignettes = TRUE) Downloading GitHub repo cnfoley/hyprcoloc@HEAD checking for file ‘/private/var/folders/2k/0rmyhh4s40746mvb7gn6s5wm0000gp/T/Rtmp3oichY/remotesb1fc121c95d5/cnfoley-hyprcoloc-✔ checking for file ‘/private/var/folders/2k/0rmyhh4s40746mvb7gn6s5wm0000gp/T/Rtmp3oichY/remotesb1fc121c95d5/cnfoley-hyprcoloc-26ea595/DESCRIPTION’ ─ preparing ‘hyprcoloc’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ installing the package to build vignettes ----------------------------------- ─ installing *source* package ‘hyprcoloc’ ... ** using staged installation ** libs clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include' -I/usr/local/include -fPIC -Wall -g -O2 -Wall -pedantic -fdiagnostics-color=always -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/RcppEigenForward.h:26: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/RcppCommon.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/r/headers.h:62: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/platform/compiler.h:100: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:317:9: error: no member named 'signbit' in the global namespace using ::signbit; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:318:9: error: no member named 'fpclassify' in the global namespace using ::fpclassify; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:319:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'? using ::isfinite; ~~^ /usr/local/include/math.h:752:12: note: 'finite' declared here extern int finite(double) ^ In file included from RcppExports.cpp:4: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/RcppEigen.h:25: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/RcppEigen/include/RcppEigenForward.h:26: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/RcppCommon.h:30: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/r/headers.h:62: In file included from /Library/Frameworks/R.framework/Versions/4.1/Resources/library/Rcpp/include/Rcpp/platform/compiler.h:100: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:320:9: error: no member named 'isinf' in the global namespace using ::isinf; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:9: error: no member named 'isnan' in the global namespace using ::isnan; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'isnormal' in the global namespace using ::isnormal; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:9: error: no member named 'isgreater' in the global namespace using ::isgreater; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:9: error: no member named 'isgreaterequal' in the global namespace using ::isgreaterequal; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isless' in the global namespace using ::isless; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'islessequal' in the global namespace using ::islessequal; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:327:9: error: no member named 'islessgreater' in the global namespace using ::islessgreater; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:328:9: error: no member named 'isunordered' in the global namespace using ::isunordered; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:329:9: error: no member named 'isunordered' in the global namespace using ::isunordered; ~~^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:640:26: error: no template named 'numeric_limits' bool _FloatBigger = (numeric_limits<_FloatT>::digits > numeric_limits<_IntT>::digits), ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:640:60: error: no template named 'numeric_limits' bool _FloatBigger = (numeric_limits<_FloatT>::digits > numeric_limits<_IntT>::digits), ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:641:18: error: no template named 'numeric_limits' int _Bits = (numeric_limits<_IntT>::digits - numeric_limits<_FloatT>::digits)> ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:641:50: error: no template named 'numeric_limits' int _Bits = (numeric_limits<_IntT>::digits - numeric_limits<_FloatT>::digits)> ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:646:17: error: no template named 'numeric_limits' static_assert(numeric_limits<_FloatT>::radix == 2, "FloatT has incorrect radix"); ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:649:25: error: no template named 'numeric_limits' return _FloatBigger ? numeric_limits<_IntT>::max() : (numeric_limits<_IntT>::max() >> _Bits << _Bits); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [RcppExports.o] Error 1 ERROR: compilation failed for package ‘hyprcoloc’ ─ removing ‘/private/var/folders/2k/0rmyhh4s40746mvb7gn6s5wm0000gp/T/RtmpqjqdvP/Rinstb55a404e844e/hyprcoloc’ ----------------------------------- ERROR: package installation failed Error: Failed to install 'hyprcoloc' from GitHub: System command 'R' failed, exit status: 1, stdout & stderr were printed

`> sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] devtools_2.4.3 usethis_2.1.5

loaded via a namespace (and not attached):
[1] magrittr_2.0.2 pkgload_1.2.4 R6_2.5.1 rlang_1.0.2
[5] fastmap_1.1.0 tools_4.1.2 pkgbuild_1.3.1 sessioninfo_1.2.2
[9] cli_3.2.0 withr_2.4.3 ellipsis_0.3.2 remotes_2.4.2
[13] rprojroot_2.0.2 lifecycle_1.0.1 crayon_1.5.0 brio_1.1.3
[17] processx_3.5.2 purrr_0.3.4 callr_3.7.0 fs_1.5.2
[21] ps_1.6.0 curl_4.3.2 testthat_3.1.2 memoise_2.0.1
[25] glue_1.6.2 cachem_1.0.6 compiler_4.1.2 desc_1.4.0
[29] prettyunits_1.1.1`

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