{"action":"created","issue":{"url":"https://api.github.com/repos/STAT540-UBC/Discussion/issues/226","repository_url":"https://api.github.com/repos/STAT540-UBC/Discussion","labels_url":"https://api.github.com/repos/STAT540-UBC/Discussion/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/STAT540-UBC/Discussion/issues/226/comments","events_url":"https://api.github.com/repos/STAT540-UBC/Discussion/issues/226/events","html_url":"https://github.com/STAT540-UBC/Discussion/issues/226","id":301587387,"number":226,"title":"ERROR: compilation failed for package ...","user":{"login":"fransilvion","id":32565072,"avatar_url":"https://avatars3.githubusercontent.com/u/32565072?v=4","gravatar_id":"","url":"https://api.github.com/users/fransilvion","html_url":"https://github.com/fransilvion","followers_url":"https://api.github.com/users/fransilvion/followers","following_url":"https://api.github.com/users/fransilvion/following{/other_user}","gists_url":"https://api.github.com/users/fransilvion/gists{/gist_id}","starred_url":"https://api.github.com/users/fransilvion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fransilvion/subscriptions","organizations_url":"https://api.github.com/users/fransilvion/orgs","repos_url":"https://api.github.com/users/fransilvion/repos","events_url":"https://api.github.com/users/fransilvion/events{/privacy}","received_events_url":"https://api.github.com/users/fransilvion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-01T22:41:36Z","updated_at":"2018-03-04T01:17:28Z","closed_at":null,"author_association":"NONE","body":"Dear TAs! @emmagraham, @oganm, @janstett\r\n\r\nI am trying to install watermelon (OS Windows 10, R version 3.4.3):\r\n\r\n```\r\n>source('http://bioconductor.org/biocLite.R')\r\nBioconductor version 3.6 (BiocInstaller 1.28.0), ?biocLite for help\r\n>biocLite('wateRmelon')\r\n...\r\nWarning messages:\r\n1: running command '\"C:/PROGRA~1/R/R-34~1.3/bin/x64/R\" CMD INSTALL -l \"C:\\Users\\PC\\Documents\\R\\win-library\\3.4\" C:\\Users\\PC\\AppData\\Local\\Temp\\Rtmpqiuvc4/downloaded_packages/IlluminaHumanMethylation450kanno.ilmn12.hg19_0.6.0.tar.gz' had status 1 \r\n2: In install.packages(pkgs = doing, lib = lib, ...) :\r\n  installation of package ‘IlluminaHumanMethylation450kanno.ilmn12.hg19’ had non-zero exit status\r\n3: running command '\"C:/PROGRA~1/R/R-34~1.3/bin/x64/R\" CMD INSTALL -l \"C:\\Users\\PC\\Documents\\R\\win-library\\3.4\" C:\\Users\\PC\\AppData\\Local\\Temp\\Rtmpqiuvc4/downloaded_packages/lubridate_1.7.3.tar.gz' had status 1 \r\n4: In install.packages(update[instlib == l, \"Package\"], l, repos = repos,  :\r\n  installation of package ‘lubridate’ had non-zero exit status\r\n```\r\n\r\nSo I see that one of the problems is lubridate package. So I am trying to install it separately: \r\n```\r\n>install.packages('lubridate')\r\n...\r\nERROR: compilation failed for package 'lubridate'\r\n* removing 'C:/Users/PC/Documents/R/win-library/3.4/lubridate'\r\n* restoring previous 'C:/Users/PC/Documents/R/win-library/3.4/lubridate'\r\nIn R CMD INSTALL\r\nWarning in install.packages :\r\n  running command '\"C:/PROGRA~1/R/R-34~1.3/bin/x64/R\" CMD INSTALL -l \"C:\\Users\\PC\\Documents\\R\\win-library\\3.4\" C:\\Users\\PC\\AppData\\Local\\Temp\\Rtmpqiuvc4/downloaded_packages/lubridate_1.7.3.tar.gz' had status 1\r\nWarning in install.packages :\r\n  installation of package ‘lubridate’ had non-zero exit status\r\n```\r\nI tried to google it, people say that [problem might be with Rtools](https://support.rstudio.com/hc/en-us/community/posts/205133157-ERROR-compilation-failed-for-package-SparkR-). \r\nI downloded and installed it (Rtools34) and then checked if I have Rtools in my PATH:\r\n\r\n```\r\n>Sys.getenv(\"PATH\")\r\n\"C:\\\\Rtools\\\\bin;C:\\\\Program Files\\\\R\\\\R-3.4.3\\\\bin\\\\x64;C:\\\\RBuildTools\\\\3.4\\\\bin;C:\\\\RBuildTools\\\\3.4\\\\mingw_32\\\\bin;...\r\n```\r\nI checked if there is a make program:\r\n```\r\n>Sys.which(\"make\")\r\n                              make \r\n\"C:\\\\RBUILD~1\\\\3.4\\\\bin\\\\make.exe\"\r\n```\r\nSo maybe I am missing something here, but why I am still getting the same compilation error? (I restarted R studio and even my laptop after Rtools installation). \r\n\r\nThank you for your time!"},"comment":{"url":"https://api.github.com/repos/STAT540-UBC/Discussion/issues/comments/370193731","html_url":"https://github.com/STAT540-UBC/Discussion/issues/226#issuecomment-370193731","issue_url":"https://api.github.com/repos/STAT540-UBC/Discussion/issues/226","id":370193731,"user":{"login":"oganm","id":6352379,"avatar_url":"https://avatars1.githubusercontent.com/u/6352379?v=4","gravatar_id":"","url":"https://api.github.com/users/oganm","html_url":"https://github.com/oganm","followers_url":"https://api.github.com/users/oganm/followers","following_url":"https://api.github.com/users/oganm/following{/other_user}","gists_url":"https://api.github.com/users/oganm/gists{/gist_id}","starred_url":"https://api.github.com/users/oganm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oganm/subscriptions","organizations_url":"https://api.github.com/users/oganm/orgs","repos_url":"https://api.github.com/users/oganm/repos","events_url":"https://api.github.com/users/oganm/events{/privacy}","received_events_url":"https://api.github.com/users/oganm/received_events","type":"User","site_admin":false},"created_at":"2018-03-04T01:17:28Z","updated_at":"2018-03-04T01:17:28Z","author_association":"OWNER","body":"But before that, is your Rccp up to date?"}}
{"actor":{"display_login":"oganm"}}