Skip to content

Commit ff0a4c2

Browse files
Change defaults to more accurate ones. (#2917)
Since `devtools` require opting-in now, and `remotes` are installed by default, I think it might be better to list that here as customization default. In addition, `--as-cran` option is also passed by default, so it might be better to list here. Co-authored-by: Michał Rybiński <[email protected]>
1 parent 3507d8b commit ff0a4c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user/languages/r.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ for building R packages. The default rules roughly amount to:
272272

273273
```yaml
274274
install:
275-
- R -e 'devtools::install_deps(dep = T)'
275+
- R -e 'remotes::install_deps(dep = T)'
276276
277277
script:
278278
- R CMD build .
279-
- R CMD check *tar.gz
279+
- R CMD check *tar.gz --as-cran
280280
```
281281
{: data-file=".travis.yml"}
282282

0 commit comments

Comments
 (0)