* using log directory 'd:/RCompile/CRANincoming/R-devel/PKPDindex.Rcheck' * using R Under development (unstable) (2025-09-25 r88874 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 'PKPDindex/DESCRIPTION' ... OK * this is package 'PKPDindex' version '0.0.0.9000' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Najla Alabdulkarim ' New submission Version contains large components (0.0.0.9000) Possibly misspelled words in DESCRIPTION: Emax (7:53) pharmacodynamic (7:84) pharmacokinetic (7:68) 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 whether package 'PKPDindex' 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 ... NOTE Non-standard file/directory found at top level: 'PKPDindex.Rproj' * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... WARNING Found the following file with non-ASCII characters: R/PKPDindex.R Portable packages must use only ASCII characters in their R code and NAMESPACE directives, except perhaps in comments. Use \uxxxx escapes for other characters. Function 'tools::showNonASCIIfile' can help in finding non-ASCII characters in files. * 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 PKPDindex: no visible global function definition for 'as.formula' PKPDindex: no visible global function definition for 'nls' PKPDindex: no visible global function definition for 'nls.control' PKPDindex: no visible global function definition for 'residuals' PKPDindex: no visible global function definition for 'AIC' PKPDindex: no visible global function definition for 'coef' PKPDindex: no visible global function definition for 'par' PKPDindex: no visible global function definition for 'axis' PKPDindex: no visible global function definition for 'lines' PKPDindex: no visible global function definition for 'text' PKPDindex: no visible global function definition for 'recordPlot' Undefined global functions or variables: AIC as.formula axis coef lines nls nls.control par recordPlot residuals text Consider adding importFrom("grDevices", "recordPlot") importFrom("graphics", "axis", "lines", "par", "text") importFrom("stats", "AIC", "as.formula", "coef", "nls", "nls.control", "residuals") 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 ... WARNING Undocumented code objects: 'PKPDindex_data' Undocumented data sets: 'PKPDindex_data' All user-level objects in a package should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'PKPDindex.Rd' 'point_color' 'line_color' Documented arguments not in \usage in Rd file 'PKPDindex.Rd': 'point_colour' 'line_colour' 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in 'PKPDindex-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: PKPDindex > ### Title: PKPDindex: Optimal PK/PD Index Finder. > ### Aliases: PKPDindex > > ### ** Examples > > #' @examples > # Basic usage with default settings > output <- PKPDindex( + dataset = PKPDindex_data, + E0_fix = 1.5, + Emax_fix = 4.8 + ) > # Custom x and y columns > output <- PKPDindex( + dataset = PKPDindex_data, + E0_fix = 1.5, + Emax_fix = 4.8, + x_columns = c("auc","cmax","time"), + y_column = "effect" + ) Error in PKPDindex(dataset = PKPDindex_data, E0_fix = 1.5, Emax_fix = 4.8, : No 'effect' column found and CFU_init/CFU_24 not available. Execution halted * checking PDF version of manual ... [11s] WARNING LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found: ! LaTeX Error: Unicode character Δ (U+0394) not set up for use with LaTeX. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ! LaTeX Error: Unicode character Δ (U+0394) not set up for use with LaTeX. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. * checking PDF version of manual without index ... ERROR * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 4 WARNINGs, 3 NOTEs