* using log directory 'd:/Rcompile/CRANpkg/local/4.4/houba.Rcheck' * using R version 4.4.3 Patched (2026-02-12 r89426 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'houba/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'houba' version '0.1.1' * package encoding: UTF-8 * 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 'houba' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking installed package size ... OK * checking package directory ... 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [7s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [9s] ERROR Running 'apply.r' [1s] Running 'arithmetic.r' [1s] Running 'as-array.r' [1s] Running 'colSums.r' [1s] Running 'copy.r' [1s] Running 'create.r' [1s] Running 'dim.r' [1s] Running 'extract-replace.r' [1s] Running 'inplace.r' [1s] Running 'marray.r' [1s] Running 'restore.r' [1s] Running the tests in 'tests/create.r' failed. Complete output: > # Various tests about object creation and manipulation > require(houba) Loading required package: houba > > # float mmatrix ------------------------ > A <- mmatrix("float", 10, 20) > a <- as.matrix(A) > stopifnot(typeof(a) == "double") > > # set max size > houba(max.size = 10) $max.size [1] 10 > stopifnot( typeof(A[1:10]) == "double" ) > stopifnot( typeof(A[1:11]) == "S4" ) > > # assignement and subsetting > A[1,1] <- 12 > A[3,] <- 1.34 > stopifnot( all(abs(as.matrix(A[1:3, 1:2] - c(12, 0, 1.34, 0, 0, 1.34))) < 1e-6) ) > > A[5] <- pi > stopifnot( all(abs(as.vector(A[,1] - c(12, 0, 1.34, 0, pi, 0, 0, 0, 0, 0))) < 1e-6) ) > > # int mmatrix --------------------------- > B <- mmatrix("int", 10, 20) > b <- as.matrix(B) > stopifnot(typeof(b) == "integer") > > # assignement and subsetting > B[1,1] <- 12 > B[3,] <- 1.34 > stopifnot( all(as.matrix(B[1:3, 1:2]) == c(12L, 0L, 1L, 0L, 0L, 1L)) ) > > B[5] <- 2 > stopifnot( all(as.vector(B[5, 1:3]) == c(2L, 0L, 0L)) ) > > # assignement with other mmatrix values > houba(max.size = 0) # force non conversion to R $max.size [1] 0 > B[2,] <- A[3,] > stopifnot( all(as.vector(B[2, 1:4]) == c(1L, 1L, 1L, 1L)) ) > > B[5] <- A[3] > stopifnot( all(as.vector(B[5, 1:3]) == c(1L, 0L, 0L)) ) > > # double mvector ------------------------- > V <- mvector("double", 10) > v <- as.vector(V) > V[1:4] <- pi > stopifnot( all(as.vector(V[3:6]) == c(pi, pi, 0, 0)) ) > > # int array -------------------------- > C <- marray("int", 2:4) > C[,,1] <- 7 > C[,2,] <- B[5] Error in `[<-`(`*tmp*`, , 2, , value = new("mvector", ptr = , : argument is missing, with no default Calls: [<- -> [<- -> myMissing Execution halted Running the tests in 'tests/marray.r' failed. Complete output: > require(houba) Loading required package: houba > > a <- mvector("int", 2) > a[2] <- 1 > stopifnot( a[2] == 1 ) > > a <- mmatrix("float", 6, 3) > a[] <- 1:18 > stopifnot( all(a[1,] == c(1, 7, 13)) ) > > a <- marray("double", 2:4) > a[] <- 1:24 > stopifnot( all(a[2,1,] == c(2, 8, 14, 20)) ) Error in a[2, 1, ] : argument is missing, with no default Calls: stopifnot -> [ -> [ -> myMissing Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s] OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 1 ERROR