* using log directory 'd:/RCompile/CRANincoming/R-devel/lobbyR.Rcheck' * using R Under development (unstable) (2025-06-20 r88332 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'lobbyR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'lobbyR' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Chris Cioffi ' New submission Possibly misspelled words in DESCRIPTION: lobbyR (19:14) The Description field should not start with the package name, 'This package' or similar. * 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 'lobbyR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: 'flag_client_registrant_conflict.R' 'flag_dupes.R' 'get_filings.R' * 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 ... NOTE flag_client_registrant_conflict: no visible binding for global variable 'registrant.name' flag_client_registrant_conflict: no visible binding for global variable 'client.name' flag_client_registrant_conflict: no visible binding for global variable 'registrant_clean' flag_client_registrant_conflict: no visible binding for global variable 'client_clean' flag_client_registrant_conflict : remove_client_registrant_conflict: no visible binding for global variable 'flag' flag_dupes: no visible binding for global variable 'filing_type' flag_dupes: no visible binding for global variable 'registrant.name' flag_dupes: no visible binding for global variable 'client.name' flag_dupes: no visible binding for global variable 'filing_year' flag_dupes: no visible binding for global variable 'quarter_number' flag_dupes: no visible binding for global variable 'is_amendment' flag_dupes: no visible binding for global variable 'registration_or_termination' flag_dupes: no visible binding for global variable 'income' flag_dupes: no visible binding for global variable 'expenses' flag_dupes: no visible binding for global variable 'has_quarter' flag_dupes: no visible binding for global variable 'has_amendment' flag_dupes: no visible binding for global variable 'registration_termination' flag_dupes: no visible binding for global variable 'is_duplicate' flag_dupes : clean_attempt: no visible binding for global variable 'registration_or_termination' flag_dupes : clean_attempt: no visible binding for global variable 'dt_posted' flag_dupes : clean_attempt: no visible binding for global variable 'registrant.name' flag_dupes : clean_attempt: no visible binding for global variable 'client.name' flag_dupes : clean_attempt: no visible binding for global variable 'filing_year' flag_dupes : clean_attempt: no visible binding for global variable 'filing_period' flag_dupes : clean_attempt: no visible global function definition for 'desc' get_filings: no visible binding for global variable 'lobbying_activities' get_filings: no visible binding for global variable 'general_issue_code_display' get_filings: no visible binding for global variable 'description' get_filings: no visible binding for global variable 'registrant.name' get_filings: no visible binding for global variable 'client.name' Undefined global functions or variables: client.name client_clean desc description dt_posted expenses filing_period filing_type filing_year flag general_issue_code_display has_amendment has_quarter income is_amendment is_duplicate lobbying_activities quarter_number registrant.name registrant_clean registration_or_termination registration_termination * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'flag_client_registrant_conflict.Rd': \examples lines wider than 100 characters: conflict_removed_and_flagged <- flag_client_registrant_conflict(cleaner_df, flag_conflict = TRUE, clean_doublecounts = TRUE) conflict_flagged_only <- flag_client_registrant_conflict(cleaner_df, flag_conflict = TRUE, clean_doublecounts = FALSE) 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 ... ERROR Running examples in 'lobbyR-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: flag_client_registrant_conflict > ### Title: Identify and Resolve Potential Double-Counting of > ### Client/Registrant > ### Aliases: flag_client_registrant_conflict > > ### ** Examples > > > # Flag and clean potential double-counting cases > > conflict_removed_and_flagged <- flag_client_registrant_conflict(cleaner_df, flag_conflict = TRUE, clean_doublecounts = TRUE) Error: object 'cleaner_df' not found Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... OK Running 'spelling.R' * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 4 NOTEs