R Under development (unstable) (2025-12-02 r89085 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(PopPsiSeqR) > > test_check("PopPsiSeqR") Saving _problems/test-plot-26.R Saving _problems/test-plot-27.R [ FAIL 2 | WARN 3 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-plot.R:26:5'): returns a plot ──────────────────────────────── Expected `mock.plot <- windowedFrequencyShift.plotter(mock_data)` not to throw any errors. Actually got a with message: invalid class "GGbio" object: invalid object for slot "ggplot" in class "GGbio": got class "ggplot2::ggplot", should be or extend class "gg_OR_NULL" ── Error ('test-plot.R:27:5'): returns a plot ────────────────────────────────── Error in `eval(code, test_env)`: object 'mock.plot' not found Backtrace: ▆ 1. ├─testthat::expect_true(ggplot2::is.ggplot(mock.plot@ggplot)) at test-plot.R:27:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggplot2::is.ggplot(mock.plot@ggplot) 5. └─ggplot2::is_ggplot(x) 6. └─S7::S7_inherits(x, class_ggplot) [ FAIL 2 | WARN 3 | SKIP 0 | PASS 11 ] Error: ! Test failures. Execution halted