runehaubo / lmerTestR

Repository for the R-package lmerTest
48 stars 9 forks source link

Cannot install the package in my Jupyter Notebook running in Google Colaboratory #45

Open pkmnsandy opened 3 years ago

pkmnsandy commented 3 years ago

I used this script install.packages("devtools") library(devtools) install_github("runehaubo/lmerTestR", dependencies = TRUE)

I got this messages Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified)

Downloading GitHub repo runehaubo/lmerTestR@HEAD

xfun (0.23 -> 0.24 ) [CRAN] dplyr (1.0.6 -> 1.0.7) [CRAN] broom (0.7.6 -> 0.7.7) [CRAN] Installing 3 packages: xfun, dplyr, broom

Installing packages into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified)

✔ checking for file ‘/tmp/RtmpAv42wQ/remotes270717ff3b31/runehaubo-lmerTestR-35dc588/DESCRIPTION’ ─ preparing ‘lmerTest’: ✔ checking DESCRIPTION meta-information ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘lmerTest_3.1-3.tar.gz’

Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified)

Warning message in i.p(...): “installation of package ‘/tmp/RtmpAv42wQ/file27074f6b073f/lmerTest_3.1-3.tar.gz’ had non-zero exit status”

I am not sure what does it mean by "...had non-zero exit status"

polarlicht commented 2 years ago

I had a similar problem (non-zero exit status). This might not help you but maybe other people that use Linux can profit from my answer. What worked for me was installing via the console:

sudo apt-get update -y
sudo apt-get install -y r-cran-lmertest