Thank you for the nice documentation of the pophelper.
I am having a problem with installing the pophelper package. I am using Rstudio and the version of R is 3.4.0. I have pasted the errors for you to have a look below.
I am badly need of your help on this.
Kind regards,
Manju
> install.packages(c("Cairo","devtools","ggplot2","gridExtra","gtable","tidyr"),dependencies=T)
Warning in install.packages :
dependency ‘BiocManager’ is not available
also installing the dependencies ‘ini’, ‘RCurl’, ‘packrat’, ‘checkmate’, ‘zoo’, ‘fontBitstreamVera’, ‘fontLiberation’, ‘e1071’, ‘desc’, ‘xopen’, ‘clisymbols’, ‘gh’, ‘rex’, ‘stringdist’, ‘igraph’, ‘highlight’, ‘rematch2’, ‘rsconnect’, ‘parsedate’, ‘rappdirs’, ‘whoami’, ‘brew’, ‘commonmark’, ‘hunspell’, ‘Formula’, ‘latticeExtra’, ‘acepack’, ‘htmlTable’, ‘TH.data’, ‘sandwich’, ‘diffobj’, ‘fontquiver’, ‘freetypeharfbuzz’, ‘gdtools’, ‘htmlwidgets’, ‘classInt’, ‘units’, ‘png’, ‘git2r’, ‘memoise’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’, ‘remotes’, ‘sessioninfo’, ‘usethis’, ‘covr’, ‘foghorn’, ‘gmailr’, ‘lintr’, ‘mockery’, ‘pingr’, ‘pkgdown’, ‘rhub’, ‘roxygen2’, ‘rversions’, ‘spelling’, ‘ggplot2movies’, ‘hexbin’, ‘Hmisc’, ‘mapproj’, ‘multcomp’, ‘vdiffr’, ‘rgeos’, ‘sf’, ‘svglite’, ‘egg’, ‘gapminder’
Warning in install.packages :
cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'
There are binary versions available but the source versions are later:
binary source needs_compilation
htmlTable 1.12 1.13 FALSE
vdiffr 0.2.3 0.3.0 TRUE
devtools 1.13.6 2.0.1 FALSE
Do you want to install from sources the package which needs compilation?
y/n: y
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/ini_0.3.1.tgz'
Content type 'application/x-gzip' length 10685 bytes (10 KB)
==================================================
downloaded 10 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/RCurl_1.95-4.11.tgz'
Content type 'application/x-gzip' length 889683 bytes (868 KB)
==================================================
downloaded 868 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/packrat_0.5.0.tgz'
Content type 'application/x-gzip' length 212986 bytes (207 KB)
==================================================
downloaded 207 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/checkmate_1.8.5.tgz'
Content type 'application/x-gzip' length 604407 bytes (590 KB)
==================================================
downloaded 590 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/zoo_1.8-4.tgz'
Content type 'application/x-gzip' length 908613 bytes (887 KB)
==================================================
downloaded 887 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/fontBitstreamVera_0.1.1.tgz'
Content type 'application/x-gzip' length 691079 bytes (674 KB)
==================================================
downloaded 674 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/fontLiberation_0.1.0.tgz'
Content type 'application/x-gzip' length 4526763 bytes (4.3 MB)
==================================================
downloaded 4.3 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/e1071_1.7-0.tgz'
Content type 'application/x-gzip' length 761247 bytes (743 KB)
==================================================
downloaded 743 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/desc_1.2.0.tgz'
Content type 'application/x-gzip' length 179131 bytes (174 KB)
==================================================
downloaded 174 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/xopen_1.0.0.tgz'
Content type 'application/x-gzip' length 19089 bytes (18 KB)
==================================================
downloaded 18 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/clisymbols_1.2.0.tgz'
Content type 'application/x-gzip' length 16787 bytes (16 KB)
==================================================
downloaded 16 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/gh_1.0.1.tgz'
Content type 'application/x-gzip' length 31077 bytes (30 KB)
==================================================
downloaded 30 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rex_1.1.2.tgz'
Content type 'application/x-gzip' length 98205 bytes (95 KB)
==================================================
downloaded 95 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/stringdist_0.9.5.1.tgz'
Content type 'application/x-gzip' length 537953 bytes (525 KB)
==================================================
downloaded 525 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/igraph_1.2.2.tgz'
Content type 'application/x-gzip' length 5888369 bytes (5.6 MB)
==================================================
downloaded 5.6 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/highlight_0.4.7.2.tgz'
Content type 'application/x-gzip' length 1797414 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rematch2_2.0.1.tgz'
Content type 'application/x-gzip' length 30650 bytes (29 KB)
==================================================
downloaded 29 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rsconnect_0.8.12.tgz'
Content type 'application/x-gzip' length 334847 bytes (326 KB)
==================================================
downloaded 326 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/parsedate_1.1.3.tgz'
Content type 'application/x-gzip' length 48156 bytes (47 KB)
==================================================
downloaded 47 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rappdirs_0.3.1.tgz'
Content type 'application/x-gzip' length 79569 bytes (77 KB)
==================================================
downloaded 77 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/whoami_1.2.0.tgz'
Content type 'application/x-gzip' length 21195 bytes (20 KB)
==================================================
downloaded 20 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/brew_1.0-6.tgz'
Content type 'application/x-gzip' length 98225 bytes (95 KB)
==================================================
downloaded 95 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/commonmark_1.7.tgz'
Content type 'application/x-gzip' length 301696 bytes (294 KB)
==================================================
downloaded 294 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/hunspell_3.0.tgz'
Content type 'application/x-gzip' length 2237141 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/Formula_1.2-3.tgz'
Content type 'application/x-gzip' length 161847 bytes (158 KB)
==================================================
downloaded 158 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/latticeExtra_0.6-28.tgz'
Content type 'application/x-gzip' length 2072202 bytes (2.0 MB)
==================================================
downloaded 2.0 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/acepack_1.4.1.tgz'
Content type 'application/x-gzip' length 74840 bytes (73 KB)
==================================================
downloaded 73 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/TH.data_1.0-9.tgz'
Content type 'application/x-gzip' length 8453288 bytes (8.1 MB)
==================================================
downloaded 8.1 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/sandwich_2.5-0.tgz'
Content type 'application/x-gzip' length 1320911 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/diffobj_0.1.11.tgz'
Content type 'application/x-gzip' length 644806 bytes (629 KB)
==================================================
downloaded 629 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/fontquiver_0.2.1.tgz'
Content type 'application/x-gzip' length 2255934 bytes (2.2 MB)
==================================================
downloaded 2.2 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/freetypeharfbuzz_0.2.5.tgz'
Content type 'application/x-gzip' length 1942085 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/gdtools_0.1.7.tgz'
Content type 'application/x-gzip' length 562375 bytes (549 KB)
==================================================
downloaded 549 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/htmlwidgets_1.3.tgz'
Content type 'application/x-gzip' length 762468 bytes (744 KB)
==================================================
downloaded 744 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/classInt_0.3-1.tgz'
Content type 'application/x-gzip' length 45374 bytes (44 KB)
==================================================
downloaded 44 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/units_0.6-2.tgz'
Content type 'application/x-gzip' length 1194360 bytes (1.1 MB)
==================================================
downloaded 1.1 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/png_0.1-7.tgz'
Content type 'application/x-gzip' length 351441 bytes (343 KB)
==================================================
downloaded 343 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/git2r_0.23.0.tgz'
Content type 'application/x-gzip' length 1943552 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/memoise_1.1.0.tgz'
Content type 'application/x-gzip' length 27154 bytes (26 KB)
==================================================
downloaded 26 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/pkgbuild_1.0.2.tgz'
Content type 'application/x-gzip' length 65163 bytes (63 KB)
==================================================
downloaded 63 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/pkgload_1.0.2.tgz'
Content type 'application/x-gzip' length 90970 bytes (88 KB)
==================================================
downloaded 88 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rcmdcheck_1.3.2.tgz'
Content type 'application/x-gzip' length 1430884 bytes (1.4 MB)
==================================================
downloaded 1.4 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/remotes_2.0.2.tgz'
Content type 'application/x-gzip' length 160321 bytes (156 KB)
==================================================
downloaded 156 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/sessioninfo_1.1.1.tgz'
Content type 'application/x-gzip' length 27483 bytes (26 KB)
==================================================
downloaded 26 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/usethis_1.4.0.tgz'
Content type 'application/x-gzip' length 423985 bytes (414 KB)
==================================================
downloaded 414 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/covr_3.2.1.tgz'
Content type 'application/x-gzip' length 181240 bytes (176 KB)
==================================================
downloaded 176 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/foghorn_1.0.2.tgz'
Content type 'application/x-gzip' length 64262 bytes (62 KB)
==================================================
downloaded 62 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/gmailr_0.7.1.tgz'
Content type 'application/x-gzip' length 108932 bytes (106 KB)
==================================================
downloaded 106 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/lintr_1.0.3.tgz'
Content type 'application/x-gzip' length 148880 bytes (145 KB)
==================================================
downloaded 145 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/mockery_0.4.1.1.tgz'
Content type 'application/x-gzip' length 31749 bytes (31 KB)
==================================================
downloaded 31 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/pingr_1.1.2.tgz'
Content type 'application/x-gzip' length 21895 bytes (21 KB)
==================================================
downloaded 21 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/pkgdown_1.3.0.tgz'
Content type 'application/x-gzip' length 304695 bytes (297 KB)
==================================================
downloaded 297 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rhub_1.0.2.tgz'
Content type 'application/x-gzip' length 802799 bytes (783 KB)
==================================================
downloaded 783 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/roxygen2_6.1.1.tgz'
Content type 'application/x-gzip' length 501881 bytes (490 KB)
==================================================
downloaded 490 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rversions_1.0.3.tgz'
Content type 'application/x-gzip' length 14519 bytes (14 KB)
==================================================
downloaded 14 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/spelling_2.0.tgz'
Content type 'application/x-gzip' length 29800 bytes (29 KB)
==================================================
downloaded 29 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/ggplot2movies_0.0.1.tgz'
Content type 'application/x-gzip' length 1248043 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/hexbin_1.27.2.tgz'
Content type 'application/x-gzip' length 682089 bytes (666 KB)
==================================================
downloaded 666 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/Hmisc_4.1-1.tgz'
Content type 'application/x-gzip' length 1798684 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/mapproj_1.2.6.tgz'
Content type 'application/x-gzip' length 79083 bytes (77 KB)
==================================================
downloaded 77 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/multcomp_1.4-8.tgz'
Content type 'application/x-gzip' length 626720 bytes (612 KB)
==================================================
downloaded 612 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/rgeos_0.4-2.tgz'
Content type 'application/x-gzip' length 5299572 bytes (5.1 MB)
==================================================
downloaded 5.1 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/sf_0.7-2.tgz'
Content type 'application/x-gzip' length 40900537 bytes (39.0 MB)
==================================================
downloaded 39.0 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/svglite_1.2.1.tgz'
Content type 'application/x-gzip' length 399894 bytes (390 KB)
==================================================
downloaded 390 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/egg_0.4.2.tgz'
Content type 'application/x-gzip' length 707351 bytes (690 KB)
==================================================
downloaded 690 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/gapminder_0.3.0.tgz'
Content type 'application/x-gzip' length 2031705 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/Cairo_1.5-9.tgz'
Content type 'application/x-gzip' length 289249 bytes (282 KB)
==================================================
downloaded 282 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/ggplot2_3.1.0.tgz'
Content type 'application/x-gzip' length 3179264 bytes (3.0 MB)
==================================================
downloaded 3.0 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/gridExtra_2.3.tgz'
Content type 'application/x-gzip' length 1077959 bytes (1.0 MB)
==================================================
downloaded 1.0 MB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/gtable_0.2.0.tgz'
Content type 'application/x-gzip' length 57162 bytes (55 KB)
==================================================
downloaded 55 KB
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.4/tidyr_0.8.2.tgz'
Content type 'application/x-gzip' length 586960 bytes (573 KB)
==================================================
downloaded 573 KB
The downloaded binary packages are in
/var/folders/63/mrh5t29j67g30n4k19w80b3h0000gn/T//RtmpWHIBap/downloaded_packages
installing the source packages ‘htmlTable’, ‘vdiffr’, ‘devtools’
trying URL 'https://cran.rstudio.com/src/contrib/htmlTable_1.13.tar.gz'
Content type 'application/x-gzip' length 174817 bytes (170 KB)
==================================================
downloaded 170 KB
trying URL 'https://cran.rstudio.com/src/contrib/vdiffr_0.3.0.tar.gz'
Content type 'application/x-gzip' length 91681 bytes (89 KB)
==================================================
downloaded 89 KB
trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.0.1.tar.gz'
Content type 'application/x-gzip' length 388953 bytes (379 KB)
==================================================
downloaded 379 KB
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018g.1.0/zoneinfo/Europe/Amsterdam'
* installing *source* package ‘htmlTable’ ...
** package ‘htmlTable’ successfully unpacked and MD5 sums checked
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (htmlTable)
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018g.1.0/zoneinfo/Europe/Amsterdam'
* installing *source* package ‘devtools’ ...
** package ‘devtools’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded
Warning: package ‘usethis’ was built under R version 3.4.4
* DONE (devtools)
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018g.1.0/zoneinfo/Europe/Amsterdam'
* installing *source* package ‘vdiffr’ ...
** package ‘vdiffr’ successfully unpacked and MD5 sums checked
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/freetypeharfbuzz/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/gdtools/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BH/include" -I/usr/local/include -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/freetypeharfbuzz/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/gdtools/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BH/include" -I/usr/local/include -fPIC -Wall -g -O2 -c compare.cpp -o compare.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/freetypeharfbuzz/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/gdtools/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BH/include" -I/usr/local/include -fPIC -Wall -g -O2 -c devSVG.cpp -o devSVG.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/freetypeharfbuzz/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/gdtools/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.4/Resources/library/BH/include" -I/usr/local/include -fPIC -Wall -g -O2 -c utils.cpp -o utils.o
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o vdiffr.so RcppExports.o compare.o devSVG.o utils.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/3.4/Resources/library/vdiffr/libs
** R
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/gdtools/libs/gdtools.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/gdtools/libs/gdtools.so, 6): Library not loaded: /opt/X11/lib/libcairo.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/gdtools/libs/gdtools.so
Reason: image not found
ERROR: lazy loading failed for package ‘vdiffr’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/vdiffr’
Warning in install.packages :
installation of package ‘vdiffr’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/63/mrh5t29j67g30n4k19w80b3h0000gn/T/RtmpWHIBap/downloaded_packages’
> devtools::install_github('royfrancis/pophelper')
Downloading GitHub repo royfrancis/pophelper@master
✔ checking for file ‘/private/var/folders/63/mrh5t29j67g30n4k19w80b3h0000gn/T/RtmpWHIBap/remotes127c798a198c/royfrancis-pophelper-3d6113d/DESCRIPTION’ (691ms)
─ preparing ‘pophelper’: (423ms)
✔ checking DESCRIPTION meta-information ...
Warning in as.POSIXlt.POSIXct(x, tz) :
unknown timezone 'zone/tz/2018g.1.0/zoneinfo/Europe/Amsterdam'
─ checking for LF line-endings in source and make files
─ checking for empty or unneeded directories
─ building ‘pophelper_2.2.7.tar.gz’
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018g.1.0/zoneinfo/Europe/Amsterdam'
* installing *source* package ‘pophelper’ ...
** R
** inst
** preparing package for lazy loading
Error: package or namespace load failed for ‘Cairo’:
.onLoad failed in loadNamespace() for 'Cairo', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Cairo/libs/Cairo.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/Cairo/libs/Cairo.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/Cairo/libs/Cairo.so
Reason: image not found
Error : package ‘Cairo’ could not be loaded
ERROR: lazy loading failed for package ‘pophelper’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/pophelper’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/63/mrh5t29j67g30n4k19w80b3h0000gn/T//RtmpWHIBap/file127c72982fb27/pophelper_2.2.7.tar.gz’ had non-zero exit status
> library(pophelper)
Error in library(pophelper) : there is no package called ‘pophelper’