Closed CarmenTamayo closed 8 months ago
I think the important line is:
ld: library 'gfortran' not found
Could you try one of the solution here please? https://fortran-lang.org/en/learn/os_setup/install_gfortran/#macos
Please reach out to me on slack or to any mac user close to you if the instructions on this page do not speak to you.
Hi Hugo, thanks for your response, I followed the instructions to install gfortran, (from here https://github.com/fxcoudert/gfortran-for-macOS/releases), I restarted the session after but I'm still getting the error... maybe I've missed something
We had a look at this today. #102 is not solving this issue as for some reason, the Matrix
package is recompiled even for recent versions.
Digging a little bit more, we identified that the issue is that, even though it's installed, the gfortran
compiler location is not detected properly and R is looking for it in the wrong place.
For now I'm rendering the templates by disabling renv until a solution is found
Could you try to see if this solves your issue: https://github.com/coatless-mac/macrtools?
I followed the steps and installed macrtools, then restarted R and made sure I was using the latest version of {episoap}, then attempted to knit the transmissibility report, then it was stuck rendering on 5% [lockfile] for at least 30 mins, and then I received the following error message:
Execution halted rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/MASS: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/.renv-sandbox: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/cluster: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/parallel: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/tools: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/methods: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/boot: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/datasets: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/nnet: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/tcltk: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/utils: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/stats4: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/rpart: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/lattice: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/nlme: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/splines: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/grDevices: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/class: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/mgcv: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/codetools: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/spatial: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/graphics: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/foreign: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/compiler: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/Matrix: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/KernSmooth: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/base: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/stats: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/survival: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox/grid: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj/renv-sandbox: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//RtmpKXpLYj: Permission denied
Hah, this is great news! We're making progress!
You're now missing another system dependency: libsodium. You can follow the instructions in the error message (brew install libsodium
) to install it.
Hah, this is great news! We're making progress!
You're now missing another system dependency: libsodium. You can follow the instructions in the error message (
brew install libsodium
) to install it.
Okay I did this and it seems to work now! I tried several times and I was getting an error at some points but it seems to not be happening anymore... Thank you!!! Hopefully things are okay now moving forward
Just in case it's useful, I'm still getting this message even if the report is rendered:
[WARNING] Citeproc: citation Wallinga2007-hw not found
Output created: Untitled.html rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/MASS: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/.renv-sandbox: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/cluster: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/parallel: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/tools: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/methods: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/boot: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/datasets: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/nnet: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/tcltk: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/utils: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/stats4: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/rpart: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/lattice: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/nlme: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/splines: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/grDevices: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/class: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/mgcv: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/codetools: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/spatial: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/graphics: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/foreign: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/compiler: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/Matrix: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/KernSmooth: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/base: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/stats: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/survival: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox/grid: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL/renv-sandbox: Permission denied rm: /var/folders/m1/v1v927494mz7zfjcm_26598m0000gn/T//Rtmp8UKdTL: Permission denied
Closing as solved. More details are available in a recent blog post: https://github.com/epiverse-trace/epiverse-trace.github.io/pull/154.
Hello, I've been getting a very lengthy error message whenever I try to knit either of the templates (both in the main and severity branches), the file knits until it reaches 5% (5% [lockfile]), then the error message appears. I think the error has to do with {renv}, I've experienced similar errors before with this package.
This is the full error message: