Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version bump to 1.5.0 #219

Merged
merged 5 commits into from
Jan 24, 2024
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
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", , "santiago.casanova@yahoo.com", role = c("aut", "cre", "cph")),
person("Philip", "Bulsink", , "bulsinkp@gmail.com", 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)

})