Skip to content

Commit

Permalink
chore(R): Package housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome authored and beneboy committed Sep 2, 2019
1 parent e6b3526 commit f3499b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions r/.covrignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
R/types.R
R/nse_funcs.R
R/read_funcs.R
2 changes: 1 addition & 1 deletion r/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Suggests:
Roxygen: list(markdown = TRUE)
RoxygenNote: 6.1.1.9000
Collate:
'util.R'
'read_funcs.R'
'nse_funcs.R'
'compile.R'
Expand All @@ -28,4 +29,3 @@ Collate:
'stencila.R'
'typing.R'
'types.R'
'util.R'
2 changes: 1 addition & 1 deletion r/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cover:
Rscript -e 'covr::package_coverage()'

check:
Rscript -e 'devtools::check(document = FALSE)'
Rscript -e 'devtools::check()'

build:
Rscript -e 'devtools::document(); warnings()'
Expand Down
1 change: 0 additions & 1 deletion r/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Most development tasks can be run from R, using `make` shortcuts, or RStudio key
Unit tests live in the `tests` folder and are written using the `testthat` package. To run test files individually, in R use the `test_file` function:

```r
library(testthat)
testthat::test_file(system.file("tests/testthat/test-types.R", package = "stencila"))
```

Expand Down

0 comments on commit f3499b1

Please sign in to comment.