diff --git a/DESCRIPTION b/DESCRIPTION index 5e596ff..795d42f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: allcontributors Title: Acknowledge all Contributors to a Project -Version: 0.2.0.011 +Version: 0.2.0.012 Authors@R: c( person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre")), person("Chris", "Hartgerink", role = "aut"), diff --git a/R/urlcheck.R b/R/urlcheck.R index 46295cc..18908b1 100644 --- a/R/urlcheck.R +++ b/R/urlcheck.R @@ -102,7 +102,7 @@ check_github_urls <- function (ctbs, quiet = FALSE) { out [[i]] <- hs [[i]]$status_code } } - index <- which (unlist (out) == 200L) + index <- which (unlist (out) != 404) return (ctbs [index, ]) } diff --git a/codemeta.json b/codemeta.json index 179ddef..595d56d 100644 --- a/codemeta.json +++ b/codemeta.json @@ -7,7 +7,7 @@ "codeRepository": "https://github.com/ropenscilabs/allcontributors", "issueTracker": "https://github.com/ropenscilabs/allcontributors/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.2.0.011", + "version": "0.2.0.012", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",