Installing package error

Hi

I have issues with installing the Benchmarking package, this is the error i get.
Im using a Mac and have the desktop version.

If anyone could help me it would be great, i have no idea how to solve this problem..

There is a binary version available but the source version is later:
binary source needs_compilation
Benchmarking 0.26 0.29 FALSE

installing the source package ‘Benchmarking’

trying URL 'http://cran.rstudio.com/src/contrib/Benchmarking_0.29.tar.gz'
Content type 'application/x-gzip' length 137598 bytes (134 KB)

downloaded 134 KB

Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'default/Europe/Oslo'

  • installing source package ‘Benchmarking’ ...
    ** package ‘Benchmarking’ successfully unpacked and MD5 sums checked
    ** libs
    clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include" -fPIC -Wall -mtune=core2 -g -O2 -c RcppExports.cpp -o RcppExports.o
    clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include" -fPIC -Wall -mtune=core2 -g -O2 -c chol_down.cpp -o chol_down.o
    clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Rcpp/include" -fPIC -Wall -mtune=core2 -g -O2 -c outlier.cpp -o outlier.o
    outlier.cpp:47:21: error: expected ';' at end of declaration
    bool lav_ny_chol {false};
    ^
    ;
    1 error generated.
    make: *** [outlier.o] Error 1
    ERROR: compilation failed for package ‘Benchmarking’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Benchmarking’
    Warning in install.packages :
    installation of package ‘Benchmarking’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/sb/6q5b8d394cvgmh2v3x1tlxxc0000gn/T/RtmpQZilPw/downloaded_packages’

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.