- using R Under development (unstable) (2025-06-26 r88362)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘glorenz/DESCRIPTION’ ... OK
- this is package ‘glorenz’ version ‘0.1.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [0s/0s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘glorenz’ can be installed ... WARNING
Found the following significant warnings:
Note: possible error in 'Lorenz.curve(y = d1[[group]], ': unused argument (graph = FALSE)
Note: possible error in 'Lorenz.curve(y = d2[[group]], ': unused argument (graph = FALSE)
See the install log for details.
Information on the location(s) of code generating the ‘Note’s can be
obtained by re-running with environment variable R_KEEP_PKG_SOURCE set
to ‘yes’.
- 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 ... [3s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [3s/3s] 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 ... [12s/15s] NOTE
tlorenz: possible error in Lorenz.curve(y = d1[[group]], graph = FALSE,
na.rm = TRUE, ties.method = c("mean", "random"), seed = NULL, weights
= d1[[newwts]]): unused argument (graph = FALSE)
tlorenz: possible error in Lorenz.curve(y = d2[[group]], graph = FALSE,
na.rm = TRUE, ties.method = c("mean", "random"), seed = NULL, weights
= d2[[newwts]]): unused argument (graph = FALSE)
- checking Rd files ... [0s/0s] 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 examples ... [4s/5s] ERROR
Running examples in ‘glorenz-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: tlorenz
> ### Title: Compute relevant probabilities and estimates for selecting
> ### performance criteria
> ### Aliases: tlorenz
>
> ### ** Examples
>
> df_samp <- data.frame(x1 = rnorm(500, mean = 5, sd = 2),newwts = rep(1, 500))
> df_samp2 <- data.frame(x1 = rnorm(500, mean = 4.5, sd = 2),newwts = rep(1, 500))
> p_vals <- seq(0, 1, length.out = 100)
> lc_vals <- tlorenz(p_vals, d1 = df_samp, group = "x1", d2 = df_samp2)
Error in Lorenz.curve(y = d1[[group]], graph = FALSE, na.rm = TRUE, ties.method = c("mean", :
unused argument (graph = FALSE)
Calls: tlorenz
Execution halted
- checking PDF version of manual ... [3s/4s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 1 NOTE