Closed AimeeD90 closed 4 months ago
I think it should be ok when we release the tar.gz version. I can send you one to test.
Or I am expecting users to install via renv::install("Nesvilab/FragPipeAnalystR")
or install_github("Nesvilab/FragPipeAnalystR")
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 locationBootstrapping renv 0.17.0 --------------------------------------------------
Installing renv 0.17.0 ... Done! 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/RtmppSMJmh/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 keeps a record of temporary installation path