* using log directory 'd:/Rcompile/CRANpkg/local/3.3/ChoR.Rcheck' * using R version 3.3.3 (2017-03-06) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'ChoR/DESCRIPTION' ... OK * this is package 'ChoR' version '0.0-3' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ChoR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over 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 loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking 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 line endings in Makefiles ... OK * checking for GNU extensions in Makefiles ... OK * checking examples ... ERROR Running examples in 'ChoR-Ex.R' failed The error most likely occurred in: > ### Name: ChoR > ### Title: Getting started with the ChoR package > ### Aliases: ChoR ChoR-package > ### Keywords: linear-log-analysis model package > > ### ** Examples > > # Warning: RJava requires to **copy** your data from R into a JVM. > # If you need extra memory, use this option (here, for 4Gb) **before** loading choR. > # Note: not needed in our case, kept for the example > options( java.parameters = "-Xmx4g" ) > library(ChoR) > > ## Test JAVA version > jv <- rJava::.jcall("java/lang/System", "S", "getProperty", "java.runtime.version") > jvn <- as.numeric(paste0(strsplit(jv, "[.]")[[1L]][1:2], collapse = ".")) > if(jvn < 1.8){ stop("Java 8 is needed for this package but not available") } > > # Helper function for graph printing. Require Rgraphviz: > # source("https://bioconductor.org/biocLite.R") > # biocLite("Rgraphviz") > printGraph = function(x){ + if(requireNamespace("Rgraphviz", quietly=TRUE)){ + attrs <- list(node=list(shape="ellipse", fixedsize=FALSE, fontsize=25)) + Rgraphviz::plot(x, attrs=attrs) + } else { stop("Rgraphviz required for graph printing.") } + } > > > ###### MUSHROOM ##### > # We read the data from internet: http://repository.seasr.org/Datasets/UCI/csv/mushroom.csv > MR.data = + read.csv( "http://repository.seasr.org/Datasets/UCI/csv/mushroom.csv", + header = TRUE, # Here, we have a header + na.strings = c("NA","?",""), # Configure the missing values + stringsAsFactors = FALSE, # Keep strings for now + check.names = TRUE # Replace some special characters + ) Warning in file(file, "rt") : InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.' Error in file(file, "rt") : cannot open the connection Calls: read.csv -> read.table -> file Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR