{"action":"closed","issue":{"url":"https://api.github.com/repos/RcppCore/Rcpp/issues/897","repository_url":"https://api.github.com/repos/RcppCore/Rcpp","labels_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/897/comments","events_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/897/events","html_url":"https://github.com/RcppCore/Rcpp/issues/897","id":356624009,"node_id":"MDU6SXNzdWUzNTY2MjQwMDk=","number":897,"title":"Installing Rcpp fails with \"no matching function for call to 'R_lsInternal'\" on macOS","user":{"login":"vojtajina","id":46647,"node_id":"MDQ6VXNlcjQ2NjQ3","avatar_url":"https://avatars1.githubusercontent.com/u/46647?v=4","gravatar_id":"","url":"https://api.github.com/users/vojtajina","html_url":"https://github.com/vojtajina","followers_url":"https://api.github.com/users/vojtajina/followers","following_url":"https://api.github.com/users/vojtajina/following{/other_user}","gists_url":"https://api.github.com/users/vojtajina/gists{/gist_id}","starred_url":"https://api.github.com/users/vojtajina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vojtajina/subscriptions","organizations_url":"https://api.github.com/users/vojtajina/orgs","repos_url":"https://api.github.com/users/vojtajina/repos","events_url":"https://api.github.com/users/vojtajina/events{/privacy}","received_events_url":"https://api.github.com/users/vojtajina/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-04T01:29:19Z","updated_at":"2018-09-04T01:49:12Z","closed_at":"2018-09-04T01:49:11Z","author_association":"NONE","body":"```r\r\n> install.packages(\"Rcpp\")\r\nInstalling package into ‘/usr/local/lib/R/3.5/site-library’\r\n(as ‘lib’ is unspecified)\r\ntrying URL 'https://cran.rstudio.com/src/contrib/Rcpp_0.12.18.tar.gz'\r\nContent type 'application/x-gzip' length 3809164 bytes (3.6 MB)\r\n==================================================\r\ndownloaded 3.6 MB\r\n\r\n* installing *source* package ‘Rcpp’ ...\r\n** package ‘Rcpp’ successfully unpacked and MD5 sums checked\r\n** libs\r\nclang++  -I\"/usr/local/Cellar/r/3.5.1/lib/R/include\" -DNDEBUG -I../inst/include/  -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/include   -fPIC  -g -O2  -c Date.cpp -o Date.o\r\nIn file included from Date.cpp:31:\r\nIn file included from ../inst/include/Rcpp.h:38:\r\n../inst/include/Rcpp/Environment.h:91:24: error: no matching function for call to 'R_lsInternal'\r\n                return R_lsInternal( env, all ? TRUE : FALSE ) ;\r\n                       ^~~~~~~~~~~~\r\n/usr/local/Cellar/r/3.5.1/lib/R/include/Rinternals.h:985:6: note: candidate function not viable: no known conversion from 'int' to 'Rboolean' for 2nd argument\r\nSEXP R_lsInternal(SEXP, Rboolean);\r\n     ^\r\n1 error generated.\r\nmake: *** [Date.o] Error 1\r\nERROR: compilation failed for package ‘Rcpp’\r\n* removing ‘/usr/local/lib/R/3.5/site-library/Rcpp’\r\nWarning in install.packages :\r\n  installation of package ‘Rcpp’ had non-zero exit status\r\n\r\nThe downloaded source packages are in\r\n\t‘/private/var/folders/7q/vd0ddv9n0b12yy_y48v2ygs00000gn/T/RtmpHkTg57/downloaded_packages’\r\n```\r\n\r\n\r\n```r\r\n> version\r\n               _                           \r\nplatform       x86_64-apple-darwin16.7.0   \r\narch           x86_64                      \r\nos             darwin16.7.0                \r\nsystem         x86_64, darwin16.7.0        \r\nstatus                                     \r\nmajor          3                           \r\nminor          5.1                         \r\nyear           2018                        \r\nmonth          07                          \r\nday            02                          \r\nsvn rev        74947                       \r\nlanguage       R                           \r\nversion.string R version 3.5.1 (2018-07-02)\r\nnickname       Feather Spray  \r\n```\r\n\r\nmacOS version: 16E195\r\n\r\nI even tried to install different clang and gfortran (using https://thecoatlessprofessor.com/programming/r-compiler-tools-for-rcpp-on-macos/).\r\n\r\n```r\r\n> Sys.getenv(\"PATH\")\r\n\"/usr/local/clang6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/opt/appleinternal/bin:/opt/apple/bin\"\r\n```\r\n\r\n```\r\n/usr/local/clang6/bin/clang++ --version\r\nclang version 6.0.0 (tags/RELEASE_600/final)\r\nTarget: x86_64-apple-darwin16.5.0\r\nThread model: posix\r\nInstalledDir: /usr/local/clang6/bin\r\n```\r\n\r\nWhat am I doing wrong? Thank you."}}
{"actor":{"display_login":"vojtajina"}}