- using R Under development (unstable) (2025-01-24 r87627)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘PResiduals/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘PResiduals’ version ‘1.0-1’
- 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 ‘PResiduals’ can be installed ... [6s/7s] OK
See the install log for details.
- 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 ... NOTE
Problems with news in ‘NEWS.md’:
No news entries found.
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/2s] 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 ... [6s/6s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [2s/2s] ERROR
Running examples in ‘PResiduals-Ex.R’ failed
The error most likely occurred in:
> ### Name: conditional_Spearman
> ### Title: Conditional Partial Spearman's Rank Correlation
> ### Aliases: conditional_Spearman
>
> ### ** Examples
>
> data(PResidData)
> library(rms)
Loading required package: Hmisc
Attaching package: ‘Hmisc’
The following objects are masked from ‘package:base’:
format.pval, units
> #### fitting cumulative link models for both Y and W
> result <- conditional_Spearman(c|y~ x + w, conditional.by="w",
+ conditional.method="lm", conditional.formula="~rcs(w)",
+ fit.x="poisson",fit.y="orm",
+ data=PResidData, fisher=TRUE)
Error in -as.matrix(mod$info.matrix) : invalid argument to unary operator
Calls: conditional_Spearman -> orm.scores
Execution halted
- checking PDF version of manual ... [4s/5s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '