CRAN Package Check Results for Package gsarima

Last updated on 2014-04-24 23:48:04.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-4 0.60 22.71 23.31 OK
r-devel-linux-x86_64-debian-gcc 0.1-4 0.62 19.84 20.46 OK
r-devel-linux-x86_64-fedora-clang 0.1-4 41.74 OK
r-devel-linux-x86_64-fedora-gcc 0.1-4 39.76 OK
r-devel-osx-x86_64-clang 0.1-4 37.60 OK
r-devel-osx-x86_64-gcc 0.1-4 ERROR
r-devel-windows-ix86+x86_64 0.1-4 2.00 29.00 31.00 OK
r-patched-linux-x86_64 0.1-4 0.62 20.01 20.62 OK
r-patched-solaris-sparc 0.1-4 239.20 OK
r-patched-solaris-x86 0.1-4 56.20 OK
r-release-linux-ix86 0.1-4 2.00 37.00 39.00 OK
r-release-linux-x86_64 0.1-4 0.57 19.98 20.55 OK
r-release-osx-x86_64-mavericks 0.1-4 WARN
r-release-osx-x86_64-snowleopard 0.1-4 OK
r-release-windows-ix86+x86_64 0.1-4 2.00 30.00 32.00 OK
r-oldrel-windows-ix86+x86_64 0.1-4 2.00 30.00 32.00 OK

Check Details

Version: 0.1-4
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘gamlss.util’
Flavor: r-devel-osx-x86_64-gcc

Version: 0.1-4
Check: examples
Result: ERROR
    Running examples in ‘gsarima-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: garsim
    > ### Title: Simulate a Generalized Autoregressive Time Series
    > ### Aliases: garsim
    > ### Keywords: ts
    >
    > ### ** Examples
    >
    > N<-1000
    > ar<-c(0.8)
    > intercept<-2
    > frequency<-1
    > x<- rnorm(N)
    > beta.x<-0.7
    > #Gaussian simulation with covariate
    > X=matrix(c(rep(intercept, N+length(ar)), rep(0, length(ar)), x), ncol=2)
    > y.sim <- garsim(n=(N+length(ar)),phi=ar, X=X, beta=c(1,beta.x), sd=sqrt(1))
    > y<-y.sim[(1+length(ar)):(N+length(ar))]
    > tsy<-ts(y, freq=frequency)
    > plot(tsy)
    > arima(tsy, order=c(1,0,0), xreg=x)
    
    Call:
    arima(x = tsy, order = c(1, 0, 0), xreg = x)
    
    Coefficients:
     ar1 intercept x
     0.8282 1.9235 0.6702
    s.e. 0.0177 0.1900 0.0240
    
    sigma^2 estimated as 1.076: log likelihood = -1456.02, aic = 2920.03
    >
    > #Gaussian simulation with covariate and deterministic seasonality through first order harmonic
    > ar<-c(1.4,-0.4)
    > frequency<-12
    > beta.x<-c(0.7,4,4)
    > X<-matrix(nrow= (N+ length(ar)), ncol=3)
    > for (t in 1: length(ar)){
    + X[t,1]<-0
    + X[t,2]<-sin(2*pi*(t- length(ar))/frequency)
    + X[t,3]<- cos(2*pi*(t- length(ar))/frequency)
    + }
    > for (t in (1+ length(ar)): (N+ length(ar))){
    + X[t,1]<-x[t- length(ar)]
    + X[t,2]<-sin(2*pi*(t- length(ar))/frequency)
    + X[t,3]<- cos(2*pi*(t- length(ar))/frequency)
    + }
    > y.sim <- garsim(n=(N+length(ar)),phi=ar, X=X, beta= beta.x, sd=sqrt(1))
    > y<-y.sim[(1+length(ar)):(N+length(ar))]
    > tsy<-ts(y, freq=frequency)
    > plot(tsy)
    > Xreg<-matrix(nrow= N, ncol=3)
    > for (t in 1: N){
    + Xreg[t,1]<-x[t]
    + Xreg[t,2]<-sin(2*pi*t/frequency)
    + Xreg[t,3]<- cos(2*pi*t/frequency)
    + }
    > arimares<-arima(tsy, order=c(1,1,0), xreg=Xreg)
    > tsdiag(arimares)
    > arimares
    
    Call:
    arima(x = tsy, order = c(1, 1, 0), xreg = Xreg)
    
    Coefficients:
     ar1 Xreg1 Xreg2 Xreg3
     0.4289 0.6744 4.0789 4.0440
    s.e. 0.0286 0.0172 0.1338 0.1336
    
    sigma^2 estimated as 1.056: log likelihood = -1442.85, aic = 2895.71
    >
    > #Negative binomial simulation with covariate
    > ar<-c(0.8)
    > frequency<-1
    > beta.x<-0.7
    > X=matrix(c(rep(log(intercept), N+length(ar)), rep(0, length(ar)), x), ncol=2)
    > y.sim <- garsim(n=(N+length(ar)), phi=ar, beta=c(1,beta.x), link= "log",
    + family= "negative.binomial", zero.correction = "zq1", c=1, theta=5, X=X)
    > y<-y.sim[(1+length(ar)):(N+length(ar))]
    > tsy<-ts(y, freq=frequency)
    > plot(tsy)
    > library(gamlss.util)
    Error in library(gamlss.util) : there is no package called ‘gamlss.util’
    Execution halted
Flavor: r-devel-osx-x86_64-gcc

Version: 0.1-4
Check: PDF version of manual
Result: WARNING
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
    LaTeX errors found:
    ! LaTeX Error: File `upquote.sty' not found.
    
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: sty)
    
    d6338c/Rd2.tex:8: ==> Fatal error occurred, no output PDF file produced!
Flavor: r-release-osx-x86_64-mavericks