Distances on Directed Graphs in R
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update description pre-commit hook

+4 -7
+2 -5
.hooks/description
··· 1 1 #!/usr/bin/env Rscript 2 2 3 - # only stop on main branch 4 - on_main <- identical (gert::git_branch (), "main") 5 - 6 3 s <- gert::git_status() 7 4 chk <- ("DESCRIPTION" %in% s$file && 8 5 (s$status [s$file == "DESCRIPTION"] == "modified" | 9 6 s$status [s$file == "DESCRIPTION"] == "new")) 10 - if (!chk & on_main) 7 + if (!chk) 11 8 stop ("DESCRIPTION has not been updated") 12 9 13 10 f <- file.path (rprojroot::find_root("DESCRIPTION"), "DESCRIPTION") 14 11 x <- system2 ("git", args = c ("diff", "--cached", "-U0", f), stdout = TRUE) 15 - if (!any (grepl ("^\\+Version", x)) & on_main) 12 + if (!any (grepl ("^\\+Version", x))) 16 13 stop ("Version number in DESCRIPTION has not been incremented")
+1 -1
DESCRIPTION
··· 1 1 Package: dodgr 2 2 Title: Distances on Directed Graphs 3 - Version: 0.4.2.045 3 + Version: 0.4.2.046 4 4 Authors@R: c( 5 5 person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre")), 6 6 person("Andreas", "Petutschnig", role = "aut"),
+1 -1
codemeta.json
··· 11 11 "codeRepository": "https://github.com/UrbanAnalyst/dodgr", 12 12 "issueTracker": "https://github.com/UrbanAnalyst/dodgr/issues", 13 13 "license": "https://spdx.org/licenses/GPL-3.0", 14 - "version": "0.4.2.045", 14 + "version": "0.4.2.046", 15 15 "programmingLanguage": { 16 16 "@type": "ComputerLanguage", 17 17 "name": "R",