- using R Under development (unstable) (2012-05-22 r59405)
- using platform: x86_64-unknown-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘ncf/DESCRIPTION’ ... OK
- this is package ‘ncf’ version ‘1.1-3’
- 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 ‘ncf’ 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 loading without being on the library search path ... 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 ... WARNING
Found .Internal call in the following function:
‘cor2’
with calls to .Internal functions
‘cor’
Packages should not call .Internal(): it is not part of the API, for
use only by R itself and subject to change without notice.
- checking Rd files ... NOTE
prepare_Rd: plot.Sncf.Rd:26-27: Dropping empty section \details
prepare_Rd: plot.Sncf.cov.Rd:24-25: Dropping empty section \details
prepare_Rd: plot.Sncf.cov.Rd:27-28: Dropping empty section \value
prepare_Rd: plot.Sncf2D.Rd:26-27: Dropping empty section \details
prepare_Rd: plot.cc.offset.Rd:19-20: Dropping empty section \details
prepare_Rd: print.mSynch.Rd:20-21: Dropping empty section \details
prepare_Rd: spline.correlog.2D.Rd:82-83: Dropping empty section \examples
prepare_Rd: summary.Sncf.Rd:17-18: Dropping empty section \details
prepare_Rd: summary.Sncf2D.Rd:17-18: Dropping empty section \details
prepare_Rd: summary.spline.correlog.Rd:17-18: Dropping empty section \details
- 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 ... 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 ... ERROR
Running examples in ‘ncf-Ex.R’ failed
The error most likely occurred in:
> ### Name: Sncf
> ### Title: Nonparametric (cross-)correlation function for spatio-temporal
> ### data
> ### Aliases: Sncf
> ### Keywords: smooth regression spatial
>
> ### ** Examples
>
> #first generate some sample data
> x <- expand.grid(1:20, 1:5)[,1]
> y <- expand.grid(1:20, 1:5)[,2]
> #z data from an exponential random field
> z <- cbind(
+ rmvn.spa(x=x, y=y, p=2, method="exp"),
+ rmvn.spa(x=x, y=y, p=2, method="exp")
+ )
> #w data from a gaussian random field
> w <- cbind(
+ rmvn.spa(x=x, y=y, p=2, method="gaus"),
+ rmvn.spa(x=x, y=y, p=2, method="gaus")
+ )
> #multivariate nonparametric covariance function
> fit1 <- Sncf(x=x, y=y, z=z, resamp = 5)
Error in .Internal(cor(x, y, na.method, method == "kendall")) :
no internal function "cor"
Calls: Sncf -> cor2
Execution halted