############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.19-bioc/R/bin/R CMD check --install=check:COSNet.install-out.txt --library=/home/biocbuild/bbs-3.19-bioc/R/site-library --timings COSNet_1.38.0.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/home/biocbuild/bbs-3.19-bioc/meat/COSNet.Rcheck’ * using R version 4.4.0 (2024-04-24) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 * running under: Ubuntu 22.04.4 LTS * using session charset: UTF-8 * checking for file ‘COSNet/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘COSNet’ version ‘1.38.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 ‘COSNet’ can be installed ... OK * used C compiler: ‘gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.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 loading without being on the library search path ... 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 is not available File ‘/home/biocbuild/bbs-3.19-bioc/R/site-library/COSNet/libs/COSNet.so’: 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 files in ‘vignettes’ ... OK * checking examples ... OK Examples with CPU (user + system) or elapsed time > 5s user system elapsed cosnet.cross.validation 14.953 0.375 15.331 * 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 re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE Status: 1 WARNING, 3 NOTEs See ‘/home/biocbuild/bbs-3.19-bioc/meat/COSNet.Rcheck/00check.log’ for details.