I have re-installed R language, R-Studio, seasonal package and as well as x13binary package but still issue doesn't resolve.
Even I have installed Rtools.
#Code With Error I Am Getting:
library(fpp2)
Registered S3 method overwritten by 'quantmod':
method from
as.zoo.data.frame zoo
-- Attaching packages -------------------------------------------------- fpp2 2.4 --
v ggplot2 3.3.3 v fma 2.4
v forecast 8.13 v expsmooth 2.3
seasonal::checkX13()
#> seasonal is using the X-13 binaries provided by x13binary
#> X-13 installation test:
#> - X13_PATH correctly specified
#> - binary executable file found
#>
#> Error : X-13 command line test run failed. To debug, try running the binary file directly in the terminal. Try using it with Testairline.spc which is part of the program package by the Census Office.
#>
#> Error : seasonal test run failed, with the message:
#> Error in seas(datasets::AirPassengers) : no output has been generated
#>
#> Error details:
#> - X13_PATH: D:/Installed/R/R-4.0.3/library/x13binary/bin
#> - Full binary path: "D:/Installed/R/R-4.0.3/library/x13binary/bin/x13ashtml.exe"
#> - Platform: x86_64-w64-mingw32
#> - R-Version: R version 4.0.3 (2020-10-10)
#> - seasonal-Version: 1.7.1
As the error above suggests, the next step would be to run the binary at D:/Installed/R/R-4.0.3/library/x13binary/bin/x13ashtml.exe manually using the Testairline.spc input.
Hopefully that gives you more information.
Sir, thank you so much for your concern and advice. You were exactly right there was a issue in x13binary file. I just have to run x13binary manually which solves the issue as as advice by @mitchelloharawild.
(My apology as I have acknowledged you quite late and also regretted for if I caused any inconvenience).
Hello. I am fairly new to R and I am experiencing the same problem. May I know how exactly you manually run the binary file using the Testairline.spc input?