- using R Under development (unstable) (2025-06-26 r88362)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.7
flang version 20.1.7
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘glorenz/DESCRIPTION’ ... OK
- this is package ‘glorenz’ version ‘0.1.0’
- package encoding: UTF-8
- 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 whether package ‘glorenz’ can be installed ... [20s/25s] 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 installed package size ... OK
- checking package directory ... 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 ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [17s/17s] 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 ... 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 ... ERROR
Running examples in ‘glorenz-Ex.R’ failed
The error most likely occurred in:
> ### 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 ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 1 NOTE