Skip to content

Commit

Permalink
Version bump to 1.5.0 (#219)
Browse files Browse the repository at this point in the history
* Update NEWS.md

* Increment version number to 1.5.0

* Style & Document code

* Update cran-comments.md
  • Loading branch information
pbulsink authored Jan 24, 2024
1 parent da571a2 commit 8b2e39f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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", , "[email protected]", role = c("aut", "cre", "cph")),
person("Philip", "Bulsink", , "[email protected]", role = "aut",
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 0 additions & 1 deletion R/circuit_details.R
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
Expand Down
8 changes: 2 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -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

1 change: 0 additions & 1 deletion tests/testthat/test-load_circuit_details.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)

})

0 comments on commit 8b2e39f

Please sign in to comment.