/usr/share/doc/littler/tests/ts.R is in littler 0.1.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!../r
# This should dynamically load stats
cat("Is stats loaded?\n");
cat("search: ",search(),"\n");
if(!("package:stats" %in% search())){
cat("Nope!\n");
}
cat("Calling ts(1:10)\n");
cat(ts(1:10),"\n");
cat("Now stats is loaded!\n");
cat("search: ",search(),"\n");
if(!("package:utils" %in% search())){
cat("No utils!\n");
cat("Calling timestamp()\n");
cat(timestamp(),"\n");
cat("search: ",search(),"\n");
}
|