Missing R Packages on macOSX

-------------------------------- general ---------------------------------
architecture: 64bit
system: Darwin
release: 17.7.0
version: Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
distribution: 10.13.6 x86_64
number of CPUs: 4
apparent login shell: zsh (current shell is csh)
shell RC file: .cshrc (exists)

--------------------- AFNI and related program tests ---------------------
which afni : /Users/turius/abin/afni
afni version : Precompiled binary macos_10.12_local: Sep 27 2018
: AFNI_18.2.19
AFNI_version.txt : AFNI_18.2.19, macos_10.12_local, Sep 27 2018
which python : /usr/bin/python
python version : 2.7.10
which R : /usr/local/bin/R
R version : R version 3.4.1 (2017-06-30) – “Single Candle”
which tcsh : /bin/tcsh

instances of various programs found in PATH:
afni : 1 (/Users/turius/abin/afni)
R : 1 (/Library/Frameworks/R.framework/Versions/3.4/Resources/bin/R)
python : 3
/usr/bin/python
/sw/bin/python2.7
/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
python2 : 1 (/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7)
python3 : 1 (/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin/python3.7)

testing ability to start various programs…
afni : success
suma : success
3dSkullStrip : success
uber_subject.py : success
3dAllineate : success
3dRSFC : success
SurfMesh : success
3dClustSim : success

checking for R packages…
rPkgsInstall -pkgs ALL -check : FAILURE
This package has been verified on the computer: afex
This package has been verified on the computer: phia
This package has been verified on the computer: snow
This package has been verified on the computer: nlme
This package has been verified on the computer: lme4
This package has been verified on the computer: paran
This package has been verified on the computer: psych
This package has been verified on the computer: brms

    Warning message:
    In as.POSIXlt.POSIXct(x, tz) :
      unknown timezone 'zone/tz/2018f.1.0/zoneinfo/Europe/Paris'

checking for $HOME files…
.afnirc : found
.sumarc : found
.afni/help/all_progs.COMP : found

------------------------------ python libs -------------------------------
++ module ‘PyQt4’ found at /usr/local/lib/python2.7/site-packages/PyQt4
++ module loaded: PyQt4

python binaries under /sw/bin:
/sw/bin/python (sym link to /sw/bin/python2.7)
/sw/bin/python2.7

-------------------------------- env vars --------------------------------
PATH = /usr/bin:/sw/bin:/sw/sbin:/Applications/freesurfer/bin:/Applications/freesurfer/fsfast/bin:/Applications/freesurfer/tktools:/Applications/freesurfer/mni/bin:/usr/local/opt/qt/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/turius/abin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/qt/bin

PYTHONPATH = /usr/local/lib/python2.7/site-packages

R_LIBS = /Users/turius/R

LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH = /Applications/freesurfer/lib/gcc/lib

DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =

------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : found TT_N27+tlrc under /Users/turius/abin

------------------------------ OS specific -------------------------------
which fink : /sw/bin/fink
fink version : Package manager version: 0.43.1
which brew : /usr/local/bin/brew
brew version : Homebrew 1.7.7

++ found ‘brew’ at /usr/local/bin/brew
++ found 1 dylib files under ‘/opt/X11/lib/flat_namespace’
– found ‘libXt’ dylib files:
/opt/X11/lib/flat_namespace/libXt.6.dylib
** env var DYLD_LIBRARY_PATH does not contain /opt/X11/lib/flat_namespace
(so afni and suma might fail)

========================= summary, please fix: =========================

  • login shell ‘zsh’, trusting user to translate from ‘tcsh’
  • missing R packages (see rPkgsInstall)
  • insufficient data for AFNI bootcamp
  • consider appending DYLD_LIBRARY_PATH with /opt/X11/lib/flat_namespace

I don’t see any particular missing R packages. I would not worry about it since all the major ones were successfully installed, and you should be fine.

I must have forgotten to mention that AFNI crashes!
++ AFNI is detached from terminal.
[turius@macbook-pro-di-*** ] [The X.Org Foundation v 11804000].
Fatal Signal 11 (SIGSEGV) received
ISQ_record_button
open_MCW_imseq
SPLASH_popup_image
AFNI_splashup
MAIN_workprocess
AFNI:main
Bottom of Debug Stack
** AFNI version = AFNI_18.2.19 Compile date = Sep 27 2018
** [[Precompiled binary macos_10.12_local: Sep 27 2018]]
** Program Death **

You currently have DYLD_LIBRARY_PATH set to /Applications/freesurfer/lib/gcc/lib. That variable needs to also contain /opt/X11/lib/flat_namespace. For use with zsh, those should be set in .zshenv. Either way, please set them in .cshrc.

  • rick