Skip to content

Conversation

bfgray3
Copy link
Contributor

@bfgray3 bfgray3 commented Sep 13, 2018

No description provided.

R/edit.R Outdated
#' @rdname edit
edit_r_buildignore <- function(scope = c("user", "project")) {
file <- edit_file(scoped_path_r(scope, ".Rbuildignore"))
todo("Restart R for changes to take effect")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restarting R doesn't have any impact here, so can you please remove?

@@ -68,6 +72,16 @@ test_that("edit_r_profile() ensures .Rprofile exists in project", {
expect_proj_file(".Rprofile")
})

test_that("edit_r_buildignore() ensures .Rbuildignore exists in project", {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here you're effectively just testing edit_file(), so I think you can remove the test.

@bfgray3
Copy link
Contributor Author

bfgray3 commented Nov 26, 2018

I've incorporated your suggestions and rebased to get rid of the merge conflict in NEWS.md.

NEWS.md Outdated
@@ -1,5 +1,7 @@
# usethis *development version*

* `edit_r_buildignore()` is added (#231, #462, @bfgray3).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `edit_r_buildignore()` is added (#231, #462, @bfgray3).
* `edit_r_buildignore()` is added (#231, @bfgray3).

@hadley hadley merged commit c6c068c into r-lib:master Nov 26, 2018
@hadley
Copy link
Member

hadley commented Nov 26, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants