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
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
Type: Package
Package: audit.base
Title: Base package for Posit Checks
Version: 0.7.3
Version: 0.7.4
Authors@R:
person("Jumping", "Rivers", , "info@jumpingrivers.com", role = c("aut", "cre"))
Description: Base package for sharing classes between posit audit
packages. Unlikely to be useful as is.
License: file LICENSE
Depends:
R (>= 4.1.0)
Imports:
cli,
dplyr,
glue,
gt,
htmltools,
httr,
jsonlite,
processx,
purrr,
R6,
Expand All @@ -24,7 +27,6 @@ Imports:
tibble,
yaml
Suggests:
jsonlite,
rvest,
testthat (>= 3.0.0)
Remotes:
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ export(print_colour_versions)
export(update_all_versions)
import(R6)
importFrom(dplyr,"%>%")
importFrom(rlang,"%||%")
importFrom(rlang,.data)
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# audit.base 0.7.4 _2026-10-16_
* fix: `get_uv_python_versions()` works before R 4.4, as `%||%` is imported from rlang. DESCRIPTION requires R 4.1.0 and imports jsonlite (#61)

# audit.base 0.7.3 _2026-10-15_
* fix: A release newer than the version list is reported as newer than the list, not as past EOL (#55)
* fix: Versions are compared as numbers, so Quarto 1.10 counts as newer than 1.9
Expand Down
4 changes: 0 additions & 4 deletions R/get_latest_versions_remote.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ get_latest_versions_remote = function() {
}

get_latest_versions_from_posit = function(type = c("r", "python")) {
if (!requireNamespace("jsonlite")) {
cli::cli_alert_info("Missing package - jsonlite")
return(invisible(NULL))
}
type = match.arg(type)
url = glue::glue("https://cdn.posit.co/{type}/versions.json")
versions = unlist(jsonlite::read_json(url))
Expand Down
2 changes: 1 addition & 1 deletion R/import-from.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' @importFrom rlang .data
#' @importFrom rlang .data %||%
NULL

#' @importFrom dplyr %>%
Expand Down
Loading