R Under development (unstable) (2025-01-08 r87545 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(aPEAR) > > test_check("aPEAR") Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union [ FAIL 1 | WARN 0 | SKIP 1 | PASS 106 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-prepareEnrichment.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cluster.R:60:3'): pathwayClusters returns something for spectral clustering ── Error in `eval(code, test_env)`: object 'sim' not found Backtrace: ▆ 1. └─aPEAR:::pathwayClusters(sim, method = "s") at test-cluster.R:60:3 2. └─base::nrow(sim) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 106 ] Error: Test failures Execution halted