diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 7929d70..6e15dc6 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 2.2.1 -Date: 2024-01-12 20:11:38 UTC -SHA: 8143003625d36d803c54e1b6ea5fa03b8e9de8fb +Version: 2.2.2 +Date: 2024-02-03 02:40:04 UTC +SHA: 63cc25be23288fe04f7c953f8cbdcc459303fea4 diff --git a/DESCRIPTION b/DESCRIPTION index db5e914..d76ec05 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: fflr Title: Retrieve ESPN Fantasy Football Data -Version: 2.2.1 +Version: 2.2.2 Authors@R: person("Kiernan", "Nicholls", , "kiernann@protonmail.com", role = c("aut", "cre", "cph")) Description: Format the raw data from the ESPN fantasy football API diff --git a/NEWS.md b/NEWS.md index 360f397..9e5fee9 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# fflr 2.2.2 + +* Adjust more tests for the end of the NFL season and changes to API. + # fflr 2.2.1 * Adjust tests for end of NFL season. diff --git a/cran-comments.md b/cran-comments.md index 3806f55..66ec166 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -14,4 +14,4 @@ ## Resubmission -* Updated test to account for end of the 2023 NFL season. +* Updated more tests. diff --git a/tests/testthat/test-settings.R b/tests/testthat/test-settings.R index c66e5e5..042ae72 100644 --- a/tests/testthat/test-settings.R +++ b/tests/testthat/test-settings.R @@ -42,7 +42,7 @@ Sys.sleep(runif(1, 1, 2)) test_that("acquisition settings for a single season", { w <- acquisition_settings("42654852", leagueHistory = FALSE) expect_s3_class(w, "data.frame") - expect_length(w, 10) + expect_length(w, 12) expect_type(w$acquisitionBudget, "integer") expect_type(w$waiverProcessDays, "list") expect_type(w$waiverOrderReset, "logical") @@ -80,7 +80,7 @@ Sys.sleep(runif(1, 1, 2)) test_that("schedule settings for a single season", { s <- schedule_settings("42654852", leagueHistory = FALSE) expect_s3_class(s, "data.frame") - expect_length(s, 10) + expect_length(s, 12) expect_s3_class(s$matchupPeriods[[1]], "data.frame") expect_s3_class(s$divisions[[1]], "data.frame") })