Skip to content

Commit

Permalink
adapt help file and test description for non-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzwalthert committed Jan 17, 2018
1 parent 90695cb commit 9b7230a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/styler.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Style according to the tidyverse style guide
#'
#' Styles the source code of the package according to the
#' Styles the source code of a package, project or directory according to the
#' [tidyverse style guide](http://style.tidyverse.org) with the
#' package [styler](http://styler.r-lib.org).
#' @param strict Boolean indicating whether or not a strict version of styling
Expand Down
2 changes: 1 addition & 1 deletion man/use_tidy_style.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-use-tidy-style.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test_that("styling the package works", {
})


test_that("styling of non-projects works", {
test_that("styling of non-packages works", {
skip_if(getRversion() < 3.2)
skip_if_no_git_config()
proj <- scoped_temporary_project()
Expand Down

0 comments on commit 9b7230a

Please sign in to comment.