* using log directory 'd:/Rcompile/CRANpkg/local/4.1/RMixtCompIO.Rcheck'
* using R version 4.1.3 (2022-03-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'RMixtCompIO/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'RMixtCompIO' version '4.0.9'
* 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 'RMixtCompIO' can be installed ... OK
* checking installed package size ... OK
* checking package 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 R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* loading checks for arch 'i386'
** 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 use of S3 registration ... OK
* loading checks for arch 'x64'
** 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 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 ... [6s] 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 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 pragmas in C/C++ headers and code ... OK
* checking compiled code ... OK
* checking examples ...
** running examples for arch 'i386' ... [1s] OK
** running examples for arch 'x64' ... [1s] OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ... [110s] ERROR
Running 'testthat.R' [110s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # MixtComp version 4.0 - july 2019
> # Copyright (C) Inria - Université de Lille - CNRS
>
> # This program is free software: you can redistribute it and/or modify
> # it under the terms of the GNU Affero General Public License as
> # published by the Free Software Foundation, either version 3 of the
> # License, or (at your option) any later version.
> # This program is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> # GNU Affero General Public License for more details.
> #
> # You should have received a copy of the GNU Affero General Public License
> # along with this program. If not, see
>
>
> library(testthat)
> library(RMixtCompIO)
>
> test_check("RMixtCompIO")
[1] "mStep error in variable: nBinom2\nNegativeBinomial variables must have a p value different from 0 or 1 in each class. It is not the case in class: 0. \nNegativeBinomial variables must have a p value different from 0 or 1 in each class. It is not the case in class: 1. \n\n"
partition
zPredict 1 2
1 3 0
2 0 3
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 49 ]
== Failed tests ================================================================
-- Failure ('test.run.R:172:3'): NegativeBinomial model works ------------------
resLearn$warnLog not equal to NULL.
Types not compatible: character is not NULL
-- Error ('test.run.R:174:3'): NegativeBinomial model works --------------------
Error in `abs(sapply(partition1, function(x) {
x - partition1
}))`: non-numeric argument to mathematical function
Backtrace:
x
1. +-testthat::expect_gte(rand.index(partition, resGen$z), 0.9) at test.run.R:174:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-RMixtCompIO:::rand.index(partition, resGen$z)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 49 ]
Error: Test failures
Execution halted
** running tests for arch 'x64' ... [101s] ERROR
Running 'testthat.R' [101s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # MixtComp version 4.0 - july 2019
> # Copyright (C) Inria - Université de Lille - CNRS
>
> # This program is free software: you can redistribute it and/or modify
> # it under the terms of the GNU Affero General Public License as
> # published by the Free Software Foundation, either version 3 of the
> # License, or (at your option) any later version.
> # This program is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> # GNU Affero General Public License for more details.
> #
> # You should have received a copy of the GNU Affero General Public License
> # along with this program. If not, see
>
>
> library(testthat)
> library(RMixtCompIO)
>
> test_check("RMixtCompIO")
[1] "mStep error in variable: nBinom2\nNegativeBinomial variables must have a p value different from 0 or 1 in each class. It is not the case in class: 0. \nNegativeBinomial variables must have a p value different from 0 or 1 in each class. It is not the case in class: 1. \n\n"
partition
zPredict 1 2
1 3 0
2 0 3
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 49 ]
== Failed tests ================================================================
-- Failure ('test.run.R:172:3'): NegativeBinomial model works ------------------
resLearn$warnLog not equal to NULL.
Types not compatible: character is not NULL
-- Error ('test.run.R:174:3'): NegativeBinomial model works --------------------
Error in `abs(sapply(partition1, function(x) {
x - partition1
}))`: non-numeric argument to mathematical function
Backtrace:
x
1. +-testthat::expect_gte(rand.index(partition, resGen$z), 0.9) at test.run.R:174:2
2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
3. | \-rlang::eval_bare(expr, quo_get_env(quo))
4. \-RMixtCompIO:::rand.index(partition, resGen$z)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 49 ]
Error: Test failures
Execution halted
* checking PDF version of manual ... OK
* DONE
Status: 2 ERRORs