Last updated on 2025-10-10 17:48:53 CEST.
Package | ERROR | NOTE |
---|---|---|
Storm | 1 | 12 |
Current CRAN status: ERROR: 1, NOTE: 12
Version: 1.2
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Allen Day <allenday@allenday.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Allen",
family = "Day",
role = c("aut", "cre"),
email = "allenday@allenday.com")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 1.2
Check: DESCRIPTION meta-information
Result: NOTE
Malformed Title field: should not end in a period.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.2
Check: examples
Result: 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
Flavor: r-release-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.