* using log directory 'd:/Rcompile/CRANpkg/local/4.5/Storm.Rcheck' * using R version 4.5.1 (2025-06-13 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'Storm/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Storm' version '1.2' * 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 'Storm' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... NOTE Malformed Title field: should not end in a period. * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [0s] OK * checking loading without being on the library search path ... [0s] 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 ... [2s] OK * checking Rd files ... [0s] 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 examples ... [3001m] ERROR Running examples in 'Storm-Ex.R' failed The error most likely occurred in: > ### Name: Storm-package > ### Title: Write Storm Bolts in R using the Storm Multi-Language Protocol. > ### Aliases: Storm-package Storm-class Tuple-class Storm Tuple > ### Keywords: storm hadoop > > ### ** Examples > > #library(Storm) > #source("Storm/R/Storm.R") > > #create a Storm object > storm = Storm$new(); > > #by default it has a handler that logs that the tuple was skipped. > #let's replace it that with something more interesting and equally > #useless. > > storm$lambda = function(s) { + #argument 's' is the Storm object. + + #get the current Tuple object. + t = s$tuple; + + #optional: acknowledge receipt of the tuple. + s$ack(t); + + #optional: log a message. + s$log(c("processing tuple=",t$id)); + + #create contrived tuples to illustrate output. + + #create 1st tuple... + t$output = vector(mode="character",length=1); + t$output[1] = as.numeric(t$input[3])+as.numeric(t$input[4]); + #...and emit it. + s$emit(t); + + #create 2nd tuple... + t$output[1] = as.numeric(t$input[3])-as.numeric(t$input[4]); + #...and emit it. + s$emit(t); + + #alternative/optional: mark the tuple as failed. + s$fail(t); + }; > > #enter the main tuple-processing loop. > storm$run(); {"pid": 181800} end {"command": "emit", "anchors": [], "tuple": ["bolt initializing"]} end * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... [0s] OK * DONE Status: 1 ERROR, 1 NOTE