Learn R Programming

seasonal (version 0.60.0)

checkX13: Check the installation of X-13ARIMA-SEATS

Description

Check the installation of the binary executables of X-13ARIMA-SEATS. For installation details, consider Section 2 of the package vignette: vignette("seas")

Usage

checkX13(fail = FALSE, full = TRUE)

Arguments

fail
logical, whether an error should interrupt the process. If FALSE, a message is returned.
full
logical, whether a full test should be performed. Runs Testairline.spc (which is shiped with X-13ARIMA-SEATS) to test the working of the binaries. Returns a message.

Examples

Run this code
old.path <- Sys.getenv("X13_PATH")
Sys.setenv(X13_PATH = "")  # its broken now
checkX13()

Sys.setenv(X13_PATH = old.path)  # fix it (provided it worked in the first place)
checkX13()

Run the code above in your browser using DataLab