* using log directory 'd:/RCompile/CRANincoming/R-devel/outqrf.Rcheck' * using R Under development (unstable) (2024-08-26 r87056 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 'outqrf/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'outqrf' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Tengfei Xu ' New submission Possibly misspelled words in DESCRIPTION: Quantile (12:108) outqrf (12:303) quantile (3:28, 12:83) The Title field should be in title case. Current version is: 'Find the outlier by quantile random forests' In title case that is: 'Find the Outlier by Quantile Random Forests' The Description field should not start with the package name, 'This package' or similar. The URL field contains the following bad parts: flystar233.github.io/outqrf The URL field should be a list of URLs separated by commas or whitespace. * 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 whether package 'outqrf' 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 ... WARNING 'library' or 'require' calls not declared from: 'dplyr' 'ggpubr' 'tidyr' 'library' or 'require' calls in package code: 'dplyr' 'ggpubr' 'tidyr' Please use :: or requireNamespace() instead. See section 'Suggested packages' in the 'Writing R Extensions' manual. * checking S3 generic/method consistency ... WARNING plot: function(x, ...) plot.outqrf: function(qrf) See section 'Generic functions and methods' in the 'Writing R Extensions' manual. * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE generateOutliers: no visible global function definition for 'rnorm' generateOutliers: no visible global function definition for 'sd' outqrf: no visible global function definition for 'predict' plot.outqrf: no visible global function definition for 'mutate' plot.outqrf: no visible global function definition for 'pivot_longer' plot.outqrf: no visible binding for global variable 'tag' plot.outqrf: no visible global function definition for 'ggpaired' plot.outqrf: no visible global function definition for 'stat_compare_means' plot.outqrf: no visible global function definition for 'theme' plot.outqrf: no visible global function definition for 'facet_wrap' Undefined global functions or variables: facet_wrap ggpaired mutate pivot_longer predict rnorm sd stat_compare_means tag theme Consider adding importFrom("stats", "predict", "rnorm", "sd") 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 ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking files in 'vignettes' ... WARNING Files in the 'vignettes' directory but no files in 'inst/doc': 'outqrf.Rmd' 'outqrf.html' Package has no Sweave vignette sources and no VignetteBuilder field. * checking examples ... ERROR Running examples in 'outqrf-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: find_index > ### Title: find the closest index > ### Aliases: find_index > > ### ** Examples > > find_max_index(c(1, 2, 3, 4, 5), 3.5) Error in find_max_index(c(1, 2, 3, 4, 5), 3.5) : could not find function "find_max_index" Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... OK Running 'testthat.R' * checking package vignettes ... NOTE Package has 'vignettes' subdirectory but apparently no vignettes. Perhaps the 'VignetteBuilder' information is missing from the DESCRIPTION file? * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 3 NOTEs