Back to Multiple platform build/check report for BioC 3.20:   simplified   long
AB[C]DEFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2024-06-11 15:40 -0400 (Tue, 11 Jun 2024).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 22.04.3 LTS)x86_644.4.0 RC (2024-04-16 r86468) -- "Puppy Cup" 4679
palomino4Windows Server 2022 Datacenterx644.4.0 RC (2024-04-16 r86468 ucrt) -- "Puppy Cup" 4414
merida1macOS 12.7.4 Montereyx86_644.4.0 Patched (2024-04-24 r86482) -- "Puppy Cup" 4441
kjohnson1macOS 13.6.6 Venturaarm644.4.0 Patched (2024-04-24 r86482) -- "Puppy Cup" 4394
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

Package 434/2239HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
COSNet 1.39.0  (landing page)
Marco Frasca
Snapshot Date: 2024-06-09 14:00 -0400 (Sun, 09 Jun 2024)
git_url: https://git.bioconductor.org/packages/COSNet
git_branch: devel
git_last_commit: 1373425
git_last_commit_date: 2024-04-30 10:40:24 -0400 (Tue, 30 Apr 2024)
nebbiolo2Linux (Ubuntu 22.04.3 LTS) / x86_64  OK    OK    WARNINGS  UNNEEDED, same version is already published
palomino4Windows Server 2022 Datacenter / x64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published
merida1macOS 12.7.4 Monterey / x86_64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published
kjohnson1macOS 13.6.6 Ventura / arm64  OK    OK    WARNINGS    OK  UNNEEDED, same version is already published


CHECK results for COSNet on palomino4

To the developers/maintainers of the COSNet package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/COSNet.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: COSNet
Version: 1.39.0
Command: F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:COSNet.install-out.txt --library=F:\biocbuild\bbs-3.20-bioc\R\library --no-vignettes --timings COSNet_1.39.0.tar.gz
StartedAt: 2024-06-10 01:20:20 -0400 (Mon, 10 Jun 2024)
EndedAt: 2024-06-10 01:21:38 -0400 (Mon, 10 Jun 2024)
EllapsedTime: 78.7 seconds
RetCode: 0
Status:   WARNINGS  
CheckDir: COSNet.Rcheck
Warnings: 1

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:COSNet.install-out.txt --library=F:\biocbuild\bbs-3.20-bioc\R\library --no-vignettes --timings COSNet_1.39.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'F:/biocbuild/bbs-3.20-bioc/meat/COSNet.Rcheck'
* using R version 4.4.0 RC (2024-04-16 r86468 ucrt)
* using platform: x86_64-w64-mingw32
* R was compiled by
    gcc.exe (GCC) 13.2.0
    GNU Fortran (GCC) 13.2.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* using option '--no-vignettes'
* checking for file 'COSNet/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'COSNet' version '1.39.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 whether package 'COSNet' can be installed ... OK
* used C compiler: 'gcc.exe (GCC) 13.2.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 ... 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 whether startup messages can be suppressed ... NOTE
COSNet: Cost-Sensitive algorithm for binary classification in graphs.

It looks like this package (or a package it requires) has a startup
message which cannot be suppressed: see ?packageStartupMessage.
* 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 ... NOTE
File 'COSNet/R/COSNet.R':
  .onAttach calls:
    cat("COSNet: Cost-Sensitive algorithm for binary classification in graphs.\n")

Package startup functions should use 'packageStartupMessage' to
  generate messages.
See section 'Good practice' in '?.onAttach'.

generate_labels: no visible global function definition for 'runif'
Undefined global functions or variables:
  runif
Consider adding
  importFrom("stats", "runif")
to your NAMESPACE file.
* checking Rd files ... WARNING
checkRd: (7) COSNet-package.Rd:30: Invalid email address: {frasca,valentini}@di.unimi.it
checkRd: (-1) COSNet.Rd:32: Lost braces; missing escapes or markup?
    32 |                 {1) Generating a random labeling (1, -1) for unlabeled nodes. }
       |                 ^
checkRd: (-1) COSNet.Rd:33: Lost braces; missing escapes or markup?
    33 |                 {2) Learning the parameters "alpha and "c" such that the line "cos(alpha)*y - sin(alpha)*x - q*cos(alpha) = 0 " linearly separates a suitable set of labeled points (in which each point corresponds to a labeled node) and optimizes (in terms of alpha and q) the F-score criterion. The output of this phase is the intercept "q" of the optimum line and the corresponding angle "alpha". Then each neuron has threshold c = - q*cos(alpha).}
       |                 ^
