Open Jelinek-J opened 2 years ago
Hi, I got this error. In my case it was triggered installing RiboseQC to a singularity container. I think it comes down to the call to rmarkdown::render here: https://github.com/ohlerlab/RiboseQC/blob/22ad7736a1f914e2e3c794c84807be909e89ccef/R/riboseqc.R#L107-L111
I think it could be solved by setting intermediate_dir
https://github.com/rstudio/rmarkdown/blob/main/R/render.R#L191-L193
When it isn't set, R will try to write to the rmd file location. As it is protected the process fails. Perhaps create an extra folder together with the plots folder?
If I install RiboseQC for all users (via
sudo R
) and then try to compute as a user (viaR
), then the computation fails:It can be temporary bypassed by computing via
sudo R
too (not secure), or by individual installation viaR
(inefficient if multiple users wants to use RiboseQC).