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
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ rsconnect/
^jrHealthCheckConnect\.Rproj$
/rsconnect/
^\.github$
^\.commitlintrc\.yml$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: audit.base
Title: Base package for Posit Checks
Version: 0.6.20
Version: 0.6.21
Authors@R:
person("Jumping", "Rivers", , "info@jumpingrivers.com", role = c("aut", "cre"))
Description: Base package for sharing classes between posit audit
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# audit.base 0.6.20 _2024-02-21_
# audit.base 0.6.21 _2025-07-09_
- chore: Software bump
- feat: Update ubuntu to 24.04

# audit.base 0.6.20 _2025-02-21_
- chore: Software bump
- fix: Fix quarto reporting on out of date versions

Expand Down
2 changes: 1 addition & 1 deletion R/check_server_headers.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ get_posit_headers = function(headers) {
} else {
cli::cli_alert_danger("{cli::col_red('server')}: Contains too much information")
}
return(posit_header)
posit_header
}
5 changes: 2 additions & 3 deletions R/check_sys_deps.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ get_installed_libs = function() {
} else {
cli::cli_abort("We don't support this OS yet")
}
libs = clean_libs(os_release, libs)
return(libs)
clean_libs(os_release, libs)
}

#' @export
Expand All @@ -82,5 +81,5 @@ clean_libs = function(os_release, libs) {
} else {
cli::cli_abort("We don't support this OS yet")
}
return(sort(libs))
sort(libs)
}
2 changes: 1 addition & 1 deletion R/get_pkg_requirements.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://packagemanager.rstudio.com/__api__/swagger/index.html#/default/get_repos
get_pkg_requirements = function(distribution = c("ubuntu", "redhat", "centos"),
release = c("18.04", "20.04", "22.04", "7", "8", "9"),
release = c("18.04", "20.04", "22.04", "24.04", "7", "8", "9"),
base_url = "https://packagemanager.rstudio.com/__api__/repos/",
repo_id = 2) {
distribution = match.arg(distribution)
Expand Down
2 changes: 1 addition & 1 deletion R/update_all_versions.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ update_all_versions = function() {

software = get_latest_versions_remote()
readr::write_csv(software, file = "inst/extdata/versions/software.csv")
return(invisible(NULL))
invisible(NULL)
}
22 changes: 22 additions & 0 deletions inst/extdata/versions/connect.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
version,cve
2025.06.0,CVE-2025-4673
2025.06.0,CVE-2025-0913
2025.06.0,CVE-2025-22874
2025.06.0,CVE-2025-4673
2025.06.0,CVE-2025-0913
2025.06.0,CVE-2025-22874
2025.05.0,CVE-2025-22873
2025.05.0,CVE-2025-30204
2025.05.0,CVE-2025-22873
2025.05.0,CVE-2025-30204
2025.04.0,CVE-2025-22872
2025.04.0,CVE-2025-22871
2025.04.0,CVE-2025-22872
2025.04.0,CVE-2025-22871
2025.03.0,CVE-2025-22870
2025.03.0,CVE-2025-22870
2025.02.0,CVE-2025-22866
2025.02.0,CVE-2025-22868
2025.02.0,CVE-2025-22869
2025.02.0,CVE-2025-22866
2025.02.0,CVE-2025-22868
2025.02.0,CVE-2025-22869
2025.01.0,CVE-2024-45339
2025.01.0,CVE-2024-45341
2025.01.0,CVE-2024-45336
Expand Down
16 changes: 9 additions & 7 deletions inst/extdata/versions/software.csv
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
software,version
python,3.13.2
python,3.12.9
python,3.11.11
python,3.10.16
python,3.9.21
quarto,1.6.41
python,3.13.5
python,3.12.11
python,3.11.13
python,3.10.18
python,3.9.23
quarto,1.7.32
quarto,1.5.57
quarto,1.4.557
quarto,1.3.450
quarto,1.2.475
quarto,1.1.189
quarto,1.0.38
r,4.4.2
r,4.5.1
r,4.4.3
r,4.3.3
r,4.2.3
r,4.1.3
Expand Down
2 changes: 2 additions & 0 deletions inst/extdata/versions/workbench.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version,cve
2025.05.1,
2025.05.0,
2024.12.1,
2024.12.0,
2024.09.1,
Expand Down