* using log directory 'd:/RCompile/CRANincoming/R-devel/EngrEcon.Rcheck' * using R Under development (unstable) (2024-03-10 r86088 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 'EngrEcon/DESCRIPTION' ... OK * this is package 'EngrEcon' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Liya Abera ' New submission Unknown, possibly misspelled, fields in DESCRIPTION: 'Published' 'Vignettes' 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 'EngrEcon' 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 File LICENSE is not mentioned in the DESCRIPTION file. * 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'cashflow.Rd': \examples lines wider than 100 characters: # The first column is the cashflow year, the rest is the cash flow money.The number of rows are the life span of the project (cashflow) ... [TRUNCATED] 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 ... WARNING Undocumented arguments in Rd file 'cashflow.Rd' 'i' Documented arguments not in \usage in Rd file 'cashflow.Rd': 'interest.rate' Documented arguments not in \usage in Rd file 'effective_i.Rd': 'i' 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 'EngrEcon-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cashflow > ### Title: Calculate present value and annual value from a given future > ### payments (cash flows) 'cashflow' Compute present value and annual > ### value of a given cash flow data. > ### Aliases: cashflow > > ### ** Examples > > # Result, cash.flow.table and present value = 162337.6 and annual value = 21425.9 > # The first column is the cashflow year, the rest is the cash flow money.The number of rows are the life span of the project (cashflow) > c(c(1,2,3),c(63955,1316,1316),c(60000,0,10000), c(0,0,3000)) [1] 1 2 3 63955 1316 1316 60000 0 10000 0 0 3000 > cashflow(0.055, cashflowdata) Error: object 'cashflowdata' not found Execution halted * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 3 NOTEs