Skip to content

Commit

Permalink
Fix an example for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Feb 13, 2022
1 parent 2d2fbeb commit 4dc5dcd
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Description: In computationally demanding data analysis pipelines,
That way, when the user rolls back the code to a previous branch or commit,
'gittargets' can recover the data contemporaneous with that commit so that
all targets remain up to date.
Version: 0.0.2
Version: 0.0.3
License: MIT + file LICENSE
URL: https://docs.ropensci.org/gittargets/, https://github.com/ropensci/gittargets
BugReports: https://github.com/ropensci/gittargets/issues
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# gittargets 0.0.3

* Fix an example for CRAN.

# gittargets 0.0.2

* Hard reset after checkout in `tar_git_checkout()` in order to recover potentially deleted files (#11).
Expand Down
2 changes: 2 additions & 0 deletions R/tar_git_ok.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#' correctly.
#' @param verbose Whether to print messages to the console.
#' @examples
#' if (Sys.getenv("TAR_EXAMPLES") == "true") {
#' tar_git_ok()
#' }
tar_git_ok <- function(verbose = TRUE) {
binary <- tar_git_binary()
if_any(
Expand Down
2 changes: 2 additions & 0 deletions man/tar_git_ok.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4dc5dcd

Please sign in to comment.