R version 4.5.0 alpha (2025-03-26 r88060 ucrt) 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(RcppPlanc) > > test_check("RcppPlanc") [ FAIL 1 | WARN 1 | SKIP 15 | PASS 0 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • !interactive() && !isTRUE(as.logical(Sys.getenv("NOT_CRAN", "false"))) && (15): 'test_inmf.R:33:3', 'test_inmf.R:66:3', 'test_inmf.R:85:3', 'test_nmf.R:9:5', 'test_nmf.R:34:5', 'test_nmf.R:42:5', 'test_nmf.R:49:5', 'test_nmf.R:59:5', 'test_nmf.R:85:3', 'test_nmf.R:107:3', 'test_nmf.R:136:3', 'test_nmf.R:143:3', 'test_nmf.R:150:3', 'test_nmf.R:159:3', 'test_nmf.R:165:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_inmf.R:116:1'): (code run outside of `test_that()`) ──────────── Error in `namespaceExport(ns, exports)`: undefined exports: h5AbsLinkName, h5Attr, h5AttrNames, h5Attributes, h5Backup, h5Class, h5Copy, h5CreateDataset, h5CreateFile, h5CreateGroup, h5Delete, h5DeleteAttr, h5Dims, h5Exists, h5GuessDtype, h5List, h5MaxDims, h5Move, h5Open, h5Overwrite, h5Prep, h5Read, h5ReadDataset, h5TryOpen, h5Write, h5WriteAttr, h5WriteDataset, h5WriteScalar, is.H5D, is.H5Group Backtrace: ▆ 1. ├─RcppPlanc::as.H5SpMat(new.data, "temp_new_sparse.h5", overwrite = TRUE) at test_inmf.R:116:1 2. ├─RcppPlanc::as.H5SpMat.dgCMatrix(...) 3. │ └─RcppPlanc:::.rcpp_spmat_to_h5spmat(x, filename, dataPath, overwrite) 4. └─base::loadNamespace(x) 5. └─base::namespaceExport(ns, exports) [ FAIL 1 | WARN 1 | SKIP 15 | PASS 0 ] Error: Test failures Execution halted