Skip to content

Commit

Permalink
removed tests (same reason they weren't there before, breaks in CRAN …
Browse files Browse the repository at this point in the history
…farm). added equivalent code to vignette which seems to work ok. vbump
  • Loading branch information
gmbecker committed Sep 27, 2018
1 parent a88136e commit 723e941
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 26 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: GRANBase
Type: Package
Title: Creating Continuously Integrated Package Repositories from Manifests
Version: 2.6.1.0
Version: 2.6.1.1
Author: Gabriel Becker[aut,cre], Cory Barr [cre,ctb], Dinakar Kulkarni [aut,ctb]
Maintainer: Gabriel Becker <[email protected]>
Copyright: Genentech Inc
Expand Down
21 changes: 0 additions & 21 deletions tests/test.R

This file was deleted.

14 changes: 10 additions & 4 deletions vignettes/GRAN_Overview.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ repo <- makeRepo(man,
basedir = repdir,
destination = repdir,
cores = 1L,
install_test = FALSE,
install_test = TRUE,
check_test = FALSE)
```

Expand Down Expand Up @@ -130,11 +130,17 @@ updated to reflect the results of that step.
In order to get a clean slate we can clear the repository, which will empty it completely (optionally excluding the code checkouts) via `clear\_repo` or we can clear just temporary files without wiping the recorded results with `clear\_temp\_files`.

```{r clear, echo=TRUE}
repo <- clear_temp_files(repo, checkout = FALSE, logs = FALSE)
repo <- clear_repo(repo, checkout = TRUE)
repo_results(repo)
repo2 <- clear_temp_files(repo, checkout = FALSE, logs = FALSE)
repo2 <- clear_repo(repo2, checkout = TRUE)
repo_results(repo2)
```

We can then build the repo again using the expected machinery.

```{r makeagain, echo=TRUE}
repo3 <- makeRepo(repo, install_test = FALSE, check_test = FALSE)
```


## Tools for managing repository stability
Expand Down

0 comments on commit 723e941

Please sign in to comment.