Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: checked
Title: Systematically Run R CMD Checks
Version: 0.6.1
Version: 0.6.2
Authors@R:
c(
person(
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# checked 0.6.1

* Ignore package-dep pairs duplicate in the `pkg_dependencies` helper
when constructing dependencies data.frame. This makes sure `checked`
does not fail with packages that have multiple entries for the same dep
in the DESCRIPTION,.

# checked 0.6.1

* Further improve the logic behind install_process making it less
vulnerable to errors coming from user configuration.

Expand Down
7 changes: 6 additions & 1 deletion R/utils-deps.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ pkg_dependencies <- function(
# TODO: there is a singe package MatrixModels which specifies it.
# TODO: For now we decided to skip such requirements to assess
# TODO: the severity of this.
out <- out[!out$op %in% c("<", "<="), ]
# Additionally, the current logic behind revdep check is to always
# use the latest available version in the repo, as this is the only
# way to reasonable assess satisfiability. Therefore constraints are
# ignored for now letting R CMD check and deps installation
# speak for itself. Subject for possible discussions in the future.
out <- out[!duplicated(out[, c("package", "name")]), ]
rownames(out) <- paste0(out$package, "-", out$name)
out
}
Expand Down
Loading