|
12 | 12 | #' @examples |
13 | 13 | #' \donttest{ |
14 | 14 | #' try({ # try only shown here because sometimes CRAN checks are weird |
15 | | -#' conn <- espn_connect(season = 2020, league_id = 899513) |
16 | | -#' espn_potentialpoints(conn, weeks = 1:3) |
| 15 | +#' conn <- espn_connect(season = 2021, league_id = 950665) |
| 16 | +#' espn_potentialpoints(conn, weeks = 1) |
17 | 17 | #' }) # end try |
18 | 18 | #' } |
19 | 19 | #' @export |
@@ -102,7 +102,7 @@ espn_potentialpoints <- function(conn, weeks = 1:17) { |
102 | 102 | .espn_pp_lineupkeys <- function() { |
103 | 103 | tibble::tibble( |
104 | 104 | lineup_id = c("0", "2", "3", "4", "5", "6", "7", "16", "17", "20", "21", "23", "8", "9", "10", "11", "24", "12", "13", "14", "15"), |
105 | | - priority = c(1, 2, 5, 3, 6, 4, 8, 9, 10, 0, 0, 11, 12, 13, 16, 14, 15, 17, 18, 19, 20) |
| 105 | + priority = c(1, 2, 5, 3, 6, 4, 9, 10, 11, 0, 0, 8, 12, 13, 16, 14, 15, 17, 18, 19, 20) |
106 | 106 | ) %>% |
107 | 107 | dplyr::arrange(.data$priority) %>% |
108 | 108 | dplyr::mutate(lineup_id = as.character(.data$lineup_id)) |
|
0 commit comments