yonicd / slickR

slick carousel htmlwidget for R
https://yonicd.github.io/slickR/
Other
159 stars 14 forks source link

[Docs] Cannot build pkgdown site #26

Closed Blackglade closed 4 years ago

Blackglade commented 4 years ago

I get the following error when trying to build a pkgdown site via build_site() with the plots.Rmd vignette:

Error : callr subprocess failed: package or namespace load failed for 'svglite' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Users/harshb/Desktop/pkgdown_scripts/renv/library/R-3.6/x86_64-apple-darwin15.6.0/systemfonts/libs/systemfonts.so':
  dlopen(/Users/harshb/Desktop/pkgdown_scripts/renv/library/R-3.6/x86_64-apple-darwin15.6.0/systemfonts/libs/systemfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
  Referenced from: /Users/harshb/Desktop/pkgdown_scripts/renv/library/R-3.6/x86_64-apple-darwin15.6.0/systemfonts/libs/systemfonts.so
  Reason: image not found
Error: callr subprocess failed: callr subprocess failed: package or namespace load failed for 'svglite' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Users/harshb/Desktop/pkgdown_scripts/renv/library/R-3.6/x86_64-apple-darwin15.6.0/systemfonts/libs/systemfonts.so':
  dlopen(/Users/harshb/Desktop/pkgdown_scripts/renv/library/R-3.6/x86_64-apple-darwin15.6.0/systemfonts/libs/systemfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
  Referenced from: /Users/harshb/Desktop/pkgdown_scripts/renv/library/R-3.6/x86_64-apple-darwin15.6.0/systemfonts/libs/systemfonts.so
  Reason: image not found
yonicd commented 4 years ago

the dev branch is more relevant for testing the new pkgdown.yml since it will be merged in a few days

yonicd commented 4 years ago

built using new PR https://github.com/metrumresearchgroup/slickR/commit/9c52f306a43a7f1984334e9fcfc956c3cb8fb6b8