* using log directory ‘/srv/hornik/tmp/CRAN/nixtlar.Rcheck’ * using R Under development (unstable) (2024-01-31 r85845) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘nixtlar/DESCRIPTION’ ... OK * this is package ‘nixtlar’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Mariana Menchero ’ New submission Possibly misspelled words in DESCRIPTION: Nixtla's (2:18, 8:39) SDK (2:10, 8:17) TimeGPT (2:27, 8:48, 9:95) tsibble (10:25) * 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 for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking serialization versions ... OK * checking whether package ‘nixtlar’ can be installed ... [3s/3s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking use of S3 registration ... OK * checking 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 ... [5s/5s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [2s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/2s] ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(nixtlar) > > test_check("nixtlar") Frequency chosen: H Frequency chosen: H Frequency chosen: H Frequency chosen: H [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-timegpt-anomaly_detection.R:4:5'): timegpt_anomaly_detection ─── Error in `.get_token()`: Please set TIMEGPT_TOKEN. Use nixtla_set_token() or set it as an environment variable in .Renviron Backtrace: ▆ 1. └─nixtlar::timegpt_anomaly_detection(test_data, id_col = "unique_id") at test-timegpt-anomaly_detection.R:4:5 2. ├─httr2::req_perform(...) 3. │ └─httr2:::check_request(req) 4. │ └─httr2:::is_request(req) 5. ├─httr2::req_body_json(...) 6. │ └─httr2:::check_request(req) 7. │ └─httr2:::is_request(req) 8. ├─httr2::req_user_agent(...) 9. │ └─httr2:::check_request(req) 10. │ └─httr2:::is_request(req) 11. ├─httr2::req_headers(...) 12. │ └─rlang::list2(...) 13. ├─base::paste("Bearer", .get_token()) 14. └─nixtlar::.get_token() ── Error ('test-timegpt_cross_validation.R:4:5'): timegpt_cross_validation ───── Error in `.get_token()`: Please set TIMEGPT_TOKEN. Use nixtla_set_token() or set it as an environment variable in .Renviron Backtrace: ▆ 1. └─nixtlar::timegpt_cross_validation(...) at test-timegpt_cross_validation.R:4:5 2. ├─httr2::req_perform(...) 3. │ └─httr2:::check_request(req) 4. │ └─httr2:::is_request(req) 5. ├─httr2::req_body_json(...) 6. │ └─httr2:::check_request(req) 7. │ └─httr2:::is_request(req) 8. ├─httr2::req_user_agent(...) 9. │ └─httr2:::check_request(req) 10. │ └─httr2:::is_request(req) 11. ├─httr2::req_headers(...) 12. │ └─rlang::list2(...) 13. ├─base::paste("Bearer", .get_token()) 14. └─nixtlar::.get_token() ── Error ('test-timegpt_forecast.R:4:5'): timegpt_forecast ───────────────────── Error in `.get_token()`: Please set TIMEGPT_TOKEN. Use nixtla_set_token() or set it as an environment variable in .Renviron Backtrace: ▆ 1. └─nixtlar::timegpt_forecast(...) at test-timegpt_forecast.R:4:5 2. ├─httr2::req_perform(...) 3. │ └─httr2:::check_request(req) 4. │ └─httr2:::is_request(req) 5. ├─httr2::req_body_json(...) 6. │ └─httr2:::check_request(req) 7. │ └─httr2:::is_request(req) 8. ├─httr2::req_user_agent(...) 9. │ └─httr2:::check_request(req) 10. │ └─httr2:::is_request(req) 11. ├─httr2::req_headers(...) 12. │ └─rlang::list2(...) 13. ├─base::paste("Bearer", .get_token()) 14. └─nixtlar::.get_token() ── Error ('test-timegpt_historic.R:4:5'): timegpt historic ───────────────────── Error in `.get_token()`: Please set TIMEGPT_TOKEN. Use nixtla_set_token() or set it as an environment variable in .Renviron Backtrace: ▆ 1. └─nixtlar::timegpt_historic(...) at test-timegpt_historic.R:4:5 2. ├─httr2::req_perform(...) 3. │ └─httr2:::check_request(req) 4. │ └─httr2:::is_request(req) 5. ├─httr2::req_body_json(...) 6. │ └─httr2:::check_request(req) 7. │ └─httr2:::is_request(req) 8. ├─httr2::req_user_agent(...) 9. │ └─httr2:::check_request(req) 10. │ └─httr2:::is_request(req) 11. ├─httr2::req_headers(...) 12. │ └─rlang::list2(...) 13. ├─base::paste("Bearer", .get_token()) 14. └─nixtlar::.get_token() [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [12s/12s] OK * checking PDF version of manual ... [3s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE