diff --git a/DESCRIPTION b/DESCRIPTION index ada51844e..7e9a3137b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: usethis Title: Automatically Set Up Commonly Used Package and Analysis Components -Version: 0.1.0 +Version: 0.1.0.9000 Authors@R: c( person("Hadley", "Wickham", , "hadley@rstudio.com", role = c("aut", "cre")), person("RStudio", role = "cph") diff --git a/NEWS.md b/NEWS.md index bcd679f74..4cc7238c3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# usethis 0.1.0.9000 + +* Adding simple newlines for readability in `use_github` and fixing + badges for Coveralls in `use_coverage` (#77). + # usethis 0.1.0 This is a new package that extracts out many functions that previously lived in devtools, as well as providing more building blocks so you can create your own helpers. diff --git a/R/ci.R b/R/ci.R index 2475e16a8..16326b4a8 100644 --- a/R/ci.R +++ b/R/ci.R @@ -109,7 +109,7 @@ coveralls_badge <- function(base_path = ".") { gh <- gh::gh_tree_remote(base_path) use_badge("Coverage status", paste0("https://coveralls.io/r/", gh$username, "/", gh$repo, "?branch=master"), - paste0("https://img.shields.io/coveralls/", gh$username, "/", gh$repo, ".svg") + paste0("https://coveralls.io/repos/github/", gh$username, "/", gh$repo, "/", "badge.svg") ) } diff --git a/R/github.R b/R/github.R index 1f4964898..74cde09a4 100644 --- a/R/github.R +++ b/R/github.R @@ -72,8 +72,8 @@ use_github <- function(organisation = NULL, pkg <- package_data(base_path) done( "Checking title and description", - paste("Title: ", pkg$Title), - paste("Description: ", pkg$Description) + paste("Title: ", pkg$Title, "\n"), + paste("Description: ", pkg$Description, "\n") ) if (yesno("Are title and description ok?")) { return(invisible())