Skip to content

Commit

Permalink
fix: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
csgillespie committed Jun 24, 2024
1 parent 92201e1 commit db1e50f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/rvest.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get_all_versions = function(page) {
tibble::tibble(name = v[!is.na(v)], cve = "")
}

update_posit_versions = function() {
update_posit_csv = function() {
readr::write_csv(extract_cves("https://docs.posit.co/connect/news/"),
file = "inst/extdata/versions/connect.csv")

Expand Down
5 changes: 2 additions & 3 deletions inst/extdata/versions/software.csv
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
software,version
python,3.12.3
python,3.12.4
python,3.11.9
python,3.10.14
python,3.9.19
python,3.8.19
python,3.7.17
quarto,1.4.555
quarto,1.2.475
quarto,1.1.189
quarto,1.0.38
r,4.4.0
r,4.4.1
r,4.3.3
r,4.2.3
r,4.1.3
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-posit_versions.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ test_that("Testing check server", {
types = c("workbench", "connect", "drivers")
for (type in types) {
versions = get_posit_versions(type)
expect_equal(ncol(versions), 3)
expect_equal(ncol(versions), 2)
expect_gt(nrow(versions), 2)
}
type = "connect"
Expand Down

0 comments on commit db1e50f

Please sign in to comment.