Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MarkdownReportsDev cannot be installed on older MAC where xcode is not available / why does it even require xcode? #95

Open
vertesy opened this issue Oct 22, 2020 · 0 comments

Comments

@vertesy
Copy link
Owner

vertesy commented Oct 22, 2020

library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package calledMarkdownReportsDev>   devtools::install_github(repo = "vertesy/MarkdownReportsDev")
Downloading GitHub repo vertesy/MarkdownReportsDev@HEADchecking for file/private/var/folders/c0/r1nv6hvs1h5dzz_xy2b1q9zc001rts/T/RtmpHzKrM6/remotes2f8d7d396ffe/vertesy-MarkdownReportsDev-7b4b718/DESCRIPTION...preparingMarkdownReportsDev:checking DESCRIPTION meta-information ...excluding invalid files
   Subdirectory 'man' contains invalid file names:MarkdownReportsDev-Ex.pdf’ ‘MarkdownReportsDev-Ex.timings’
     ‘man.log.md’
─  checking for LF line-endings in source and make files and shell scriptschecking for empty or unneeded directoriesbuildingMarkdownReportsDev_4.1.4.tar.gzWarning: invalid uid value replaced by that for user 'nobody'
   
Installing package into/Users/camilla.bosone/Library/R/4.0/library’
(aslibis unspecified)
* installing *source* packageMarkdownReportsDev...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Warning in system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :
  running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1
Error: .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
Execution halted
ERROR: lazy loading failed for packageMarkdownReportsDev* removing/Users/camilla.bosone/Library/R/4.0/library/MarkdownReportsDevError: Failed to install 'MarkdownReportsDev' from GitHub:
  (converted from warning) installation of package/var/folders/c0/r1nv6hvs1h5dzz_xy2b1q9zc001rts/T//RtmpHzKrM6/file2f8d45e7ccec/MarkdownReportsDev_4.1.4.tar.gzhad non-zero exit status
>   devtools::install_github(repo = "vertesy/MarkdownReportsDev")
Downloading GitHub repo vertesy/MarkdownReportsDev@HEADchecking for file/private/var/folders/c0/r1nv6hvs1h5dzz_xy2b1q9zc001rts/T/RtmpHzKrM6/remotes2f8d664dfc0/vertesy-MarkdownReportsDev-7b4b718/DESCRIPTION...preparingMarkdownReportsDev:checking DESCRIPTION meta-information ...excluding invalid files
   Subdirectory 'man' contains invalid file names:MarkdownReportsDev-Ex.pdf’ ‘MarkdownReportsDev-Ex.timings’
     ‘man.log.md’
─  checking for LF line-endings in source and make files and shell scriptschecking for empty or unneeded directoriesbuildingMarkdownReportsDev_4.1.4.tar.gzWarning: invalid uid value replaced by that for user 'nobody'
   
Installing package into/Users/camilla.bosone/Library/R/4.0/library’
(aslibis unspecified)
* installing *source* packageMarkdownReportsDev...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Warning in system2("/usr/bin/otool", c("-L", shQuote(DSO)), stdout = TRUE) :
  running command ''/usr/bin/otool' -L '/Library/Frameworks/R.framework/Resources/library/tcltk/libs//tcltk.so'' had status 1
Error: .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
Execution halted
ERROR: lazy loading failed for packageMarkdownReportsDev* removing/Users/camilla.bosone/Library/R/4.0/library/MarkdownReportsDevError: Failed to install 'MarkdownReportsDev' from GitHub:
  (converted from warning) installation of package/var/folders/c0/r1nv6hvs1h5dzz_xy2b1q9zc001rts/T//RtmpHzKrM6/file2f8d489db987/MarkdownReportsDev_4.1.4.tar.gzhad non-zero exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant