• using R version 2.11.0 Under development (unstable) (2009-11-24 r50554)
  • using session charset: UTF-8
  • checking for file 'oc/DESCRIPTION' ... OK
  • this is package 'oc' version '0.04'
  • checking package name space information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking for executable files ... OK
  • checking whether package 'oc' can be installed ... 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 name space can be loaded with stated dependencies ... OK
  • checking whether the name space can be unloaded cleanly ... 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 ... 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 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 compilation flags in Makevars ... OK
  • checking for portable use of $BLAS_LIBS ... OK
  • checking examples ... ERROR
    Running examples in 'oc-Ex.R' failed.
    The error most likely occurred in:

    > ### * UN
    >
    > flush(stderr()); flush(stdout())
    >
    > ### Name: UN
    > ### Title: United Nations Vote Data
    > ### Aliases: UN
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > #The same data set can be obtained from downloading the UN.csv
    > #file from www.voteview.com and reading it as follows:
    > #UN<-read.csv("C:/UN.csv",header=FALSE,strip.white=TRUE)
    >
    > data(UN)
    > UN<-as.matrix(UN)
    > UN[1:5,1:6]
    V1 V2 V3 V4 V5 V6
    1 "United States" "Other" "1" "6" "6" "6"
    2 "Canada" "Other" "6" "6" "6" "6"
    3 "Cuba" "Other" "1" "6" "1" "1"
    4 "Haiti" "Other" "1" "6" "6" "9"
    5 "Dominican Rep" "Other" "1" "6" "6" "7"
    >
    > UNnames<-UN[,1]
    > legData<-matrix(UN[,2],length(UN[,2]),1)
    > colnames(legData)<-"party"
    > UN<-UN[,-c(1,2)]
    >
    > rc <- rollcall(UN, yea=c(1,2,3), nay=c(4,5,6),
    + missing=c(7,8,9),notInLegis=0, legis.names=UNnames,
    + legis.data=legData,
    + desc="UN Votes",
    + source="www.voteview.com")
    >
    > result<-oc(rc,polarity=1,dims=1)

    Preparing to run Optimal Classification...

    Checking data...

    All members meet minimum vote requirements.

    Votes dropped:
    ... 18 of 237 total votes dropped.

    Running Optimal Classification...

    Generating Start Coordinates...