* using log directory 'd:/RCompile/CRANincoming/R-devel/RcppPlanc.Rcheck' * using R version 4.5.0 alpha (2025-03-26 r88060 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'RcppPlanc/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RcppPlanc' version '2.0.2' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [13s] NOTE Maintainer: 'Andrew Robbins ' Days since last update: 2 * 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 whether package 'RcppPlanc' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking C++ specification ... OK * checking installed package size ... INFO installed size is 103.6Mb sub-directories of 1Mb or more: bin 50.1Mb libs 51.5Mb * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * 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 whether startup messages can be suppressed ... 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 ... [12s] OK * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [15s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > # 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [12s] OK * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE