Skip to content

Commit

Permalink
Merge pull request #17 from wlandau/regexp
Browse files Browse the repository at this point in the history
Allow terminating newline to be absent in URL contributions
  • Loading branch information
wlandau authored Mar 13, 2024
2 parents 8cf9967 + bf37252 commit 7b504f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: r.releases.internals
Title: Internal Infrastructure for An R Universe of Package Releases
Description: Internal infrastructure for an R universe of package releases.
Version: 0.0.13
Version: 0.0.14
License: MIT + file LICENSE
URL: https://github.com/r-releases/r.releases.internals
BugReports: https://github.com/r-releases/r.releases.internals/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 @@
# r.releases.internals 0.0.14

* Allow terminating newline to be absent in URL contributions.

# r.releases.internals 0.0.13

* Reformat bot messages.
Expand Down
1 change: 1 addition & 0 deletions R/review_pull_request.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ review_pull_request <- function(
return(invisible())
}
url <- gsub(pattern = "^.*\\+", replacement = "", x = file$patch)
url <- gsub(pattern = "\\s.*$", replacement = "", x = url)
result <- assert_package(name = name, url = url)
if (!is.null(result)) {
pull_request_defer(
Expand Down

0 comments on commit 7b504f7

Please sign in to comment.