@@ -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 }
0 commit comments