- using R Under development (unstable) (2012-02-27 r58511)
- using platform: x86_64-pc-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'tourr/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'tourr' version '0.5'
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: 'rggobi'
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking whether package 'tourr' 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
display_ggobi: warning in require("rggobi", quiet = TRUE): partial
argument match of 'quiet' to 'quietly'
display_ggobi : init: no visible global function definition for 'ggobi'
display_ggobi : init: no visible global function definition for
'displays'
display_ggobi : init: no visible global function definition for
'pmode<-'
display_ggobi : render_data: no visible global function definition for
'ggobi_display_set_tour_projection'
display_pcp : render_data: no visible binding for global variable 'y'
display_trails : render_data: no visible binding for global variable
'past_x'
display_trails : render_data: no visible binding for '<<-' assignment
to 'past_x'
display_xy : render_data: warning in draw_tour_axes(proj, labels, limit
= 1, axes): partial argument match of 'limit' to 'limits'
plot.path_curve: no visible binding for global variable 'value'
plot.path_curve: no visible binding for global variable 'obs'
range_dist: no visible global function definition for 'xy_limits'
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... WARNING
Undocumented S4 classes:
'tour_path'
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See the chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ...
** running examples for arch 'i386' ... ERROR
Running examples in 'tourr-Ex.R' failed
The error most likely occurred in:
> ### Name: path_curves
> ### Title: Draw the path that the geodesics took.
> ### Aliases: path_curves
>
> ### ** Examples
>
> path1d <- save_history(flea[, 1:6], grand_tour(1), 10)
> path2d <- save_history(flea[, 1:6], grand_tour(2), 10)
>
> if (require("ggplot2")) {
+ plot(path_curves(path1d))
+ plot(path_curves(interpolate(path1d)))
+
+ plot(path_curves(path2d))
+ plot(path_curves(interpolate(path2d)))
+
+ # Instead of relying on the built in plot method, you might want to
+ # generate your own. Here are few examples of alternative displays:
+
+ df <- path_curves(path2d)
+ qplot(step, value, data = df, group = obs:var, geom = "line", colour=var) + facet_wrap( ~ obs)
+
+ qplot(`1`, `2`, data = cast(df, ... ~ var)) +
+ facet_wrap( ~ step) +
+ coord_equal()
+ }
Loading required package: ggplot2
Error in ggplot(data, aesthetics, environment = env) :
could not find function "cast"
Calls: qplot -> ggplot
Execution halted
** running examples for arch 'x64' ... ERROR
Running examples in 'tourr-Ex.R' failed
The error most likely occurred in:
> ### Name: path_curves
> ### Title: Draw the path that the geodesics took.
> ### Aliases: path_curves
>
> ### ** Examples
>
> path1d <- save_history(flea[, 1:6], grand_tour(1), 10)
> path2d <- save_history(flea[, 1:6], grand_tour(2), 10)
>
> if (require("ggplot2")) {
+ plot(path_curves(path1d))
+ plot(path_curves(interpolate(path1d)))
+
+ plot(path_curves(path2d))
+ plot(path_curves(interpolate(path2d)))
+
+ # Instead of relying on the built in plot method, you might want to
+ # generate your own. Here are few examples of alternative displays:
+
+ df <- path_curves(path2d)
+ qplot(step, value, data = df, group = obs:var, geom = "line", colour=var) + facet_wrap( ~ obs)
+
+ qplot(`1`, `2`, data = cast(df, ... ~ var)) +
+ facet_wrap( ~ step) +
+ coord_equal()
+ }
Loading required package: ggplot2
Error in ggplot(data, aesthetics, environment = env) :
could not find function "cast"
Calls: qplot -> ggplot
Execution halted