Skip to content

no_strip

Introduced in rv v0.19.0

By default, rv passes --strip and --strip-lib to R CMD INSTALL, which strips debug symbols from compiled shared objects to reduce their size. no_strip lists packages for which this stripping should be disabled, installing them without those flags.

This is useful if you need to debug a compiled package (e.g. with gdb or lldb) or are hitting a bug caused by stripping a package’s binary.

rproject.toml
[project]
name = "no strip"
r_version = "4.5"
repositories = [
{ alias = "PPM", url = "https://packagemanager.posit.co/cran/latest" },
]
dependencies = [
{ name = "archive", force_source = true },
]
no_strip = [
"archive",
]