Closed ConYel closed 2 weeks ago
This is not cross compiling. Anyway,
3.752 Error in loadNamespace(x) : there is no package called ‘remotes’
means that you don't even have the remotes package installed. Install it first.
Yeap thank you for the correction, emulation is what docker uses.
Here it says it is installing it
RUN R -e 'install.packages("BiocManager", version = "${BIOCvrs}", lib="/usr/local/lib/R/library/"); \
install.packages("remotes", version = "2.5.0", dependencies=TRUE, lib="/usr/local/lib/R/library/")'
Error report above:
=> CACHED [3/6] RUN R -e 'install.packages("BiocManager", version = "${BIOCvrs}", lib= 0.0s
=> CACHED [4/6] COPY --chown=rstudio:rstudio ./install_packages.R /home/rstudio/ 0.0s
That does not mean anything, install.packages()
does not fail if the installation fails. Also, make sure that you are actually using that library.
In any case, this is clearly not a problem with the remotes package, so I am going to close this issue.
Np, thank you for the fast response.
Hello and thank you for this very useful package. I am trying to create a docker image for amd64 and arm64 machines (as we need reproducibility between users of the lab). My laptop is amd64 but with docker there is this possibility to cross-compile. Unfortunately on the arm64 side I get always the error:
The amd64 one is compiled and working properly. the Dockerfile:
install_packages.R script
I have tried many variations with
R -e ' remotes::install_version....
or with a script, changing position regarding where the library is installed etc but always the same issue. Do you experience this issue? Any information that could point me to find the actual issue would be helpful as currently I am stuck.Thanks!