uabrc / uabrc/uabrc.github.io

Add suggestion to build packages from source when using renv

Open
#744 0 comments 0 reactions 1 assignee View on GitHub

@mdefende is already working on this.

Since Jun 13, 2024.

fix: inaccuracy ⚠️
Dominant language
Python
Stars
24
Forks
15
Avg merge
10d 3h
Merged PRs (30d)
1

Description

What is inaccurate?

Our current docs talk about using renv to install and manage packages. One key difference between it and the base install.packages command is that renv defaults to installing precompiled binaries instead of building directly from source like install.packages. This can cause hard to solve issues when installing some packages if they can't find the dependency headers they need. An example is trying to install the Matrix package. It will build correctly using install.packages in the latest R module since it's being built from source. However, the precompiled binary was built with base versions of LAPACK and BLAS, some linear algebra packages, that don't exist in the R module files on Cheaha. Instead, those modules automatically load OpenBLAS and ScaLAPACK which are used when building from source. Best suggestion is to build everything from source when installing packages using renv.

Where is the inaccuracy?

https://docs.rc.uab.edu/workflow_solutions/r_environments/#renv

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.