* using log directory 'd:/RCompile/CRANincoming/R-devel/hypr.Rcheck' * using R Under development (unstable) (2023-10-18 r85349 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 'hypr/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'hypr' version '0.2.5' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [10s] NOTE Maintainer: 'Maximilian M. Rabe ' Found the following (possibly) invalid URLs: URL: https://zenodo.org/badge/latestdoi/208564895 From: README.md Status: 404 Message: Not Found * 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 'hypr' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' 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 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 ... [14s] OK * 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'hypr-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: conversions > ### Title: Shorthand versions for simple hypothesis translation > ### Aliases: conversions eqs2hmat eqs2cmat hmat2cmat cmat2hmat hmat2eqs > ### cmat2eqs > > ### ** Examples > > > # The following examples are based on a 2-level treatment contrast (i.e., baseline and treatment). > hypotheses <- list(baseline = mu1~0, treatment = mu2~mu1) > hypothesis_matrix <- matrix( + c(c(1, -1), c(0, 1)), ncol = 2, dimnames = list(c("baseline","treatment"), c("mu1", "mu2"))) > contrast_matrix <- matrix( + c(c(1, 1), c(0, 1)), ncol = 2, dimnames = list(c("mu1","mu2"), c("baseline", "treatment"))) > > # Convert a list of null hypothesis equations to ... > # ... a hypothesis matrix: > eqs2hmat(hypotheses) mu1 mu2 baseline 1 0 treatment -1 1 > # ... a contrast matrix: > eqs2cmat(hypotheses) baseline treatment mu1 1 0 mu2 1 1 > > # Convert a hypothesis matrix to... > # ... a list of null hypothesis equations: > hmat2eqs(hypothesis_matrix) $baseline ~mu1 $treatment ~-mu1 + mu2 > # ... a contrast matrix: > hmat2cmat(hypothesis_matrix) baseline treatment mu1 1 0 mu2 1 1 > > # Convert a contrast matrix to... > # ... a list of null hypothesis equations: > cmat2eqs(contrast_matrix) Error in validObject(.Object) : invalid class "expr_real" object: invalid object for slot "num" in class "expr_real": got class "fractions", should be or extend class "numeric" Calls: cmat2eqs ... FUN -> new -> initialize -> initialize -> validObject Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE