Skip to content

Commit 7ee72b4

Browse files
committed
Removed references to setup_fastf1()
Since it's not needed anymore, in follow-up to CRAN comments on submission of 2.0.2.
1 parent acbb6df commit 7ee72b4

16 files changed

Lines changed: 12 additions & 43 deletions

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Roxygen: list(markdown = TRUE)
1919
RoxygenNote: 7.3.3
2020
Depends:
2121
R (>= 3.5.0),
22-
reticulate (>= 1.41)
22+
reticulate (>= 1.46)
2323
Imports:
2424
glue,
2525
magrittr,

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# f1dataR 2.0.2
22

3-
* Updated code to match new `reticulate` interface for package and environment management.
3+
* Updated code to match new `reticulate` interface for package and environment management (#300).
4+
* Documented changes (including requirement for `reticulate` `v1.46.0`).
45
* Updated tests to use `vcr` package to reduce hits on the Jolpica API.
56
* Removed support for FastF1 v < 3.0 (now causes errors instead of warnings).
67
* Test suite and automated testing changes to reflect the above changes.

R/circuit_details.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
#' Cache directory can be set by setting `option(f1dataR.cache = [cache dir])`,
1616
#' default is the current working directory.
1717
#'
18-
#' If you have trouble with errors mentioning 'fastf1' or 'get_fastf1_version()' read the
19-
#' 'Setup FastF1 Connection vignette (run \code{vignette('setup_fastf1', 'f1dataR')}).
20-
#'
2118
#' @param season number from 2018 to current season. Defaults to current season.
2219
#' @param round number from 1 to 23 (depending on season selected). Also accepts race name.
2320
#' @param log_level Detail of logging from fastf1 to be displayed. Choice of:

R/load_driver_telemetry.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
#' \code{vignette('introduction', 'f1dataR')} to read). Multiple drivers' telemetry can be appended
77
#' to one data frame by the user.
88
#'
9-
#' If you have trouble with errors mentioning 'fastf1' or 'get_fastf1_version()' read the
10-
#' "Setup FastF1 Connection" vignette (run \code{vignette('setup_fastf1', 'f1dataR')}).
11-
#'
129
#' @param season number from 2018 to current season (defaults to current season).
1310
#' @param round number from 1 to 23 (depending on season selected). Also accepts race name.
1411
#' @param session the code for the session to load Options are `'FP1'`, `'FP2'`, `'FP3'`,

R/load_race_session.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
#' session data streams. See the \href{https://docs.fastf1.dev/}{fastf1 documentation}
88
#' for more details on the data returned by the python API.
99
#'
10-
#' If you have trouble with errors mentioning 'fastf1' or 'get_fastf1_version()' read the
11-
#' 'Setup FastF1 Connection vignette (run \code{vignette('setup_fastf1', 'f1dataR')}).
12-
#'
1310
#' Cache directory can be set by setting `option(f1dataR.cache = [cache dir])`,
1411
#' default is the current working directory.
1512
#'

R/load_session_laps.R

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
#' Cache directory can be set by setting `option(f1dataR.cache = [cache dir])`,
99
#' default is the current working directory.
1010
#'
11-
#' If you have trouble with errors mentioning 'fastf1' or 'get_fastf1_version()' read the
12-
#' 'Setup FastF1 Connection vignette (run \code{vignette('setup_fastf1', 'f1dataR')}).
13-
#'
1411
#' @inheritParams load_race_session
1512
#' @param add_weather Whether to add weather information to the laps. See
1613
#' \href{https://docs.fastf1.dev/core.html#fastf1.core.Laps.get_weather_data}{fastf1 documentation} for info on weather.

R/utils.R

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ get_ergast_content <- function(url) {
2222
"get_ergast_content()",
2323
details = c(
2424
"i" = "At the end of 2024 season the Ergast Motor Racing Database API was shut down.",
25-
" " = "Update f1dataR to use the new jolpica-f1 API data source"
25+
" " = "Update f1dataR to use the new jolpica-f1 API data source."
2626
)
2727
)
2828

@@ -290,16 +290,12 @@ check_ff1_version <- function() {
290290
if (version < "3.1") {
291291
cli::cli_abort(c(
292292
"An old version of {.pkg FastF1} is in use. {.pkg f1dataR} requires {.pkg FastF1} version 3.1.0 or newer.",
293-
x = "Support for older {.pkg FastF1} versions was removed in {.pkg f1dataR} v1.6.0",
294-
i = "You can update your {.pkg FastF1} installation manually, or by running:",
295-
" " = "{.code setup_fastf1()}"
293+
x = "Support for older {.pkg FastF1} versions was removed in {.pkg f1dataR} v1.6.0"
296294
))
297295
} else if (version < "3.4") {
298296
cli::cli_warn(c(
299297
"An old version of {.pkg FastF1} is in use. {.pkg f1dataR} requires {.pkg FastF1} version 3.4.0 or newer for some functions.",
300-
x = "Support for older {.pkg FastF1} versions may be removed soon.",
301-
i = "You can update your {.pkg FastF1} installation manually, or by running:",
302-
" " = "{.code setup_fastf1()}"
298+
x = "Support for older {.pkg FastF1} versions may be removed soon."
303299
))
304300
} else {
305301
invisible(TRUE)
@@ -322,8 +318,6 @@ get_fastf1_version <- function() {
322318
if (length(ver) == 0) {
323319
cli::cli_warn(
324320
"Ensure {.pkg fastf1} Python package is installed.",
325-
i = "Please run this to install the most recent version:",
326-
" " = "{.code setup_fastf1()}"
327321
)
328322
return(NA)
329323
}

cran-comments.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ It improves compliance with ggplot2 functions after the 2025 update,
55
improves python environment handling for reticulate,
66
and refactors out dplyr deprecated code.
77
It includes minor bugfixes in package functionality
8-
and testing. Finally, it removes long deprecated internal code.
8+
and testing. It removes long deprecated internal code.
9+
10+
Finally, it resolves the note that was raised by Uwe Ligges on
11+
Monday, April 27, 2026, 1:19 am, about setup_fastf1 links not working.

man/load_circuit_details.Rd

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/load_driver_telemetry.Rd

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)