-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
---> Testing R-profoc
Executing: cd "/opt/local/var/macports/build/R-profoc-25cd6a41/work/profoc-1.3.4" && JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk8/Contents/Home /opt/local/bin/R CMD check ./profoc_1.3.4.tar.gz --no-manual --no-build-vignettes
* using log directory ‘/opt/local/var/macports/build/R-profoc-25cd6a41/work/profoc-1.3.4/profoc.Rcheck’
* using R version 4.5.2 (2025-10-31)
* using platform: powerpc-apple-darwin10.8.0 (32-bit)
* R was compiled by
gcc-mp-14 (MacOS PowerPC gcc14 14.3.0_0+G5+stdlib_flag) 14.3.0
GNU Fortran (MacOS PowerPC gcc14 14.3.0_0+G5+stdlib_flag) 14.3.0
* running under: OS X Snow Leopard 10.6.8
* using session charset: UTF-8
* using options ‘--no-manual --no-build-vignettes’
* checking for file ‘profoc/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘profoc’ version ‘1.3.4’
* 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 executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘profoc’ can be installed ... OK
* used C++ compiler: ‘g++-mp-14 (MacOS PowerPC gcc14 14.3.0_0+G5+stdlib_flag) 14.3.0’
* used SDK: ‘NA’
* 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 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 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 ... OK
* checking Rd files ... 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 compiled code ... OK
* checking files in ‘vignettes’ ... WARNING
Files in the 'vignettes' directory but no files in 'inst/doc':
‘class.Rmd’ ‘production.Rmd’ ‘profoc.Rmd’
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
Running ‘testthat.R’
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-predict.R:82:1'): (code run outside of `test_that()`) ────────
Expected `all(preds[1:10, , ] == model_partial_1_preds)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 159 ]
Error:
! Test failures.
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... WARNING
Directory 'inst/doc' does not exist.
Package vignettes without corresponding single PDF/HTML:
‘class.Rmd’
‘production.Rmd’
‘profoc.Rmd’
* checking running R code from vignettes ...
‘class.Rmd’ using ‘UTF-8’... OK
‘production.Rmd’ using ‘UTF-8’... OK
‘profoc.Rmd’ using ‘UTF-8’... OK
OK
* checking re-building of vignette outputs ... SKIPPED
* DONE
Status: 1 ERROR, 2 WARNINGs
R version 4.5.2 (2025-10-31) -- "[Not] Part in a Rumble"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.8.0 (32-bit)
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.
> Sys.setenv("OMP_THREAD_LIMIT" = 2)
>
> library(testthat)
> library(profoc)
>
>
> test_check("profoc")
Saving _problems/test-lead-43.R
Saving _problems/test-lead-45.R
Saving _problems/test-predict-58.R
Saving _problems/test-predict-82.R
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 159 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• debug_mode is not TRUE (1): 'test-zzz_debug.R:6:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-lead.R:43:1'): (code run outside of `test_that()`) ───────────
Expected `results$weights[change_at + 5, , , 1]` > 0.2.
Actual comparison: NaN <= 0.2
── Failure ('test-lead.R:45:1'): (code run outside of `test_that()`) ───────────
Expected `results$weights[change_at + lead + 5, , , 1]` < 0.2.
Actual comparison: NaN >= 0.2
── Failure ('test-predict.R:58:1'): (code run outside of `test_that()`) ────────
Expected `all(model_partial_1$predictions == model_partial_2$predictions)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Failure ('test-predict.R:82:1'): (code run outside of `test_that()`) ────────
Expected `all(preds[1:10, , ] == model_partial_1_preds)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
[ FAIL 4 | WARN 0 | SKIP 1 | PASS 159 ]
Error:
! Test failures.
Execution halted
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels