* using log directory 'd:/Rcompile/CRANpkg/local/4.5/relations.Rcheck' * using R version 4.5.2 (2025-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'relations/DESCRIPTION' ... OK * this is package 'relations' version '0.6-15' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... INFO Package which this enhances but not available for checking: 'Rcplex' * 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 'relations' can be installed ... OK * checking installed package size ... OK * checking package directory ... 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [0s] 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 ... [13s] OK * checking Rd files ... [1s] 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] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [11s] ERROR Running examples in 'relations-Ex.R' failed The error most likely occurred in: > ### Name: impute > ### Title: Impute relations > ### Aliases: relation_impute > ### Keywords: math > > ### ** Examples > > ## create a relation with a missing object > R <- ranking(1:2, 1:3) > print(R) 1L > 2L Missing elements: 3L > R <- as.relation(R) > > ## find all suitable completions within L > ens <- relation_impute(R, method = "any/L", n = "all") > lapply(ens, as.ranking) [[1]] 3L > 1L > 2L [[2]] 1L > 3L > 2L [[3]] 1L > 2L > 3L > if(require("Rgraphviz")) plot(ens) Loading required package: Rgraphviz Loading required package: graph Loading required package: BiocGenerics Loading required package: generics Attaching package: 'generics' The following objects are masked from 'package:base': as.difftime, as.factor, as.ordered, intersect, is.element, setdiff, setequal, union Attaching package: 'BiocGenerics' The following objects are masked from 'package:stats': IQR, mad, sd, var, xtabs The following objects are masked from 'package:base': anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl, is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rownames, sapply, saveRDS, table, tapply, unique, unsplit, which.max, which.min Loading required package: grid > > ## find 3 suitable partial orders > ens <- relation_impute(R, method = "any/O", n = 3) > lapply(ens, relation_incidence) [[1]] Incidences: 1L 2L 3L 1L 1 0 1 2L 1 1 1 3L 0 0 1 [[2]] Incidences: 1L 2L 3L 1L 1 0 0 2L 1 1 1 3L 0 0 1 [[3]] Incidences: 1L 2L 3L 1L 1 0 0 2L 1 1 1 3L 1 0 1 > if(require("Rgraphviz")) plot(ens) * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [26s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 1 ERROR