Support for renv
profiles in setup-r
to retrieve R version from renv.lock
file
#951
Labels
renv
profiles in setup-r
to retrieve R version from renv.lock
file
#951
When using
renv
profiles, it would be great if we can retrieve the R version from one of the profiles' renv.lock files with thesetup-r
action. Currently I need to hardcode the R version. There is anrenv
argument in the workflow but it does not take into accountrenv
profiles since it only looks in the package directory for therenv.lock
file and not in therenv
folder:actions/setup-r/src/setup-r.ts
Lines 14 to 28 in e8c6069
An example of the lock files' location when using
renv
profiles:renv
folder, for example like this:The text was updated successfully, but these errors were encountered: