Unable to install sass package

Hi all. I'm trying to install sass in R 3.5.2 in order to install use the gt package, and keep coming up with the following error message. I was wondering if anyone else has encountered a similar problem or has any advice. Thanks in advance!

devtools::install_github("rstudio/sass")
Downloading GitHub repo rstudio/sass@master
:heavy_check_mark: checking for file ‘/private/var/folders/y8/295sb30n1kv1z2_z6rh_bdbw0000gn/T/RtmpGGjoVM/remotesc44a2503ad53/rstudio-sass-c3ba17c/DESCRIPTION’ ...
─ preparing ‘sass’:
:heavy_check_mark: checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Removed empty directory ‘sass/scripts’
─ building ‘sass_0.1.0.9000.tar.gz’

Installing package into ‘/Users/ianfolkert/Library/R/3.5/library’
(as ‘lib’ is unspecified)

  • installing source package ‘sass’ ...
    ** libs
    /Library/Frameworks/R.framework/Resources/share/make/shlib.mk:14: warning: overriding commands for target shlib-clean' Makevars:12: warning: ignoring old commands for target shlib-clean'
    clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./libsass/include -I/usr/local/include -fPIC -Wall -g -O2 -c compile.c -o compile.o
    In file included from compile.c:1:
    In file included from /Library/Frameworks/R.framework/Resources/include/R.h:55:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:66:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/wait.h:110:
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:196:2: error: unknown type name 'uint8_t'
    uint8_t ri_uuid[16];
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:197:2: error: unknown type name 'uint64_t'
    uint64_t ri_user_time;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:198:2: error: unknown type name 'uint64_t'
    uint64_t ri_system_time;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:199:2: error: unknown type name 'uint64_t'
    uint64_t ri_pkg_idle_wkups;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:200:2: error: unknown type name 'uint64_t'
    uint64_t ri_interrupt_wkups;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:201:2: error: unknown type name 'uint64_t'
    uint64_t ri_pageins;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:202:2: error: unknown type name 'uint64_t'
    uint64_t ri_wired_size;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:203:2: error: unknown type name 'uint64_t'
    uint64_t ri_resident_size;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:204:2: error: unknown type name 'uint64_t'
    uint64_t ri_phys_footprint;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:205:2: error: unknown type name 'uint64_t'
    uint64_t ri_proc_start_abstime;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:206:2: error: unknown type name 'uint64_t'
    uint64_t ri_proc_exit_abstime;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:210:2: error: unknown type name 'uint8_t'
    uint8_t ri_uuid[16];
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:211:2: error: unknown type name 'uint64_t'
    uint64_t ri_user_time;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:212:2: error: unknown type name 'uint64_t'
    uint64_t ri_system_time;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:213:2: error: unknown type name 'uint64_t'
    uint64_t ri_pkg_idle_wkups;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:214:2: error: unknown type name 'uint64_t'
    uint64_t ri_interrupt_wkups;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:215:2: error: unknown type name 'uint64_t'
    uint64_t ri_pageins;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:216:2: error: unknown type name 'uint64_t'
    uint64_t ri_wired_size;
    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:217:2: error: unknown type name 'uint64_t'
    uint64_t ri_resident_size;
    ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    make: *** [compile.o] Error 1
    ERROR: compilation failed for package ‘sass’
  • removing ‘/Users/ianfolkert/Library/R/3.5/library/sass’
    Error in i.p(...) :
    (converted from warning) installation of package ‘/var/folders/y8/295sb30n1kv1z2_z6rh_bdbw0000gn/T//RtmpGGjoVM/filec44a296358df/sass_0.1.0.9000.tar.gz’ had non-zero exit status

sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.4

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/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] usethis_1.4.0 devtools_2.0.1 edgeR_3.24.3 biomaRt_2.38.0 limma_3.38.3

loaded via a namespace (and not attached):
[1] Rcpp_1.0.1 locfit_1.5-9.1 lattice_0.20-38 prettyunits_1.0.2 ps_1.3.0 assertthat_0.2.1
[7] rprojroot_1.3-2 digest_0.6.18 R6_2.4.0 plyr_1.8.4 backports_1.1.3 stats4_3.5.2
[13] RSQLite_2.1.1 httr_1.4.0 ggplot2_3.1.0 pillar_1.3.1 rlang_0.3.1 progress_1.2.0
[19] curl_3.3 lazyeval_0.2.2 rstudioapi_0.9.0 data.table_1.12.0 callr_3.1.1 blob_1.1.1
[25] S4Vectors_0.18.3 Matrix_1.2-15 desc_1.2.0 stringr_1.4.0 RCurl_1.96-0 bit_1.1-14
[31] munsell_0.5.0 compiler_3.5.2 pkgconfig_2.0.2 BiocGenerics_0.26.0 pkgbuild_1.0.2 tidyselect_0.2.5
[37] tibble_2.1.1 IRanges_2.14.12 XML_3.99-0 crayon_1.3.4 dplyr_0.8.0.1 withr_2.1.2
[43] bitops_1.0-6 grid_3.5.2 gtable_0.3.0 DBI_1.0.0 magrittr_1.5 scales_1.0.0
[49] cli_1.1.0 stringi_1.4.3 fs_1.2.6 remotes_2.0.4 sleuth_0.30.0 Rhdf5lib_1.2.1
[55] tools_3.5.2 bit64_0.9-7 Biobase_2.40.0 glue_1.3.1 purrr_0.3.2 hms_0.4.2
[61] processx_3.2.1 pkgload_1.0.2 parallel_3.5.2 yaml_2.2.0 AnnotationDbi_1.42.1 colorspace_1.4-1
[67] rhdf5_2.24.0 sessioninfo_1.1.1 memoise_1.1.0

Sorry that you're experiencing this installation problem. I don't really have definitive answer for this, but could you try installing a slightly earlier version of sass with install_github("rstudio/sass@b1fe6bded12e6801e85cd2bcdf7b84fc5d4924c8"). Let me know if that works for you.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.