* using log directory 'd:/Rcompile/CRANpkg/local/2.13/bit64.Rcheck' * using R version 2.13.2 (2011-09-30) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'bit64/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'bit64' version '0.8-3' * package encoding: latin1 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'bit64' 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 identical.integer64: possible error in identical(x = x, y = y, num.eq = num.eq, single.NA = single.NA, attrib.as.set = attrib.as.set, ignore.bytecode = ignore.bytecode): unused argument(s) (ignore.bytecode = ignore.bytecode) * 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 line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'bit64-Ex.R' failed The error most likely occurred in: > ### Name: bit64-package > ### Title: A S3 class for vectors of 64bit integers > ### Aliases: bit64-package bit64 integer64 is.integer64 > ### is.integer.integer64 is.vector.integer64 as.vector.integer64 > ### length<-.integer64 print.integer64 > ### Keywords: package classes manip > > ### ** Examples > > message("Using integer64 in vector") Using integer64 in vector > x <- integer64(8) # create 64 bit vector > x integer64 [1] 0 0 0 0 0 0 0 0 > is.atomic(x) # TRUE [1] TRUE > is.integer64(x) # TRUE [1] TRUE > is.numeric(x) # TRUE [1] TRUE > is.integer(x) # FALSE - debatable [1] FALSE > is.double(x) # FALSE - might change [1] TRUE > x[] <- 1:2 # assigned value is recycled as usual > x[1:6] # subscripting as usual integer64 [1] 1 2 1 2 1 2 > length(x) <- 13 # changing length as usual > x integer64 [1] 1 2 1 2 1 2 1 2 0 0 0 0 0 > rep(x, 2) # replicate as usual integer64 [1] 1 2 1 2 1 2 1 2 0 0 0 0 0 1 2 1 2 1 2 1 2 0 0 0 0 0 > seq(as.integer64(1), 10) # seq.integer64 is dispatched on first given argument integer64 [1] 1 2 3 4 5 6 7 8 9 10 > seq(to=as.integer64(10), 1) # seq.integer64 is dispatched on first given argument integer64 [1] 1 2 3 4 5 6 7 8 9 10 > seq.integer64(along.with=x) # or call seq.integer64 directly integer64 [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 > x <- c(x,runif(length(x), max=100)) # c.integer64 is dispatched only if *first* argument is integer64 ... > x # ... and coerces everything to integer64 - including double integer64 [1] 1 2 1 2 1 2 1 2 0 0 0 0 0 26 37 57 90 20 89 94 66 62 6 20 17 [26] 68 > names(x) <- letters # use names as usual > x integer64 a b c d e f g h i j k l m n o p q r s t u v w x y z 1 2 1 2 1 2 1 2 0 0 0 0 0 26 37 57 90 20 89 94 66 62 6 20 17 68 > > message("Using integer64 in array - note that 'matrix' currently does not work") Using integer64 in array - note that 'matrix' currently does not work > y <- array(as.integer64(NA), dim=c(3,4), dimnames=list(letters[1:3], LETTERS[1:4])) > y["a",] <- 1:2 # assigning as usual > y integer64 A B C D a 1 2 1 2 b c > y[1:2,-4] # subscripting as usual integer64 A B C a 1 2 1 b > cbind(E=1:3, F=runif(3, 0, 100), G=c("-1","0","1"), y) # cbind.integer64 dispatched on any argument and coerces everything to integer64 integer64 E F G A B C D a 1 38 -1 1 2 1 2 b 2 76 0 c 3 49 1 > > message("Using integer64 in data.frame") Using integer64 in data.frame > str(as.data.frame(x)) 'data.frame': 26 obs. of 1 variable: $ x:Class 'integer64' num [1:26] 4.94e-324 9.88e-324 4.94e-324 9.88e-324 4.94e-324 ... > str(as.data.frame(y)) 'data.frame': 3 obs. of 4 variables: $ A:Class 'integer64' num [1:3] 4.94e-324 0.00 0.00 $ B:Class 'integer64' num [1:3] 9.88e-324 0.00 0.00 $ C:Class 'integer64' num [1:3] 4.94e-324 0.00 0.00 $ D:Class 'integer64' num [1:3] 9.88e-324 0.00 0.00 > str(data.frame(y)) 'data.frame': 3 obs. of 4 variables: $ A:Class 'integer64' num [1:3] 4.94e-324 0.00 0.00 $ B:Class 'integer64' num [1:3] 9.88e-324 0.00 0.00 $ C:Class 'integer64' num [1:3] 4.94e-324 0.00 0.00 $ D:Class 'integer64' num [1:3] 9.88e-324 0.00 0.00 > str(data.frame(I(y))) 'data.frame': 3 obs. of 1 variable: $ y: AsIs [1:3, 1:4] 1 NA NA 2 NA NA 1 NA NA 2 ... ..- attr(*, "dimnames")=List of 2 .. ..$ : chr "a" "b" "c" .. ..$ : chr "A" "B" "C" "D" ..- attr(*, "class")= chr "AsIs" "integer64" > d <- data.frame(x=x, y=runif(length(x), 0, 100)) > d x y a 1 71.761851 b 2 99.190609 c 1 38.003518 d 2 77.744522 e 1 93.470523 f 2 21.214252 g 1 65.167377 h 2 12.555510 i 0 26.722067 j 0 38.611409 k 0 1.339033 l 0 38.238796 m 0 86.969085 n 26 34.034900 o 37 48.208012 p 57 59.956583 q 90 49.354131 r 20 18.621760 s 89 82.737332 t 94 66.846674 u 66 79.423986 v 62 10.794363 w 6 72.371095 x 20 41.127443 y 17 82.094629 z 68 64.706019 > d$x integer64 [1] 1 2 1 2 1 2 1 2 0 0 0 0 0 26 37 57 90 20 89 94 66 62 6 20 17 [26] 68 > > message("Using integer64 with csv files") Using integer64 with csv files > fi64 <- tempfile() > write.csv(d, file=fi64, row.names=FALSE) > e <- read.csv(fi64, colClasses=c("integer64", NA)) > unlink(fi64) > str(e) 'data.frame': 26 obs. of 2 variables: $ x:Class 'integer64' num [1:26] 4.94e-324 9.88e-324 4.94e-324 9.88e-324 4.94e-324 ... $ y: num 71.8 99.2 38 77.7 93.5 ... > identical.integer64(d$x,e$x) Error in identical(x = x, y = y, num.eq = num.eq, single.NA = single.NA, : unused argument(s) (ignore.bytecode = ignore.bytecode) Calls: identical.integer64 -> identical Execution halted