[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment v
From: |
Ricardo Wurmus |
Subject: |
Re: Wrapping an R script: how do I compose the R_LIBS_SITE environment variable? |
Date: |
Sun, 07 Feb 2021 08:11:27 +0100 |
User-agent: |
mu4e 1.4.14; emacs 27.1 |
divoplade <d@divoplade.fr> writes:
> Attached is an example of a script written in R that has non-trivial
> recursive dependencies.
Why don’t you use the r-build-system here?
> If you look at the package definition, you see that I call wrap-program
> in order to set the R_LIBS_SITE environment variable. The components of
> R_LIBS_SITE is the R dependencies of my package, and their recursive R
> dependencies. But I don't know how to get them.
The r-build-system has a procedure “generate-site-path” to generate
R_LIBS_SITE.
--
Ricardo