* using log directory 'd:/RCompile/CRANincoming/R-devel/gen3DNet.Rcheck' * using R Under development (unstable) (2024-05-15 r86556 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'gen3DNet/DESCRIPTION' ... OK * this is package 'gen3DNet' version '1.0.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Shamim Mollah ' New submission License components with restrictions and base license permitting such: MIT + file LICENSE * 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 serialization versions ... OK * checking whether package 'gen3DNet' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... WARNING Invalid license file pointers: LICENSE Author field differs from that derived from Authors@R Author: 'Paul Morrison' Authors@R: 'Paul Morrison [aut], Tina Tang [aut] (), Charles Lu [aut] (), Shamim Mollah [aut, cre] ()' Maintainer field differs from that derived from Authors@R Maintainer: 'Shamim Mollah ' Authors@R: 'Shamim Mollah ' * 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 ... WARNING Missing or unexported object: 'gen3DNet::max_kl_ward' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE Found if() conditions comparing class() to string: File 'gen3DNet/R/gen3DNet.R': if (class(object) == "data.frame") ... File 'gen3DNet/R/gen3DNet.R': if (class(object) == "list") ... Use inherits() (or maybe is()) instead. * 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 ... [42s] WARNING Found the following significant warnings: Warning: working directory was changed to 'D:/RCompile/CRANincoming/R-devel/gen3DNet.Rcheck', resetting Warning: working directory was changed to 'D:/RCompile/CRANincoming/R-devel/gen3DNet.Rcheck', resetting Examples with CPU (user + system) or elapsed time > 10s user system elapsed create_gen3DNet 15.58 1.97 20.56 gen3DNet 14.33 1.77 18.88 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [16m] ERROR Running 'testthat.R' [16m] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(gen3DNet) Loading required package: NMF Loading required package: registry Loading required package: rngtools Loading required package: cluster NMF - BioConductor layer [OK] | Shared memory capabilities [NO: windows] | Cores 2/2 | CRAN check Attaching package: 'NMF' The following object is masked from 'package:testthat': compare > > test_check("gen3DNet") v Generating 3D network v Running NMF i Picking k from [ 2 , 30 ]. i Using k = 4 v Running PLSR v Merging data... v Writing to test_output v Generating 3D network v Running NMF i Picking k from [ 2 , 30 ]. i Using k = 2 v Running PLSR v Merging data... v Writing to gen3DNet_2024-05-16_21-37-00 v Generating 3D network v Running NMF i Picking k from [ 2 , 30 ]. i Using k = 18 v Running PLSR v Merging data... v Writing to gen3DNet_2024-05-16_21-40-03 v Generating 3D network v Running NMF i Picking k from [ 2 , 30 ]. i Using k = 24 v Running PLSR v Merging data... v Writing to gen3DNet_2024-05-16_21-43-05 v Generating 3D network v Running NMF i Picking k from [ 2 , 30 ]. i Using k = 2 v Running PLSR v Merging data... v Writing to gen3DNet_2024-05-16_21-46-10 v Generating 3D network v Running NMF i Picking k from [ 2 , 30 ]. i Using k = 2 v Running PLSR v Merging data... v Writing to gen3DNet_2024-05-16_21-49-20 v Generating 3D network v Running NMF i Picking k from [ 2 , 30 ]. i Using k = 4 v Running PLSR v Merging data... v Writing to gen3DNet_2024-05-16_21-52-29 [ FAIL 1 | WARN 1 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-test_k_selection_functions-as_script-final.R:77:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-test_k_selection_functions-as_script-final.R:73:1'): Results match iPhDNet ── Error in `file(con, "r")`: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect(verify_folders_same("test_output", "correct_output")) at test-test_k_selection_functions-as_script-final.R:73:1 2. └─gen3DNet (local) verify_folders_same("test_output", "correct_output") 3. └─base::sapply(...) at test-test_k_selection_functions-as_script-final.R:17:8 4. └─base::lapply(X = X, FUN = FUN, ...) 5. └─gen3DNet (local) FUN(X[[i]], ...) 6. └─gen3DNet (local) verify_files_same(...) at test-test_k_selection_functions-as_script-final.R:25:20 7. └─base::readLines(file_a) at test-test_k_selection_functions-as_script-final.R:43:5 8. └─base::file(con, "r") [ FAIL 1 | WARN 1 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 WARNINGs, 2 NOTEs