jakobbossek/smoof

package does not load

kevinwolz opened this issue · 3 comments

I am receiving this error when trying to load the package. Do you have any ideas on how to fix this?

Error: package or namespace load failed for ‘smoof’:
 .onLoad failed in loadNamespace() for 'tcltk', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/tcltk/libs/tcltk.so':
  dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/tcltk/libs/tcltk.so, 10): Library not loaded: /opt/X11/lib/libfontconfig.1.dylib
  Referenced from: /usr/local/lib/libtk8.6.dylib
  Reason: Incompatible library version: libtk8.6.dylib requires version 11.0.0 or later, but libfontconfig.1.dylib provides version 10.0.0

Session Info
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Mojave 10.14.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/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] checkmate_2.0.0 ParamHelpers_1.14 BBmisc_1.11 stringr_1.4.0 purrr_0.3.4 readr_1.4.0 viridis_0.5.1 viridisLite_0.3.0
[9] ggplot2_3.3.2 tidyr_1.1.2 dplyr_1.0.2

loaded via a namespace (and not attached):
[1] lubridate_1.7.9 RColorBrewer_1.1-2 tools_4.0.2 backports_1.1.10 R6_2.4.1 colorspace_1.4-1 withr_2.3.0
[8] tidyselect_1.1.0 gridExtra_2.3 compiler_4.0.2 parallelMap_1.5.0 scales_1.1.1 pkgconfig_2.0.3 rlang_0.4.7
[15] rstudioapi_0.11 generics_0.0.2 magrittr_1.5 Rcpp_1.0.5 munsell_0.5.0 lifecycle_0.2.0 stringi_1.5.3
[22] RJSONIO_1.3-1.4 plyr_1.8.6 grid_4.0.2 parallel_4.0.2 crayon_1.3.4 hms_0.5.3 pillar_1.4.6
[29] reshape2_1.4.4 fastmatch_1.1-0 glue_1.4.2 vctrs_0.3.4 gtable_0.3.0 tibble_3.0.3 ellipsis_0.3.1

This is related to #132. Once plot3D is not longer in Imports, there should be no error anymore.

Moved some packages to Suggests. I can install on my local machine. Closing this issue. Feel free to reopen if the error still occurs.

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

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

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

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

other attached packages:
[1] devtools_2.4.0 usethis_2.0.1

loaded via a namespace (and not attached):
 [1] magrittr_2.0.1    pkgload_1.2.1     R6_2.5.0          rlang_0.4.11
 [5] fastmap_1.1.0     tools_3.5.2       pkgbuild_1.2.0    sessioninfo_1.1.1
 [9] cli_2.5.0         withr_2.4.2       ellipsis_0.3.2    remotes_2.3.0
[13] rprojroot_2.0.2   lifecycle_1.0.0   crayon_1.4.1      processx_3.5.2
[17] purrr_0.3.4       callr_3.7.0       fs_1.5.0          ps_1.6.0
[21] testthat_3.0.2    memoise_2.0.0     glue_1.4.2        cachem_1.0.5
[25] compiler_3.5.2    desc_1.3.0        prettyunits_1.1.1