Nesvilab / FragPipeAnalystR

https://www.nesvilab.org/FragPipeAnalystR/
GNU General Public License v3.0
3 stars 1 forks source link

renv permission issue #1

Closed AimeeD90 closed 4 months ago

AimeeD90 commented 7 months ago

Maybe remove renv dependency? I tried to install to Rsudio server, it failed with folder access permission. I have no idea how to solve it. But it succeed after manually delete all renv related files from the package.

Error installing renv:

Error: ERROR: no permission to install to directory ‘/software/rserver/R-4.2.1/.cache/R/renv/library/FragPipeAnalystR-main-3ed95be1/R-4.2/x86_64-pc-linux-gnu’ Warning messages: 1: In system2(r, args, stdout = TRUE, stderr = TRUE) : running command ''R' --vanilla CMD INSTALL --no-multiarch -l '/software/rserver/R-4.2.1/.cache/R/renv/library/FragPipeAnalystR-main-3ed95be1/R-4.2/x86_64-pc-linux-gnu' '/tmp/RtmpkOH7df/renv_0.17.0.tar.gz' 2>&1' had status 1 2: Failed to find an renv installation: the project will not be loaded. Use renv::activate() to re-initialize the project. ** testing if installed package can be loaded from final location

Bootstrapping renv 0.17.0 --------------------------------------------------

hsiaoyi0504 commented 5 months ago

I think it should be ok when we release the tar.gz version. I can send you one to test.

hsiaoyi0504 commented 5 months ago

Or I am expecting users to install via renv::install("Nesvilab/FragPipeAnalystR") or install_github("Nesvilab/FragPipeAnalystR")