- using R version 2.8.0 (2008-10-20)
- using session charset: ASCII
- checking for file 'sfsmisc/DESCRIPTION' ... OK
- this is package 'sfsmisc' version '1.0-4'
- package encoding: latin1
- checking package name space information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'sfsmisc' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... 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
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the name space can be loaded with stated dependencies ... 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
TA.plot : mk.main: possible error in get("call", frame = sys.parent()):
unused argument(s) (frame = sys.parent())
p.dchisq: no visible binding for global variable 'x'
p.dgamma: no visible binding for global variable 'x'
pdf.end: no visible binding for global variable '..pdf.file'
prt.DEBUG: no visible binding for global variable 'DEBUG'
ps.end: no visible binding for global variable '..ps.file'
tkdensity: no visible binding for global variable 'x'
tkdensity : replot: no visible binding for '<<-' assignment to 'nbw'
tkdensity : replot: no visible binding for '<<-' assignment to 'xZ'
tkdensity : replot: no visible binding for '<<-' assignment to 'xM'
tkdensity : replot: no visible binding for global variable 'xZ'
tkdensity : replot: no visible binding for global variable 'xM'
tkdensity : replot.maybe: no visible binding for global variable 'nbw'
tkdensity : replot.maybe: no visible binding for global variable 'xZ'
tkdensity : replot.maybe: no visible binding for global variable 'xM'
- checking Rd files ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking data for non-ASCII characters ... OK
- creating sfsmisc-Ex.R ... OK
- checking examples ... ERROR
Running examples in 'sfsmisc-Ex.R' failed.
The error most likely occurred in:
> ### * rot2
>
> flush(stderr()); flush(stdout())
>
> ### Encoding: latin1
>
> ### Name: rot2
> ### Title: Rotate Planar Points by Angle
> ### Aliases: rot2
> ### Keywords: manip math
>
> ### ** Examples
>
> ## Rotate three points by 60 degrees :
> (xy0 <- rbind(c(1,0.5), c(1,1), c(0,1)))
[,1] [,2]
[1,] 1 0.5
[2,] 1 1.0
[3,] 0 1.0
> (Txy <- rot2(xy0, phi = 60 * pi/180))
[,1] [,2]
[1,] 0.067 1.12
[2,] -0.366 1.37
[3,] -0.866 0.50
> plot(xy0, col = 2, type = "b", asp = 1,
+ <ERROR: re-encoding failure from encoding 'latin1'>
xlim=c(-1,1), ylim=c(0,1.5), main = "rot2(*, pi/3) : 2d rotation by 60+ points(Txy, col = 3, type = "b")
Error: unexpected symbol in:
"plot(xy0, col = 2, type = "b", asp = 1,
xlim=c(-1,1), ylim=c(0,1.5), main = "rot2(*, pi/3) : 2d rotation by 60points(Txy, col = 3, type = "b"
Execution halted
- elapsed time (check, wall clock): 0:44