File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,34 +16,22 @@ Forwarded to
1616[ ` renv::activate() ` ] ( https://rstudio.github.io/renv/reference/activate.html ) . It
1717must be an R expression. Note that you often need to quote it, see details
1818below.
19-
20- Basic:
21-
22- ``` yaml
23- steps :
24- - uses : actions/checkout@v3
25- - uses : r-lib/actions/setup-r@v2
26- - uses : r-lib/actions/setup-renv@v2
27- with :
28- profile : " 'shiny'"
29- ` ` `
30-
3119- ` cache-version ` - default ` 1 ` . If you need to invalidate the existing cache pass any other number and a new cache will be used.
3220
33- Basic :
21+ Example :
3422
3523``` yaml
3624steps :
3725- uses : actions/checkout@v3
3826- uses : r-lib/actions/setup-r@v2
3927- uses : r-lib/actions/setup-renv@v2
4028 with :
41- cache-version: 2
29+ profile : ' "shiny" '
4230` ` `
4331
4432## Quoting R expressions
4533
46- Several input arguments must be specified as an R expression.
34+ The ` profile` input parameter must be specified as an R expression.
4735This increases flexibility, but it also causes some inconvenience, since
4836these expressions often need to be quoted in the YAML file.
4937A handy tip is that if your R expression does not contain a single quote,
You can’t perform that action at this time.
0 commit comments