Skip to content

Commit

Permalink
Merge pull request #7 from aghaynes/master
Browse files Browse the repository at this point in the history
missing dep
  • Loading branch information
aghaynes authored Mar 26, 2024
2 parents 03dd96a + d37cc36 commit 988bab6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ Imports:
dplyr,
glue,
lubridate,
readr,
sessioninfo,
testthat
testthat,
tidyr
RoxygenNote: 7.3.0
Suggests:
rmarkdown,
Expand Down
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@
S3method(print,sctovalidity)
S3method(print,validate_result)
export(check_session)
export(gen_pkg_table)
export(get_n_deps)
export(get_pkg_data_score_post)
export(get_test_reports)
export(get_tests)
export(get_valid_pkgs)
export(load_pkg_table)
export(risk_hook)
export(sctopkg)
export(sctoreports)
export(sctotests)
export(test)
export(test_skeleton)
export(update_pkg_table)
importFrom(cranlogs,cran_downloads)
importFrom(crayon,blue)
importFrom(crayon,bold)
Expand All @@ -26,4 +29,6 @@ importFrom(dplyr,rename)
importFrom(dplyr,select)
importFrom(glue,glue)
importFrom(lubridate,ymd)
importFrom(readr,read_csv)
importFrom(sessioninfo,package_info)
importFrom(tidyr,pivot_wider)
3 changes: 2 additions & 1 deletion R/extract_elements_pkg.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#' @keywords internal
#' extract the useful text elements from an issue
#' @keywords internal
#' @importFrom tidyr pivot_wider
extract_elements_pkg <- function(issue){
# most information in the body of the issue
body <- issue$body
Expand Down
1 change: 1 addition & 0 deletions R/extract_elements_test.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#' @keywords internal
#' extract the useful text elements from an issue
#' @importFrom tidyr pivot_wider
extract_elements_test <- function(issue){
# most information in the body of the issue
body <- issue$body
Expand Down
1 change: 1 addition & 0 deletions R/validate_pkg_issue.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' validate the inputs for a package validation report
#' @param score the output from calculate_pkg_score for a single package
#' @return list wit two elements: score_ok (logical) and message (character)
#' @keywords internal
validate_pkg_issue <- function(score){
if(is.na(score$final_score)){
prefixes <- c("The package author", "The package maintainer", "The package purpose",
Expand Down

0 comments on commit 988bab6

Please sign in to comment.