Skip to content

Commit

Permalink
upkeep: gains simple error handling (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa authored May 2, 2024
1 parent 139dbd4 commit 9c7cb1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pacta.sit.rep
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9004
Version: 0.0.0.9005
Authors@R:
person("Jackson", "Hoffart", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-8600-5042"))
Expand Down
4 changes: 4 additions & 0 deletions R/generate_package_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ table_status <- function(repo_path) {

r_cmd_check_status <- readme[grepl("R.yml|R-CMD-check.yaml", readme)]

if (is.null(r_cmd_check_status) | length(r_cmd_check_status) == 0) {
return(NA_character_)
}

return(r_cmd_check_status)
}

Expand Down

0 comments on commit 9c7cb1a

Please sign in to comment.