| Back to Build/check report for BioC 3.18: simplified long |
|
This page was generated on 2023-06-06 11:00:44 -0000 (Tue, 06 Jun 2023).
| Hostname | OS | Arch (*) | R version | Installed pkgs |
|---|---|---|---|---|
| kunpeng2 | Linux (openEuler 22.03 LTS-SP1) | aarch64 | 4.3.0 (2023-04-21) -- "Already Tomorrow" | 4366 |
| Click on any hostname to see more info about the system (e.g. compilers) (*) as reported by 'uname -p', except on Windows and Mac OS X | ||||
|
To the developers/maintainers of the ternarynet package: - Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/ternarynet.git to reflect on this report. See Troubleshooting Build Report for more information. - Use the following Renviron settings to reproduce errors and warnings. Note: If "R CMD check" recently failed on the Linux builder over a missing dependency, add the missing dependency to "Suggests" in your DESCRIPTION file. See the Renviron.bioc for details. |
| Package 2055/2199 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||||
| ternarynet 1.45.0 (landing page) McCall N. Matthew
| kunpeng2 | Linux (openEuler 22.03 LTS-SP1) / aarch64 | OK | OK | WARNINGS | |||||||||
| Package: ternarynet |
| Version: 1.45.0 |
| Command: /home/biocbuild/R/R-4.3.0/bin/R CMD check --install=check:ternarynet.install-out.txt --library=/home/biocbuild/R/R-4.3.0/site-library --timings ternarynet_1.45.0.tar.gz |
| StartedAt: 2023-06-06 08:26:27 -0000 (Tue, 06 Jun 2023) |
| EndedAt: 2023-06-06 08:27:20 -0000 (Tue, 06 Jun 2023) |
| EllapsedTime: 53.1 seconds |
| RetCode: 0 |
| Status: WARNINGS |
| CheckDir: ternarynet.Rcheck |
| Warnings: 1 |
##############################################################################
##############################################################################
###
### Running command:
###
### /home/biocbuild/R/R-4.3.0/bin/R CMD check --install=check:ternarynet.install-out.txt --library=/home/biocbuild/R/R-4.3.0/site-library --timings ternarynet_1.45.0.tar.gz
###
##############################################################################
##############################################################################
* using log directory ‘/home/biocbuild/bbs-3.18-bioc/meat/ternarynet.Rcheck’
* using R version 4.3.0 (2023-04-21)
* using platform: aarch64-unknown-linux-gnu (64-bit)
* R was compiled by
gcc (GCC) 10.3.1
GNU Fortran (GCC) 10.3.1
* running under: openEuler 22.03 (LTS-SP1)
* using session charset: UTF-8
* checking for file ‘ternarynet/DESCRIPTION’ ... OK
* this is package ‘ternarynet’ version ‘1.45.0’
* 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 for sufficient/correct file permissions ... OK
* checking whether package ‘ternarynet’ can be installed ... OK
* used C compiler: ‘gcc (GCC) 10.3.1’
* used C++ compiler: ‘g++ (GCC) 10.3.1’
* 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 R 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 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 compiled code ... WARNING
Note: information on .o files is not available
File ‘/home/biocbuild/R/R-4.3.0/site-library/ternarynet/libs/ternarynet.so’:
Found ‘sprintf’, possibly from ‘sprintf’ (C)
Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf. The detected symbols are linked into
the code but might come from libraries and not actually be called.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
Running ‘test_smallmodel.R’
Running ‘test_smallmodel_2.R’
OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
‘ternarynet.Rnw’... OK
OK
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE
Status: 1 WARNING
See
‘/home/biocbuild/bbs-3.18-bioc/meat/ternarynet.Rcheck/00check.log’
for details.
ternarynet.Rcheck/00install.out
############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/R/R-4.3.0/bin/R CMD INSTALL ternarynet ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/R/R-4.3.0/site-library’ * installing *source* package ‘ternarynet’ ... ** using staged installation ** libs using C compiler: ‘gcc (GCC) 10.3.1’ using C++ compiler: ‘g++ (GCC) 10.3.1’ gcc -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c array.c -o array.o gcc -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c gn.c -o gn.o gcc -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c gn_Rwrap.c -o gn_Rwrap.o gcc -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c init.c -o init.o g++ -std=gnu++17 -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c tnetfit.cc -o tnetfit.o g++ -std=gnu++17 -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c tnetfuncs.cc -o tnetfuncs.o g++ -std=gnu++17 -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c tnetpost.cc -o tnetpost.o gcc -I"/home/biocbuild/R/R-4.3.0/include" -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c util.c -o util.o g++ -std=gnu++17 -shared -L/home/biocbuild/R/R-4.3.0/lib -L/usr/local/lib -o ternarynet.so array.o gn.o gn_Rwrap.o init.o tnetfit.o tnetfuncs.o tnetpost.o util.o -L/home/biocbuild/R/R-4.3.0/lib -lR installing to /home/biocbuild/R/R-4.3.0/site-library/00LOCK-ternarynet/00new/ternarynet/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (ternarynet)
ternarynet.Rcheck/tests/test_smallmodel.Rout
R version 4.3.0 (2023-04-21) -- "Already Tomorrow"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-unknown-linux-gnu (64-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.
> library(testthat)
> library(ternarynet)
>
> smallmodel_score <- function() {
+
+ library(ternarynet)
+
+ i_exp <- as.integer(c(0,0,0, 0,0,0, 0,0,0, 0,0,0,
+ 1,1,1, 1,1,1, 1,1,1, 1,1,1,
+ 2,2,2, 2,2,2, 2,2,2, 2,2,2,
+ 3,3,3, 3,3,3, 3,3,3, 3,3,3,
+ 4,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ALSE,FALSE,
+ FALSE,FALSE,FALSE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE, FALSE,FALSE,FALSE,
+ FALSE,FALSE,FALSE, FALSE,FALSE,FALSE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE,
+ TRUE,TRUE,TRUE, FALSE,FALSE,FALSE, FALSE,FALSE,FALSE, FALSE,FALSE,FALSE,
+ FALSE,FALSE,FALSE, TRUE,TRUE,TRUE, FALSE,FALSE,FALSE, FALSE,FALSE,FALSE,
+ FALSE,FALSE,FALSE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE, FALSE,FALSE,FALSE,
+ FALSE,FALSE,FALSE, FALSE,FALSE,FALSE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE)
+
+ indata <- data.frame(i_exp,i_node,outcome,value,is_perturbation)
+
+ results <- parallelFit(indata,
+ max_parents=1,
+ n_cycles=1000000,
+ n_write=10,
+ T_lo=0.001,
+ T_hi=1.0,
+ target_score=0,
+ n_proc=1,
+ logfile='try.log')
+
+ lowest_temp_results <- results[[1]]
+
+ lowest_temp_results$unnormalized_score
+
+ }
>
> test_that("smallmodel", {
+ expect_true(smallmodel_score() == 0)
+ })
Test passed 🥳
>
> proc.time()
user system elapsed
1.579 0.053 1.622
ternarynet.Rcheck/tests/test_smallmodel_2.Rout
R version 4.3.0 (2023-04-21) -- "Already Tomorrow"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-unknown-linux-gnu (64-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.
> library(testthat)
> library(ternarynet)
>
> smallmodel_2_score <- function() {
+
+ library(ternarynet)
+
+ i_exp <- as.integer(c(0,0,0, 0,0,0, 0,0,0,
+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TRUE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE,
+ TRUE,TRUE,TRUE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE,
+ FALSE,FALSE,FALSE, TRUE,TRUE,TRUE, TRUE,TRUE,TRUE,
+ FALSE,FALSE,FALSE, TRUE,TRUE,TRUE, TRUE,TRUE,TRUE,
+ TRUE,TRUE,TRUE, TRUE,TRUE,TRUE, FALSE,FALSE,FALSE,
+ TRUE,TRUE,TRUE, TRUE,TRUE,TRUE, FALSE,FALSE,FALSE,
+ TRUE,TRUE,TRUE, TRUE,TRUE,TRUE, FALSE,FALSE,FALSE,
+ TRUE,TRUE,TRUE, TRUE,TRUE,TRUE, FALSE,FALSE,FALSE,
+ TRUE,TRUE,TRUE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE,
+ TRUE,TRUE,TRUE, FALSE,FALSE,FALSE, TRUE,TRUE,TRUE,
+ FALSE,FALSE,FALSE, TRUE,TRUE,TRUE, TRUE,TRUE,TRUE,
+ FALSE,FALSE,FALSE, TRUE,TRUE,TRUE, TRUE,TRUE,TRUE)
+
+ indata <- data.frame(i_exp,i_node,outcome,value,is_perturbation)
+
+ results <- parallelFit(indata,
+ max_parents=2,
+ n_cycles=1000000,
+ n_write=10,
+ T_lo=0.001,
+ T_hi=2.0,
+ target_score=0,
+ n_proc=1,
+ logfile='try2.log')
+
+ lowest_temp_results <- results[[1]]
+
+ lowest_temp_results$unnormalized_score
+
+ }
>
> test_that("smallmodel_2", {
+ expect_true(smallmodel_2_score() == 0)
+ })
Test passed 😀
>
> proc.time()
user system elapsed
1.989 0.061 2.042
ternarynet.Rcheck/ternarynet-Ex.timings
| name | user | system | elapsed | |
| attractorSummary | 2.153 | 0.000 | 2.154 | |
| graphPosterior | 2.127 | 0.000 | 2.128 | |
| parallelFit | 0.234 | 0.000 | 0.237 | |
| plotFit | 2.167 | 0.012 | 2.182 | |
| plotPost | 2.146 | 0.000 | 2.149 | |
| plotTraces | 2.127 | 0.000 | 2.130 | |
| predictAttractor | 2.127 | 0.004 | 2.133 | |
| simulateSteadyState | 0.002 | 0.000 | 0.001 | |
| ternaryFit-class | 2.127 | 0.000 | 2.128 | |
| ternaryFitParameters-class | 0.002 | 0.000 | 0.001 | |
| ternaryPost-class | 2.120 | 0.004 | 2.126 | |
| tnetfit | 2.124 | 0.000 | 2.125 | |
| tnetpost | 2.124 | 0.000 | 2.125 | |