- using R version 2.14.1 (2011-12-22)
- using platform: i386-apple-darwin9.8.0 (32-bit)
- using session charset: ASCII
- checking for file 'sfsmisc/DESCRIPTION' ... OK
- this is package 'sfsmisc' version '1.0-19'
- package encoding: latin1
- 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 executable files ... OK
- checking whether package 'sfsmisc' can be installed ... OK
- checking installed package size ... 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 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
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 metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... NOTE
S3 methods shown with full name in documentation object 'hist.bxp':
'hist.bxp'
The \usage entries for S3 methods should use the \method markup and not
their full name.
See the chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
- 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 ... WARNING
checking a package with encoding 'latin1' in an ASCII locale
ERROR
Running examples in 'sfsmisc-Ex.R' failed
The error most likely occurred in:
> ### Encoding: UTF-8
>
> ### 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): 1:20