Open HugoGit39 opened 1 year ago
Hi @HugoGit39,
Firstly, this is not an {emayili}
issue. It's a general R package installation issue.
Secondly, I am unable to reproduce the problem. Running the rocker/r-ver:4.2
Docker image (which is effectively R-4.2.3) I am able to install {emayili}
and all of its dependencies.
Thirdly, did you read the error message that you posted? Specifically:
ERROR: failed to lock directory ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.2’ for modifying
Try removing ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.2/00LOCK-triebeard’
Have you tried the suggestion?
Regards, Andrew.
Hi @datawookie
Yes Im aware that its not specifically a emayili issue :)...just trying to get some help.
I indeed have deleted the 00LOCK-triebeard folder...however when I try install emayili
again...the installation kinda freezes at trybeard
it seems:
Installing 'emayili' ...
[1/2] Installing urltools...
Installing package into ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
also installing the dependency ‘triebeard’
trying URL 'https://packagemanager.rstudio.com/all/latest/src/contrib/triebeard_0.4.1.tar.gz'
Content type 'binary/octet-stream' length 31206 bytes (30 KB)
==================================================
downloaded 30 KB
trying URL 'https://packagemanager.rstudio.com/all/latest/src/contrib/urltools_1.7.3.tar.gz'
Content type 'application/x-tar' length 135608 bytes (132 KB)
==================================================
downloaded 132 KB
* installing *source* package ‘triebeard’ ...
** package ‘triebeard’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I'/usr/lib/R/site-library/Rcpp/include' -I../inst/include -fpic -g -O2 -fdebug-prefix-map=/build/r-base-asoVQd/r-base-4.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c RcppExports.cpp -o RcppExports.o
Alright it worked but honestly no clue what went wrong. I got triebeard
installed properly and removed the 00LOCK-triebeard folder. However when I wanted to install emayili
...it gave me below message
So I tried remotes::install_github("datawookie/emayili")
....which worked :)
Installing package into ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘emayili ’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Yes Im aware that its not specifically a emayili issue :)...just trying to get some help.
Understood. But placing an issue on a specific repository is not the best way to do that. Rather post a question on StackOverflow. Or just Google the error message. If you Google "ERROR: failed to lock directory" you'll get back a lot of useful and relevant results.
WRT the error installing {emayili}
, what CRAN repository are you using?
Hi
I am trying to install emayili on an Ubuntu server with R version 4.2 but i get below error, how come? On my Win R4.3 emayili works perfectly.