- using R Under development (unstable) (2012-02-27 r58511)
- using platform: x86_64-pc-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'spef/DESCRIPTION' ... OK
- this is package 'spef' version '0.1-7'
- 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 whether package 'spef' can be installed ... OK
- checking installed package size ... 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
- loading checks for arch 'i386'
** 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
- loading checks for arch 'x64'
** 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 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
doPanelFit.MLs: no visible global function definition for 'ddply'
doPanelFit.MPLs: no visible global function definition for 'ddply'
doPanelFit.MPLs: no visible binding for global variable 'count'
doPanelFit.SWb: no visible global function definition for 'ddply'
doPanelFit.SWc: no visible global function definition for 'ddply'
panelReg: no visible global function definition for 'ddply'
plot.PanelSurv: no visible binding for global variable 'ID'
plot.PanelSurv: no visible binding for global variable 'count'
- 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 examples ...
** running examples for arch 'i386' ... ERROR
Running examples in 'spef-Ex.R' failed
The error most likely occurred in:
> ### Name: blaTum
> ### Title: Bladder Tumors Cancer Recurrences
> ### Aliases: blaTum
> ### Keywords: survival panel count
>
> ### ** Examples
>
> # Load data set
> data(blaTum)
>
> # Plot bladder tumor data
> ggplot(blaTum, aes(time, id)) + geom_tile(aes(fill=count)) +
+ facet_grid(treatment ~ ., scales="free_y", )
>
> # Fit a semiparametric regression model
> formula <- PanelSurv(id, time, count) ~ num + size + treatment
> fit <- panelReg(formula, data=blaTum, method="AEE", se="Sandwich")
Error in as.matrix(ddply(DF, "ID", head, n = 1)[, -c(1:3)]) :
could not find function "ddply"
Calls: panelReg -> as.matrix
Execution halted
** running examples for arch 'x64' ... ERROR
Running examples in 'spef-Ex.R' failed
The error most likely occurred in:
> ### Name: blaTum
> ### Title: Bladder Tumors Cancer Recurrences
> ### Aliases: blaTum
> ### Keywords: survival panel count
>
> ### ** Examples
>
> # Load data set
> data(blaTum)
>
> # Plot bladder tumor data
> ggplot(blaTum, aes(time, id)) + geom_tile(aes(fill=count)) +
+ facet_grid(treatment ~ ., scales="free_y", )
>
> # Fit a semiparametric regression model
> formula <- PanelSurv(id, time, count) ~ num + size + treatment
> fit <- panelReg(formula, data=blaTum, method="AEE", se="Sandwich")
Error in as.matrix(ddply(DF, "ID", head, n = 1)[, -c(1:3)]) :
could not find function "ddply"
Calls: panelReg -> as.matrix
Execution halted