* using log directory ‘/srv/hornik/tmp/CRAN/leiden.Rcheck’ * using R Under development (unstable) (2023-11-07 r85491) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (16) GNU Fortran (Debian 13.2.0-5) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘leiden/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘leiden’ version ‘0.4.3.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] NOTE Maintainer: ‘S. Thomas Kelly ’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead. * 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 ‘leiden’ can be installed ... [5s/5s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: ‘CITATION.cff’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... NOTE Found the following CITATION file in a non-standard place: CITATION.cff Most likely ‘inst/CITATION’ should be used instead. * checking R 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/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [6s/6s] OK * 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [2s/2s] OK * checking for unstated dependencies in ‘tests’ ... WARNING Warning: parse error in file 'testthat/test_multiplex.R': 218:1: unexpected input 217: 218: << ^ Warning: parse error in file 'testthat/test_weighted.R': 25:1: unexpected input 24: set.seed(9000) 25: << ^ * checking tests ... [3s/3s] ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("leiden") Unable to set up conda environment r-reticulate run in terminal: conda init conda create -n r-reticulate conda environment r-reticulate installed Unable to install python modules igraph and leidenalg run in terminal: conda install -n r-reticulate -c conda-forge leidenalg python-igraph pandas umap-learn python modules igraph and leidenalg installed > > test_check("leiden") Error in parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") : test_multiplex.R:218:1: unexpected input 217: 218: << ^ Calls: test_check ... doTryCatch -> lapply -> FUN -> source_file -> parse Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [10s/10s] OK * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] 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, 3 NOTEs