issue with installing package in R non-zero exit status

library(devtools)
install_github("nxskok/smmr",force = TRUE)
dyld: lazy symbol binding failed: Symbol not found: _utimensat
  Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _utimensat
  Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
  Expected in: /usr/lib/libSystem.B.dylib

/Library/Frameworks/R.framework/Resources/bin/INSTALL: line 34:  3367 Done                    echo 'tools:::.install_packages()'
      3368 Abort trap: 6           | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --no-echo --args ${args}
installation of package ‘/var/folders/qk/2f80v2113gl0395p4nkt9_640000gn/T//RtmpUkdH0u/file8ba11c09937/smmr_1.0.1.tar.gz’ had non-zero exit status

btw
its mac os
R version 4.0.2

Can you post post the complete message you get? I suspect you are omitting some important parts.

Thanks for the reply, I have pasted the completion message below


Downloading GitHub repo nxskok/smmr@HEAD
✓  checking for file ‘/private/var/folders/qk/2f80v2113gl0395p4nkt9_640000gn/T/RtmpgHz0nJ/remotes17a6577bcc37/nxskok-smmr-b5b23fc/DESCRIPTION’ ...
─  preparing ‘smmr’:
✓  checking DESCRIPTION meta-information ...
   Warning in file(con, "r") :
     cannot open file '/var/db/timezone/zoneinfo/+VERSION': No such file or directory
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘smmr_1.0.1.tar.gz’
   
Installing package into ‘/Users/raofu/Library/R/4.0/library’
(as ‘lib’ is unspecified)
dyld: lazy symbol binding failed: Symbol not found: _utimensat
  Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _utimensat
  Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libR.dylib (which was built for Mac OS X 10.13)
  Expected in: /usr/lib/libSystem.B.dylib

/Library/Frameworks/R.framework/Resources/bin/INSTALL: line 34:  6172 Done                    echo 'tools:::.install_packages()'
      6173 Abort trap: 6           | R_DEFAULT_PACKAGES= LC_COLLATE=C "${R_HOME}/bin/R" $myArgs --no-echo --args ${args}
installation of package ‘/var/folders/qk/2f80v2113gl0395p4nkt9_640000gn/T//RtmpgHz0nJ/file17a69c5bc0/smmr_1.0.1.tar.gz’ had non-zero exit status

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.