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

Update required packages and specify in DESCRIPTION #22

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
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
3 changes: 3 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ Imports:
DBI,
devtools,
dplyr,
ffscrapr,
gganimate,
ggplot2,
ggrepel,
gitcreds,
glue,
gsisdecoder,
gt,
Expand All @@ -32,6 +34,7 @@ Imports:
purrr,
rcmdcheck,
remotes,
renv,
rlang,
rmarkdown,
roxygen2,
Expand Down
12 changes: 9 additions & 3 deletions R/create_gt_ovr_fantasy_standings.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ table_ovr_rb_fantasy <- function(num_players = NULL,
week_min = 1
) %>%
# Clean up player names in defined player column
nuclearff::replace_player_names(player_col = "player_display_name")
nuclearff::replace_player_names(player_col = "player_display_name") %>%
# Clean up team names e.g., LA to LAR
nuclearff::replace_team_names()

# Pull WR roster information and player IDs
rb_data <- nuclearff::get_player_data(seasons,
Expand All @@ -240,7 +242,9 @@ table_ovr_rb_fantasy <- function(num_players = NULL,
pfr_id
) %>%
# Clean up player names in defined player column
nuclearff::replace_player_names(player_col = "player_display_name")
nuclearff::replace_player_names(player_col = "player_display_name") %>%
# Clean up team names e.g., LA to LAR
nuclearff::replace_team_names()

# Combine PBP data with roster information and IDs
rb_stats <- rb_pbp_stats %>%
Expand Down Expand Up @@ -426,7 +430,9 @@ table_ovr_wr_fantasy <- function(num_players = NULL,
week_min = 1
) %>%
# Clean up player names in defined player column
nuclearff::replace_player_names(player_col = "player_display_name")
nuclearff::replace_player_names(player_col = "player_display_name") %>%
# Clean up team names e.g., LA to LAR
nuclearff::replace_team_names()

# Pull WR roster information and player IDs
wr_data <- nuclearff::get_player_data(seasons,
Expand Down
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pkgdown: 2.1.1
pkgdown_sha: ~
articles:
setup_pbp_db: setup_pbp_db.html
last_built: 2024-10-08T03:12Z
last_built: 2024-10-10T15:55Z
urls:
reference: https://github.com/NuclearAnalyticsLab/nuclearff/reference
article: https://github.com/NuclearAnalyticsLab/nuclearff/articles
Binary file added inst/logos/png/logo-500x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added inst/logos/png/nuclearff-2color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added inst/logos/png/nuclearff-blue-pink-stroke.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions inst/logos/svg/atom/nuclearff-2-color-transparent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions inst/logos/svg/atom/nuclearff-bw-transparent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading