* using log directory 'd:/Rcompile/CRANpkg/local/2.10/NMF.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: ISO8859-1 * checking for file 'NMF/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'NMF' version '0.5.02' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'NMF' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level 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 name space can be loaded with stated dependencies ... OK * checking for unstated 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 nmf.stop.consensus: no visible global function definition for 'staticVar' nmf.stop.stationary: no visible global function definition for 'staticVar' * 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 data for non-ASCII characters ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking for portable use of $BLAS_LIBS ... OK * checking examples ... ERROR Running examples in 'NMF-Ex.R' failed. The error most likely occurred in: > ### * fcnnls > > flush(stderr()); flush(stdout()) > > ### Name: fcnnls > ### Title: Fast Combinatorial Non-Negative Least-Square > ### Aliases: fcnnls fcnnls,matrix,matrix-method > ### fcnnls,numeric,matrix-method fcnnls,ANY,numeric-method > ### Keywords: optimize multivariate regression > > ### ** Examples > > ## Define a random non-negative matrix matrix > n <- 200; p <- 20; r <- 3 > V <- matrix(runif(n*p), n, p) > > ## Compute the optimal matrix K for a given X matrix > X <- matrix(runif(n*r), n, r) > res <- fcnnls(X, V) Error in .local(x, y, ...) : could not find function "norm" Calls: fcnnls -> fcnnls -> .local Execution halted