- 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 ‘relsurv/DESCRIPTION’ ... OK
- this is package ‘relsurv’ version ‘1.6.4’
- 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 ‘relsurv’ 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 ... NOTE
glmxp: warning in assign(".ps", grm1$ps, env = .GlobalEnv): partial
argument match of 'env' to 'envir'
glmxp: warning in assign(".dstar", grm1$dstar, env = .GlobalEnv):
partial argument match of 'env' to 'envir'
glmxp: no visible binding for global variable ‘lny’
print.summary.rsadd: warning in symnum(correl, abbr.col = NULL):
partial argument match of 'abbr.col' to 'abbr.colnames'
rformulate: warning in match.call(expand = FALSE): partial argument
match of 'expand' to 'expand.dots'
rs.survo: warning in match.call(expand = FALSE): partial argument match
of 'expand' to 'expand.dots'
rs.zph: no visible global function definition for ‘survfit.km’
- 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 ... ERROR
Running examples in ‘relsurv-Ex.R’ failed
The error most likely occurred in:
> ### Name: epa
> ### Title: Excess hazard function smoothing
> ### Aliases: epa kern Kern
> ### Keywords: survival
>
> ### ** Examples
>
> data(slopop)
> data(rdata)
> #fit an additive model with the EM method
> fit <- rsadd(Surv(time,cens)~sex+age+ratetable(age=age*365,
+ sex=sex,year=year), ratetable=slopop,data=rdata,int=5,method="EM")
Error in .C("pyears3", as.integer(death), as.integer(nrow(x)), as.integer(length(atts$dim)), :
C symbol name "pyears3" not in DLL for package "survival"
Calls: rsadd -> em -> srvxp.fit -> .C
Execution halted