You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup-renv/action.yaml
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,16 @@ author: 'Jim Hester'
4
4
inputs:
5
5
profile:
6
6
description: 'The renv profile that should be activated. Forwarded to `renv::activate()`. Must be an R expression. Note that it often needs to be quoted in YAML, see the README for details.'
7
+
default: 'NULL'
7
8
cache-version:
8
9
description: 'The version of the cache, change this from the default (1) to start over with a fresh cache'
9
-
required: true
10
10
default: 1
11
11
bypass-cache:
12
12
description: 'Whether attempts to cache should be completely skipped (for non GitHub testing). Set to `true` to skip.'
13
13
default: "false"
14
+
subdirectory:
15
+
description: 'To restore a renv.lock that is not in the repository root, set this to the folder containing the renv.lock to restore from.'
16
+
default: '.'
14
17
runs:
15
18
using: "composite"
16
19
steps:
@@ -24,6 +27,7 @@ runs:
24
27
if (!requireNamespace("renv", quietly=TRUE)) install.packages("renv")
0 commit comments