* using log directory 'd:/RCompile/CRANincoming/R-devel/sleeperapi.Rcheck' * using R Under development (unstable) (2024-05-13 r86547 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'sleeperapi/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'sleeperapi' version '1.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [11s] NOTE Maintainer: 'Nick Bultman ' Found the following (possibly) invalid URLs: URL: ttps://cran.r-project.org/package=sleeperapi From: README.md Message: Invalid URI scheme URL: https://codecov.io/gh/njbultman/sleeperapi?branch=main (moved to https://app.codecov.io/gh/njbultman/sleeperapi?branch=main) From: README.md Status: 301 Message: Moved Permanently URL: https://docs.sleeper.app/ (moved to https://docs.sleeper.com/) From: DESCRIPTION README.md Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'sleeperapi' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 code 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 use of S3 registration ... 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 ... [15s] NOTE plot_nfl_player_high_school_state: no visible binding for global variable 'high_school_state' plot_nfl_top_colleges: no visible binding for global variable 'college' plot_nfl_top_colleges: no visible binding for global variable 'n' plot_regular_season_rankings: no visible binding for global variable 'rank_fpts' plot_user_weekly_players: no visible binding for global variable 'full_name' plot_user_weekly_players: no visible binding for global variable 'starters_points' Undefined global functions or variables: college full_name high_school_state n rank_fpts starters_points Found if() conditions comparing class() to string: File 'sleeperapi/R/plot_nfl_player_data_table.R': if (class(font_color) != "character") ... File 'sleeperapi/R/plot_nfl_player_high_school_state.R': if (class(title) != "character" || class(high_fill) != "character" || class(low_fill) != "character") ... File 'sleeperapi/R/plot_nfl_top_colleges.R': if (class(title) != "character" || class(tick_color) != "character" || class(fill_color) != "character") ... File 'sleeperapi/R/plot_nfl_top_colleges.R': if (class(number) != "numeric") ... File 'sleeperapi/R/plot_trending_players.R': if (class(tick_color) != "character" || class(title) != "character" || class(drop_fill) != "character" || class(add_fill) != "character") ... File 'sleeperapi/R/plot_trending_players_table.R': if (class(font_color) != "character" || class(drop_fill) != "character" || class(add_fill) != "character") ... Use inherits() (or maybe is()) instead. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'plot_user_fantasy_points_against.Rd': \examples lines wider than 100 characters: ## Not run: plot_user_fantasy_points_against(688281863499907072, "datcommish", title = "test", tick_color = "green") Rd file 'plot_user_fantasy_points_differential.Rd': \examples lines wider than 100 characters: ## Not run: plot_user_fantasy_points_differential(688281863499907072, "datcommish", title = "test", tick_color = "green") Rd file 'plot_user_fantasy_points_for.Rd': \examples lines wider than 100 characters: ## Not run: plot_user_fantasy_points_for(688281863499907072, "datcommish", title = "test", tick_color = "green") These lines will be truncated in the PDF manual. * 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 for unstated dependencies in 'tests' ... OK * checking tests ... [115s] OK Running 'testthat.R' [114s] * checking PDF version of manual ... [25s] OK * checking HTML version of manual ... OK * DONE Status: 3 NOTEs