* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/squashinformr.Rcheck’ * using R Under development (unstable) (2022-08-19 r82734) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘squashinformr/DESCRIPTION’ ... OK * this is package ‘squashinformr’ version ‘0.2.6’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘squashinformr’ can be installed ... [10s/10s] OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [14s/14s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... OK * checking examples with --run-donttest ... [19s/283s] ERROR Running examples in ‘squashinformr-Ex.R’ failed The error most likely occurred in: > ### Name: get_tournament_games > ### Title: Get a tournament's games from SquashInfo > ### Aliases: get_tournament_games > > ### ** Examples > > ## Return game data for 2022's Allam British Open. > ## No test: > get_tournament_games("Allam British Open", year = 2022, world_tour = TRUE) Scraping http://www.squashinfo.com/results?start=1 Scraping http://www.squashinfo.com/results?start=2 Scraping http://www.squashinfo.com/results?start=3 Scraping http://www.squashinfo.com/results?start=4 Scraping http://www.squashinfo.com/results?start=5 Scraping http://www.squashinfo.com/results?start=6 Scraping http://www.squashinfo.com/results?start=7 Scraping http://www.squashinfo.com/results?start=8 Scraping http://www.squashinfo.com/results?start=9 Scraping http://www.squashinfo.com/events/9202-mens-british-open-2022 Scraping http://www.squashinfo.com/events/9203-womens-british-open-2022 # A tibble: 371 × 15 tourname…¹ categ…² tourname…³ playe…⁴ playe…⁵ playe…⁶ playe…⁷ playe…⁸ playe…⁹ 1 Allam Bri… Men's 2022-04-03 Paul C… Ali Fa… 2 1 NZL EGY 2 Allam Bri… Men's 2022-04-03 Paul C… Ali Fa… 2 1 NZL EGY 3 Allam Bri… Men's 2022-04-03 Paul C… Ali Fa… 2 1 NZL EGY 4 Allam Bri… Men's 2022-04-03 Ali Fa… Mazen … 1 916 EGY EGY 5 Allam Bri… Men's 2022-04-03 Ali Fa… Mazen … 1 916 EGY EGY 6 Allam Bri… Men's 2022-04-03 Ali Fa… Mazen … 1 916 EGY EGY 7 Allam Bri… Men's 2022-04-03 Ali Fa… Mazen … 1 916 EGY EGY 8 Allam Bri… Men's 2022-04-03 Paul C… Mostaf… 2 4 NZL EGY 9 Allam Bri… Men's 2022-04-03 Paul C… Mostaf… 2 4 NZL EGY 10 Allam Bri… Men's 2022-04-03 Paul C… Mostaf… 2 4 NZL EGY # … with 361 more rows, 6 more variables: round , match , game , # player_1_score , player_2_score , game_winner , and # abbreviated variable names ¹​tournament_name, ²​category, ³​tournament_date, # ⁴​player_1, ⁵​player_2, ⁶​player_1_seed, ⁷​player_2_seed, # ⁸​player_1_nationality, ⁹​player_2_nationality > ## End(No test) > > ## Return game data for all PSA World Tour tournaments in 2022 > ## No test: > get_tournament_games(year = 2022, world_tour = TRUE) Scraping http://www.squashinfo.com/results?start=1 Scraping http://www.squashinfo.com/results?start=2 Scraping http://www.squashinfo.com/results?start=3 Scraping http://www.squashinfo.com/results?start=4 Scraping http://www.squashinfo.com/results?start=5 Scraping http://www.squashinfo.com/results?start=6 Scraping http://www.squashinfo.com/results?start=7 Scraping http://www.squashinfo.com/results?start=8 Scraping http://www.squashinfo.com/results?start=9 Scraping http://www.squashinfo.com/results?start=10 Scraping http://www.squashinfo.com/results?start=11 Scraping http://www.squashinfo.com/results?start=12 Scraping http://www.squashinfo.com/results?start=13 Scraping http://www.squashinfo.com/results?start=14 Scraping http://www.squashinfo.com/events/9450-mens-world-tour-finals-2022 Scraping http://www.squashinfo.com/events/9451-womens-world-tour-finals-2022 Scraping http://www.squashinfo.com/events/9433-mens-mauritius-open-2022 Scraping http://www.squashinfo.com/events/9418-mens-el-gouna-international-open-2022 Scraping http://www.squashinfo.com/events/9419-womens-el-gouna-international-open-2022 Scraping http://www.squashinfo.com/events/9405-mens-world-championship-2022 Scraping http://www.squashinfo.com/events/9406-womens-world-championship-2022 Scraping http://www.squashinfo.com/events/9175-mens-tournament-of-champions-2022 Scraping http://www.squashinfo.com/events/9176-womens-tournament-of-champions-2022 Scraping http://www.squashinfo.com/events/9195-womens-carol-weymuller-open-2022 Scraping http://www.squashinfo.com/events/9386-mens-manchester-open-2022 Scraping http://www.squashinfo.com/events/9387-womens-manchester-open-2022 Scraping http://www.squashinfo.com/events/9202-mens-british-open-2022 Scraping http://www.squashinfo.com/events/9203-womens-british-open-2022 Scraping http://www.squashinfo.com/events/9341-mens-karachi-open-2022 Scraping http://www.squashinfo.com/events/9201-mens-canary-wharf-classic-2022 Scraping http://www.squashinfo.com/events/9338-womens-black-ball-open-2022 Scraping http://www.squashinfo.com/events/9200-mens-optasia-championship-2022 Scraping http://www.squashinfo.com/events/9198-mens-windy-city-open-2022 Scraping http://www.squashinfo.com/events/9199-womens-windy-city-open-2022 Scraping http://www.squashinfo.com/events/9196-mens-squash-on-fire-open-2022 Warning in replace_with_na.data.frame(., replace = list(X1 = "", X2 = "")) : Missing from data: X1, X2 Error in seq.default(1, dim(result)[1], 1) : wrong sign in 'by' argument Calls: get_tournament_games -> get_tournament_objects -> seq -> seq.default Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/squashinformr.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 6:07.31, 92.13 + 8.82