* using log directory ‘/srv/hornik/tmp/CRAN/sleeperapi.Rcheck’ * using R Under development (unstable) (2024-05-13 r86547) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.4 (1) Debian flang-new version 18.1.4 (1) * running under: Debian GNU/Linux trixie/sid * 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 ... [4s/4s] 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘sleeperapi’ can be installed ... [3s/3s] 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [6s/6s] 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 ... [0s/0s] 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 ... [3s/3s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [18s/50s] OK Running ‘testthat.R’ [18s/49s] * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 3 NOTEs