- 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 ‘RSiena/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘RSiena’ version ‘1.0.12.198’
- 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 ‘RSiena’ can be installed ... OK
- checking installed package size ... NOTE
installed size is 7.3Mb
sub-directories of 1Mb or more:
libs 5.4Mb
- 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 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 ... 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 ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking examples ... [34s/34s] OK
- checking for unstated dependencies in tests ... OK
- checking tests ... [16s/16s] OK
Running ‘parallel.R’ [15s/15s]
Comparing ‘parallel.Rout’ to ‘parallel.Rout.save’ ... OK
Running ‘scripts.R’ [0s/0s]
Comparing ‘scripts.Rout’ to ‘scripts.Rout.save’ ...5a6,104
> >
> > runone <- function(f)
> + {
> + message(" Running ", sQuote(basename(f)))
> + outfile <- paste(basename(f), "out", sep = "")
> + failfile <- paste(outfile, "fail", sep=".")
> + unlink(c(outfile, failfile))
> + cmd <- paste(shQuote(file.path(R.home(), "bin", "R")),
> + "CMD BATCH --vanilla",
> + shQuote(f), shQuote(outfile))
> + res <- system(cmd)
> + if (res) {
> + cat(tail(readLines(outfile), 20), sep="\n")
> + file.rename(outfile, failfile)
> + return(1L)
> + }
> + 0L
> + }
> >
> >
> > ##library(RSienaTest)
> > ## get the data files
> > datafiles <- system.file("examples", package="RSiena")
> > files1 <- list.files(datafiles, pattern="\\.dat$", full.names=TRUE)
> > file.copy(files1, ".", overwrite=TRUE)
> [1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
> [16] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
> [31] TRUE TRUE
> > files1 <- list.files(datafiles, pattern="\\.DAT$", full.names=TRUE)
> > file.copy(files1, ".", overwrite=TRUE)
> [1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
> [16] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
> >
> > ## write some initialisation data
> > unlink("scriptfile.R")
> > writeLines(c("options(error=NULL)", "set.seed(1)",
> + "options(help_type='text')", "#print(.libPaths())"), "scriptfile.R")
> > if (.Platform$OS.type == "windows")
> + {
> + cat("options(pager='console')\n", file="scriptfile.R", append=TRUE)
> + }
> > ## now concatenate the scripts
> > dd <- system.file("scripts", package="RSiena")
> > files <- list.files(dd, pattern="\\.R$", full.names=TRUE)
> > for (f in files)
> + {
> + if (!grepl("SNA", f))
> + {
> + file.append("scriptfile.R", f)
> + }
> + }
> >
> > ## now run it
> > res <- 0L
> > runone("scriptfile.R")
> Running 'scriptfile.R'
> [1] 0
> >
> > ## now look at the differences
> > ## code within extra braces because we execute it in batch mode
> > {if (.Platform$OS.type == "windows")
> + {
> + previousFile <- "scriptfile.Rout.win"
> + }
> + else
> + {
> + previousFile <- "scriptfile.Rout.save"
> + }}
> > #system("diff scriptfile.Rout scriptfile.Rout.save")
> > library(tools)
> > Rdiff("scriptfile.Rout", previousFile)
>
> 490c490
> < Packaged: 2012-01-20 15:00:55 UTC; ruth
> ---
> > Packaged: 2012-01-20 14:53:50 UTC; ruth
> 492c492
> < 15:01:02 UTC; unix
> ---
> > 14:54:06 UTC; unix
> 2686c2686
> < % Fri Jan 20 15:04:14 2012
> ---
> > % Fri Jan 20 14:57:23 2012
> 2714c2714
> < <!-- Fri Jan 20 15:04:14 2012 -->
> ---
> > <!-- Fri Jan 20 14:57:23 2012 -->
> [1] 1
> >
> > proc.time()
> user system elapsed
> 86.492 0.276 88.932
> >
> > if (res > 0)
> + {
> + stop("scripts failed")
> + }
> >
- checking PDF version of manual ... OK
NOTE: There was 1 note.
See
‘/home/hornik/tmp/R.check/r-devel/Work/PKGS/RSiena.Rcheck/00check.log’
for details.