checkRd: (-1) COSNet.Rd:34: Lost braces; missing escapes or markup?
    34 |                 {3) Extending "c" and "alpha" to the subnetwork composed of only unlabeled nodes, and simulating it until an equilibrium state is reached. The dynamics of this network is regularized by adding a term to the energy function that is minimized when the proportion of positive in the network state is roughly the proportion of positives in the labeled part of the network. The parameter "cost" corresponds to the parameter beta  in the equation eta = beta*|tan((alpha - pi/4)*2)| (see Frasca et al. 2013). When the equilibrium state is reached, positive nodes will be predicted as positive for the current task.}
       |                 ^
checkRd: (-1) generate_labels.Rd:26: Lost braces; missing escapes or markup?
    26 | This function generates "n" random labels in {-1, 1} drawn from the binomial distribution B(n, pos_rate)
       |                                              ^
checkRd: (-1) runSubnet.Rd:38: Lost braces; missing escapes or markup?
    38 | Function to simulate the subnetwork composed of the unlabeled genes, in which each neuron has {sin(alpha_value), -cos(alpha_value)} as activation value, and 
       |                                                                                               ^
* 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 compiled code ... NOTE
Note: information on .o files for x64 is not available
File 'F:/biocbuild/bbs-3.20-bioc/R/library/COSNet/libs/x64/COSNet.dll':
  Found '_exit', possibly from '_exit' (C)
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'rand', possibly from 'rand' (C)
  Found 'srand', possibly from 'srand' (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 sizes of PDF files under 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... OK
Examples with CPU (user + system) or elapsed time > 5s
                         user system elapsed
cosnet.cross.validation 15.52   3.68   19.28
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'runTests.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 1 WARNING, 3 NOTEs
See
  'F:/biocbuild/bbs-3.20-bioc/meat/COSNet.Rcheck/00check.log'
for details.


Installation output

COSNet.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD INSTALL COSNet
###
##############################################################################
##############################################################################


* installing to library 'F:/biocbuild/bbs-3.20-bioc/R/library'
* installing *source* package 'COSNet' ...
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 13.2.0'
gcc  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG     -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c COSNet.c -o COSNet.o
In function 'compute_c',
    inlined from 'error_minimization' at COSNet.c:456:2:
COSNet.c:207:36: warning: 'theta_best_over' may be used uninitialized [-Wmaybe-uninitialized]
  207 |                 c_values[j] = y1 - tan(theta_best)*x1;
      |                                    ^~~~~~~~~~~~~~~
COSNet.c: In function 'error_minimization':
COSNet.c:409:16: note: 'theta_best_over' was declared here
  409 |         double theta_best_over, theta_best_under=0,tmp_hmean_under, tmp_hmean_over;
      |                ^~~~~~~~~~~~~~~
gcc -shared -s -static-libgcc -o COSNet.dll tmp.def COSNet.o -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib -LF:/biocbuild/bbs-3.20-bioc/R/bin/x64 -lR
installing to F:/biocbuild/bbs-3.20-bioc/R/library/00LOCK-COSNet/00new/COSNet/libs/x64
** 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
COSNet: Cost-Sensitive algorithm for binary classification in graphs.
** testing if installed package can be loaded from final location
COSNet: Cost-Sensitive algorithm for binary classification in graphs.
** testing if installed package keeps a record of temporary installation path
* DONE (COSNet)

Tests output

COSNet.Rcheck/tests/runTests.Rout


R version 4.4.0 RC (2024-04-16 r86468 ucrt) -- "Puppy Cup"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

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.

> BiocGenerics:::testPackage("COSNet")
COSNet: Cost-Sensitive algorithm for binary classification in graphs.
0.542 


RUNIT TEST PROTOCOL -- Mon Jun 10 01:21:26 2024 
*********************************************** 
Number of test functions: 9 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
COSNet RUnit Tests - 9 test functions, 0 errors, 0 failures
Number of test functions: 9 
Number of errors: 0 
Number of failures: 0 
> 
> proc.time()
   user  system elapsed 
   0.43    0.68    1.01 

Example timings

COSNet.Rcheck/COSNet-Ex.timings

nameusersystemelapsed
COSNet0.590.160.77
cosnet.cross.validation15.52 3.6819.28
find.division.not.strat000
find.division.strat000
generate_labels000
generate_points000
optimize_pos_above0.340.210.55
optimizep0.360.090.45
reg_data0.530.140.67
runSubnet0.330.140.47