Skip to content

Commit

Permalink
Merge pull request #34 from jmbarbone/dev
Browse files Browse the repository at this point in the history
suppress warnings in cran check
  • Loading branch information
jmbarbone authored Mar 18, 2024
2 parents 117f6bc + 9863d9d commit 6832546
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: Rprofile
Title: Functions to be loaded with Rprofile
Version: 0.0.0.9005
Version: 0.0.0.9006
Authors@R:
person(given = "Jordan Mark",
family = "Barbone",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Rprofile (development)
# Rprofile (development version)

## New features

Expand Down
4 changes: 3 additions & 1 deletion R/check-cran-status.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
if (success) cat("\n")
cat("checking for", crayon_blue(e))
# shhhh
res <- .try(utils::capture.output(dang::checkCRANStatus(e)))
res <- suppressWarnings(
.try(utils::capture.output(dang::checkCRANStatus(e)))
)
if (!inherits(res, "error")) {
show_table()
success <- TRUE
Expand Down

0 comments on commit 6832546

Please sign in to comment.