* using log directory 'd:/RCompile/CRANincoming/R-devel/CleanFunc.Rcheck' * using R Under development (unstable) (2024-01-14 r85805 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'CleanFunc/DESCRIPTION' ... OK * this is package 'CleanFunc' version '0.0.0.9000' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Arif Arifi ' New submission Version contains large components (0.0.0.9000) Non-FOSS package license (`use_mit_license()`, `use_gpl3_license()` or friends to pick a license) Possibly misspelled words in DESCRIPTION: NA's (2:39) df (2:27) The Title field should be in title case. Current version is: 'Package to clean a df from the NA's' In title case that is: 'Package to Clean a Df from the NA's' DESCRIPTION fields with placeholder content: Description: what the package does (one paragraph). * 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 'CleanFunc' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... WARNING Non-standard license specification: `use_mit_license()`, `use_gpl3_license()` or friends to pick a license Standardizable: FALSE Authors@R field gives persons with invalid ORCID identifiers: Arif Arifi [aut, cre] (YOUR-ORCID-ID) * 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 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 fill_missing : mode: no visible global function definition for 'na.omit' fill_missing : fill_column: no visible global function definition for 'median' fill_missing : fill_column: no visible global function definition for 'get_mode' Undefined global functions or variables: get_mode median na.omit Consider adding importFrom("stats", "median", "na.omit") to your NAMESPACE file. * 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 ... WARNING Undocumented arguments in Rd file 'checkAndLoadPackage.Rd' 'packageName' Functions with \usage entries need to have the appropriate \alias entries, and all their arguments documented. The \usage entries must correspond to syntactically valid R code. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'CleanFunc-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: drop_missing > ### Title: Drop Rows or Columns with Excessive Missing Values > ### Aliases: drop_missing > > ### ** Examples > > df <- data.frame(a = c(1, NA, 3), b = c(NA, NA, 6), c = c(7, 8, 9)) > drop_missing(df, threshold = 0.5, axis = 1) # Drops rows Loading required package: dplyr Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'dplyr' Error in checkAndLoadPackage("dplyr") : Package dplyr not installed. Please install it to proceed. Calls: drop_missing -> checkAndLoadPackage Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 2 NOTEs