CRAN Package Check Results for Package mlbgameday

Last updated on 2020-07-05 16:48:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 8.01 103.13 111.14 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 6.64 78.63 85.27 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 138.52 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.0 135.76 NOTE
r-devel-windows-ix86+x86_64 0.2.0 30.00 347.00 377.00 OK
r-patched-linux-x86_64 0.2.0 7.61 101.00 108.61 OK
r-patched-solaris-x86 0.2.0 135.80 ERROR
r-release-linux-x86_64 0.2.0 7.97 100.50 108.47 OK
r-release-osx-x86_64 0.2.0 NOTE
r-release-windows-ix86+x86_64 0.2.0 18.00 86.00 104.00 ERROR
r-oldrel-osx-x86_64 0.2.0 NOTE
r-oldrel-windows-ix86+x86_64 0.2.0 39.00 320.00 359.00 OK

Check Details

Version: 0.2.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘doParallel’ ‘iterators’ ‘parallel’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘mlbgameday-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get_payload
    > ### Title: Get Gameday data from MLBAM.
    > ### Aliases: get_payload
    >
    > ### ** Examples
    >
    >
    > ## Not run:
    > ##D # Make a request for a single day.
    > ##D df <- get_payload(start = "2016-06-01", end = "2016-06-01")
    > ##D
    > ##D
    > ##D # Run larger requests in parallel.
    > ##D library(doParallel)
    > ##D library(foreach)
    > ##D
    > ##D no_cores <- detectCores() - 2
    > ##D cl <- makeCluster(no_cores)
    > ##D registerDoParallel(cl)
    > ##D
    > ##D df <- get_payload(start = "2016-01-01", end = "2017-01-01")
    > ##D
    > ##D stopImplicitCluster()
    > ##D rm(cl)
    > ##D
    > ## End(Not run)
    >
    > # Supply your own custom vector of game ids.
    >
    > mygids <- search_gids(team = "indians", start = "2016-05-01", end = "2016-05-01")
    >
    > df <- get_payload(game_ids = mygids)
    Gathering Gameday data, please be patient...
    Warning: executing %dopar% sequentially: no parallel backend registered
    Warning in open.connection(x, "rb") :
     cannot open URL 'http://gd2.mlb.com/components/game/mlb/year_2016/month_05/day_01/gid_2016_05_01_clemlb_phimlb_1/inning/inning_all.xml': HTTP status was '404 Not Found'
    Error in mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE) :
     zero-length inputs cannot be mixed with those of non-zero length
    Calls: get_payload ... arrange.data.frame -> arrange_rows -> map2 -> mapply
    Execution halted
Flavors: r-patched-solaris-x86, r-release-windows-ix86+x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mlbgameday)
     >
     > test_check("mlbgameday")
     ── 1. Failure: (unknown) (@test_scrape.R#22) ──────────────────────────────────
     `url_out` isn't true.
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Failure: (unknown) (@test_scrape.R#22)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘data_automation.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 23-32 (data_automation.Rmd)
    Error: processing vignette 'data_automation.Rmd' failed with diagnostics:
    zero-length inputs cannot be mixed with those of non-zero length
    --- failed re-building ‘data_automation.Rmd’
    
    --- re-building ‘database_connections.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘database_connections.Rmd’
    
    --- re-building ‘pitch_plotting.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 22-32 (pitch_plotting.Rmd)
    Error: processing vignette 'pitch_plotting.Rmd' failed with diagnostics:
    zero-length inputs cannot be mixed with those of non-zero length
    --- failed re-building ‘pitch_plotting.Rmd’
    
    --- re-building ‘search_games.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    --- finished re-building ‘search_games.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘data_automation.Rmd’ ‘pitch_plotting.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mlbgameday)
     >
     > test_check("mlbgameday")
     -- 1. Failure: (unknown) (@test_scrape.R#22) ----------------------------------
     `url_out` isn't true.
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Failure: (unknown) (@test_scrape.R#22)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.2.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'data_automation.Rmd' using rmarkdown
    Warning: closing unused connection 14 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_sfnmlb_lanmlb_1/inning/inning_all.xml)
    Warning: closing unused connection 13 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_milmlb_sdnmlb_1/inning/inning_all.xml)
    Warning: closing unused connection 12 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_anamlb_oakmlb_1/inning/inning_all.xml)
    Warning: closing unused connection 11 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_colmlb_arimlb_1/inning/inning_all.xml)
    Warning: closing unused connection 10 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_houmlb_texmlb_1/inning/inning_all.xml)
    Warning: closing unused connection 9 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_phimlb_atlmlb_1/inning/inning_all.xml)
    Warning: closing unused connection 8 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_chnmlb_miamlb_1/inning/inning_all.xml)
    Warning: closing unused connection 7 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_bosmlb_tbamlb_1/inning/inning_all.xml)
    Warning: closing unused connection 6 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_nyamlb_tormlb_1/inning/inning_all.xml)
    Warning: closing unused connection 5 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_wasmlb_cinmlb_1/inning/inning_all.xml)
    Warning: closing unused connection 4 (http://gd2.mlb.com/components/game/mlb/year_2018/month_03/day_30/gid_2018_03_30_pitmlb_detmlb_1/inning/inning_all.xml)
    Quitting from lines 23-32 (data_automation.Rmd)
    Error: processing vignette 'data_automation.Rmd' failed with diagnostics:
    zero-length inputs cannot be mixed with those of non-zero length
    --- failed re-building 'data_automation.Rmd'
    
    --- re-building 'database_connections.Rmd' using rmarkdown
    --- finished re-building 'database_connections.Rmd'
    
    --- re-building 'pitch_plotting.Rmd' using rmarkdown
    Quitting from lines 22-32 (pitch_plotting.Rmd)
    Error: processing vignette 'pitch_plotting.Rmd' failed with diagnostics:
    zero-length inputs cannot be mixed with those of non-zero length
    --- failed re-building 'pitch_plotting.Rmd'
    
    --- re-building 'search_games.Rmd' using rmarkdown
    --- finished re-building 'search_games.Rmd'
    
    SUMMARY: processing the following files failed:
     'data_automation.Rmd' 'pitch_plotting.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-ix86+x86_64