- using R Under development (unstable) (2012-02-06 r58287)
- using platform: i686-pc-linux-gnu (32-bit)
- using session charset: UTF-8
- checking for file ‘catspec/DESCRIPTION’ ... OK
- this is package ‘catspec’ version ‘0.95’
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... NOTE
As from R 2.14.0 all packages need a namespace.
One will be generated on installation, but it is better to handcraft a
NAMESPACE file: R CMD build will produce a suitable starting point.
- checking for executable files ... OK
- checking whether package ‘catspec’ can be installed ... 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 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 Rd contents ... OK
- checking for unstated dependencies in examples ... WARNING
‘library’ or ‘require’ calls not declared from:
‘nnet’ ‘survival’
‘data(package=)’ call not declared from: ‘MASS’
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... ERROR
Running examples in ‘catspec-Ex.R’ failed
The error most likely occurred in:
> ### Name: mclgen
> ### Title: Restructure a data-frame as a person-choice file
> ### Aliases: mclgen
> ### Keywords: multivariate
>
> ### ** Examples
>
> ## Example 1
> # data from the Data from the 1972-78 GSS used by Logan (1983)
> data(logan)
>
> # create the "person-choice" file
> pc<-mclgen(logan,occ)
The following object(s) are masked from 'logan':
black, educ, focc, occ
> summary(pc)
occ.1 focc.1 educ.1 black.1
farm : 95 farm : 460 Min. : 2.00 non-black:3820
operatives :1085 operatives :1175 1st Qu.:12.00 black : 370
craftsmen :1010 craftsmen :1160 Median :13.00
sales : 525 sales : 410 Mean :13.58
professional:1475 professional: 985 3rd Qu.:16.00
Max. :20.00
occ.2 focc.2 educ.2 black.2
farm : 95 farm : 460 Min. : 2.00 non-black:3820
operatives :1085 operatives :1175 1st Qu.:12.00 black : 370
craftsmen :1010 craftsmen :1160 Median :13.00
sales : 525 sales : 410 Mean :13.58
professional:1475 professional: 985 3rd Qu.:16.00
Max. :20.00
occ.3 focc.3 educ.3 black.3
farm : 95 farm : 460 Min. : 2.00 non-black:3820
operatives :1085 operatives :1175 1st Qu.:12.00 black : 370
craftsmen :1010 craftsmen :1160 Median :13.00
sales : 525 sales : 410 Mean :13.58
professional:1475 professional: 985 3rd Qu.:16.00
Max. :20.00
occ.4 focc.4 educ.4 black.4
farm : 95 farm : 460 Min. : 2.00 non-black:3820
operatives :1085 operatives :1175 1st Qu.:12.00 black : 370
craftsmen :1010 craftsmen :1160 Median :13.00
sales : 525 sales : 410 Mean :13.58
professional:1475 professional: 985 3rd Qu.:16.00
Max. :20.00
newy occ focc educ
Min. :1 farm :838 farm : 460 Min. : 2.00
1st Qu.:2 operatives :838 operatives :1175 1st Qu.:12.00
Median :3 craftsmen :838 craftsmen :1160 Median :13.00
Mean :3 sales :838 sales : 410 Mean :13.58
3rd Qu.:4 professional:838 professional: 985 3rd Qu.:16.00
Max. :5 Max. :20.00
black id depvar
non-black:3820 Min. : 1.0 Min. :0.0
black : 370 1st Qu.:210.0 1st Qu.:0.0
Median :419.5 Median :0.0
Mean :419.5 Mean :0.2
3rd Qu.:629.0 3rd Qu.:0.0
Max. :838.0 Max. :1.0
> attach(pc)
The following object(s) are masked from 'datamat':
black, educ, focc, occ
The following object(s) are masked from 'logan':
black, educ, focc, occ
>
> library(survival)
Error in library(survival) : there is no package called ‘survival’
Execution halted