diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 74b8854..27c99cd 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -29,11 +29,6 @@ jobs: R_KEEP_PKG_SOURCE: yes steps: - - name: Print working directory - run: pwd - - - name: List directory contents - run: ls -al - uses: actions/checkout@v3 diff --git a/tests/testthat/dashboard.nixtla.io/api/timegpt.json b/tests/testthat/dashboard.nixtla.io/api/timegpt.json index df32d95..2836943 100644 --- a/tests/testthat/dashboard.nixtla.io/api/timegpt.json +++ b/tests/testthat/dashboard.nixtla.io/api/timegpt.json @@ -25,6 +25,6 @@ "message": "success", "details": "request successful", "code": "B10", - "requestID": "4J7ERJE3A6", + "requestID": "CLC9LCNZL6", "support": "If you have questions or need support, please email ops@nixtla.io" } diff --git a/tests/testthat/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json b/tests/testthat/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json index 4b4f0f6..505eccd 100644 --- a/tests/testthat/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json +++ b/tests/testthat/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json @@ -15,7 +15,7 @@ [ "BE", "2016-12-31 01:00:00", - 42.42660140991211 + 42.426597595214844 ], [ "BE", @@ -55,7 +55,7 @@ [ "DE", "2017-12-31 01:00:00", - -2.9869308471679688 + -2.9869346618652344 ], [ "DE", @@ -85,12 +85,12 @@ [ "DE", "2017-12-31 07:00:00", - -0.427154541015625 + -0.4271507263183594 ], [ "FR", "2016-12-31 00:00:00", - 62.130226135253906 + 62.130218505859375 ], [ "FR", @@ -110,12 +110,12 @@ [ "FR", "2016-12-31 04:00:00", - 46.49835968017578 + 46.49836730957031 ], [ "FR", "2016-12-31 05:00:00", - 49.270896911621094 + 49.270904541015625 ], [ "FR", @@ -160,7 +160,7 @@ [ "NP", "2018-12-24 06:00:00", - 52.234519958496094 + 52.23451614379883 ], [ "NP", @@ -180,12 +180,12 @@ [ "PJM", "2018-12-24 02:00:00", - 20.667821884155273 + 20.667823791503906 ], [ "PJM", "2018-12-24 03:00:00", - 20.973247528076172 + 20.97324562072754 ], [ "PJM", @@ -216,6 +216,6 @@ "message": "success", "details": "request successful", "code": "B10", - "requestID": "RS9XWFA7E6", + "requestID": "6K8VVPHJMH", "support": "If you have questions or need support, please email ops@nixtla.io" } diff --git a/vignettes/elec.RDS b/vignettes/elec.RDS new file mode 100644 index 0000000..4c541ed Binary files /dev/null and b/vignettes/elec.RDS differ diff --git a/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt.json b/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt.json index df32d95..2836943 100644 --- a/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt.json +++ b/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt.json @@ -25,6 +25,6 @@ "message": "success", "details": "request successful", "code": "B10", - "requestID": "4J7ERJE3A6", + "requestID": "CLC9LCNZL6", "support": "If you have questions or need support, please email ops@nixtla.io" } diff --git a/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json b/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json index 4b4f0f6..505eccd 100644 --- a/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json +++ b/vignettes/mocks/0/dashboard.nixtla.io/api/timegpt_multi_series-8060f6-POST.json @@ -15,7 +15,7 @@ [ "BE", "2016-12-31 01:00:00", - 42.42660140991211 + 42.426597595214844 ], [ "BE", @@ -55,7 +55,7 @@ [ "DE", "2017-12-31 01:00:00", - -2.9869308471679688 + -2.9869346618652344 ], [ "DE", @@ -85,12 +85,12 @@ [ "DE", "2017-12-31 07:00:00", - -0.427154541015625 + -0.4271507263183594 ], [ "FR", "2016-12-31 00:00:00", - 62.130226135253906 + 62.130218505859375 ], [ "FR", @@ -110,12 +110,12 @@ [ "FR", "2016-12-31 04:00:00", - 46.49835968017578 + 46.49836730957031 ], [ "FR", "2016-12-31 05:00:00", - 49.270896911621094 + 49.270904541015625 ], [ "FR", @@ -160,7 +160,7 @@ [ "NP", "2018-12-24 06:00:00", - 52.234519958496094 + 52.23451614379883 ], [ "NP", @@ -180,12 +180,12 @@ [ "PJM", "2018-12-24 02:00:00", - 20.667821884155273 + 20.667823791503906 ], [ "PJM", "2018-12-24 03:00:00", - 20.973247528076172 + 20.97324562072754 ], [ "PJM", @@ -216,6 +216,6 @@ "message": "success", "details": "request successful", "code": "B10", - "requestID": "RS9XWFA7E6", + "requestID": "6K8VVPHJMH", "support": "If you have questions or need support, please email ops@nixtla.io" } diff --git a/vignettes/nixtlar.Rmd b/vignettes/nixtlar.Rmd index 4b41cfc..5beb5a7 100644 --- a/vignettes/nixtlar.Rmd +++ b/vignettes/nixtlar.Rmd @@ -10,7 +10,6 @@ vignette: > library(httptest2) start_vignette("mocks") -options("TIMEGPT_TOKEN"="dummy_token") options(digits=7) knitr::opts_chunk$set( @@ -71,7 +70,8 @@ You don't need to validate your token every time you set it up, only when you wa Once your token has been set up, you're ready to use TimeGPT. Here we'll show you how this is done using a dataset that contains prices of different electricity markets. ```{r} -df <- read.table('https://raw.githubusercontent.com/Nixtla/transfer-learning-time-series/main/datasets/electricity-short.csv', sep = ",", header = TRUE) +df <- readRDS("elec.RDS") +#substr(digest::digest(df), 1, 6) head(df) ```