configure_args
Similar to packages_env_vars, rv aims to powerfully install packages, with package specific configuration
available. Similar to R’s install.packages(),
rv allows you to set configure.args per package, but it additionally gives the ability to provide different configure.args per OS and arch.
Options
Section titled “Options”name- Name of the package for which the configure args impactargs- Theconfigure.argsfor the package compilationosoptional - Operating system for which to apply theconfigure.argsDefault: All
archoptional - The system architecture for which to apply theconfigure.argsDefault: All
Example
Section titled “Example”[project]name = "env vars"r_version = "4.5"repositories = [ { alias = "PPM", url = "https://packagemanager.posit.co/cran/latest" },]dependencies = [ { name = "foo", force_source = true }, { name = "bar", force_source = true },]
[project.configure_args]"foo" = [ { os = "macos", args = ["--some-flag"] }, { arch = "x86_64", args = ["--some-other-flag"] },]"bar" = [ { args = ["--this-flag"] }, { os = "macos", arch = "arm64", args = ["--that-flag"] },]