diff --git a/DESCRIPTION b/DESCRIPTION index b4814b1c..d99b11a8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: f1dataR Title: Access Formula 1 Data -Version: 1.4.1.9000 +Version: 1.5.0 Authors@R: c( person("Santiago", "Casanova", , "santiago.casanova@yahoo.com", role = c("aut", "cre", "cph")), person("Philip", "Bulsink", , "bulsinkp@gmail.com", role = "aut", diff --git a/NEWS.md b/NEWS.md index a88570f7..1f267490 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,8 @@ -# f1dataR (development version) +# f1dataR 1.5.0 * Added `load_circuit_details` (#210) +* Strengthened package testing (#212, #216) +* Bugfixes (#216) # f1dataR 1.4.1 diff --git a/R/circuit_details.R b/R/circuit_details.R index 72e4eded..f7314a9e 100644 --- a/R/circuit_details.R +++ b/R/circuit_details.R @@ -35,7 +35,6 @@ #' #' @export load_circuit_details <- function(season = get_current_season(), round = 1, log_level = "WARNING") { - if (get_fastf1_version()$major < 3 || (get_fastf1_version()$major == 3 && get_fastf1_version()$minor < 1)) { cli::cli_abort("An old version of FastF1 is in use. FastF1 verison 3.1.0 or later.") } diff --git a/cran-comments.md b/cran-comments.md index 415e3c46..90b3115d 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,11 +1,7 @@ ## Resubmission -This is a resubmission. In this version we have: +This is a minor version update. -* Added freedom to the usesr's python enviroment - -* Advanced lifecycle on deprecations - -* Added a helper function for plot outputs +This version fixes a small bug (brought forward by underlying Python package updates) and provides additional user capabilities. ## R CMD check results diff --git a/tests/testthat/test-load_circuit_details.R b/tests/testthat/test-load_circuit_details.R index a6921bbd..4439a210 100644 --- a/tests/testthat/test-load_circuit_details.R +++ b/tests/testthat/test-load_circuit_details.R @@ -39,5 +39,4 @@ test_that("load circuit details works", { # Check rotation value expect_type(circuit_details[[4]], "double") expect_true(circuit_details[[4]] >= 0 & circuit_details[[4]] <= 360) - })