- using R Under development (unstable) (2012-05-22 r59405)
- using platform: x86_64-unknown-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘rrcov/DESCRIPTION’ ... OK
- this is package ‘rrcov’ version ‘1.3-01’
- 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 whether package ‘rrcov’ can be installed ... [9s/12s] OK
- checking installed package size ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... 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 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 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
File ‘rrcov/R/zzz.R’:
.onLoad calls:
require("methods")
cat(paste(title, " (version ", ver, ")\n", sep = ""))
Package startup functions should not change the search path.
Package startup functions should use ‘packageStartupMessage’ to
generate messages.
See section ‘Good practice’ in ?.onAttach.
..covSBic: warning in determinant(cov, log = FALSE): partial argument
match of 'log' to 'logarithm'
..covSRocke: warning in determinant(cov, log = FALSE): partial argument
match of 'log' to 'logarithm'
CovMest: warning in determinant(mest$s, log = FALSE): partial argument
match of 'log' to 'logarithm'
CovMve: warning in determinant(xcov$cov, log = TRUE): partial argument
match of 'log' to 'logarithm'
covMest: warning in determinant(mest$s, log = FALSE): partial argument
match of 'log' to 'logarithm'
- 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking for portable compilation flags in Makevars ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking compiled code ... NOTE
File ‘/data/gannet/tmp/ripley/R/packages/tests-devel/rrcov.Rcheck/rrcov/libs/rrcov.so’:
Found ‘_gfortran_stop_string’, possibly from ‘stop’ (Fortran)
Object: ‘fsada.o’
Compiled code should not call functions which might terminate R nor
write to stdout/stderr instead of to the console.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... NOTE
The following files are already in R: ‘jss.bst’, ‘jss.cls’
Please remove them from your package.
- checking examples ... ERROR
Running examples in ‘rrcov-Ex.R’ failed
The error most likely occurred in:
> ### Name: LdaPP
> ### Title: Robust Linear Discriminant Analysis by Projection Pursuit
> ### Aliases: LdaPP LdaPP.formula LdaPP.default
> ### Keywords: robust multivariate
>
> ### ** Examples
>
>
> ##
> ## Function to plot a LDA separation line
> ##
> lda.line <- function(lda, ...)
+ {
+ ab <- lda@ldf[1,] - lda@ldf[2,]
+ cc <- lda@ldfconst[1] - lda@ldfconst[2]
+ abline(a=-cc/ab[2], b=-ab[1]/ab[2],...)
+ }
>
> data(pottery)
> x <- pottery[,c("MG", "CA")]
> grp <- pottery$origin
> col <- c(3,4)
> gcol <- ifelse(grp == "Attic", col[1], col[2])
> gpch <- ifelse(grp == "Attic", 16, 1)
>
> ##
> ## Reproduce Fig. 2. from Pires and branco (2010)
> ##
> require(ellipse)
Loading required package: ellipse
> plot(CA~MG, data=pottery, col=gcol, pch=gpch)
>
> ppc <- LdaPP(x, grp, method="class", optim=TRUE)
> lda.line(ppc, col=1, lwd=2, lty=1)
>
> pph <- LdaPP(x, grp, method="huber",optim=TRUE)
> lda.line(pph, col=3, lty=3)
>
> pps <- LdaPP(x, grp, method="sest", optim=TRUE)
> lda.line(pps, col=4, lty=4)
>
> ppm <- LdaPP(x, grp, method="mad", optim=TRUE)
> lda.line(ppm, col=5, lty=5)
>
> rlda <- Linda(x, grp, method="mcd")
> lda.line(rlda, col=6, lty=1)
>
> fsa <- Linda(x, grp, method="fsa")
Error in .wcovMwcd(x, grouping, alpha = alpha, trace = trace) :
array over-run in .Fortran("fsada") in integer argument 14
Calls: Linda -> Linda.default -> .wcovMwcd -> .Fortran
Execution halted