* using log directory 'd:/Rcompile/CRANpkg/local/4.3/fHMM.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'fHMM/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fHMM' version '1.4.0' * package encoding: UTF-8 * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'fHMM' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 12.3.0' * checking installed package size ... NOTE installed size is 5.6Mb sub-directories of 1Mb or more: data 1.8Mb doc 1.1Mb libs 1.2Mb * checking package directory ... 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] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking startup messages can be suppressed ... [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 ... [13s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [2s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [6s] ERROR Running examples in 'fHMM-Ex.R' failed The error most likely occurred in: > ### Name: download_data > ### Title: Download financial data from Yahoo Finance > ### Aliases: download_data > > ### ** Examples > > ### 21st century DAX closing prices > data <- download_data( + symbol = "^GDAXI", from = "2000-01-01", columns = c("Date", "Close"), + fill_dates = TRUE + ) Error: Download failed. This can have different reasons: - Maybe 'symbol' is unknown. - Or there is no data for the specified time interval. Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [32s] ERROR Running 'testthat.R' [32s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(fHMM) Thanks for using {fHMM} version 1.4.0! See https://loelschlaeger.de/fHMM for help. > > test_check("fHMM") [ FAIL 1 | WARN 0 | SKIP 13 | PASS 255 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): 'test-download_data.R:41:3', 'test-fHMM_controls.R:191:3', 'test-fHMM_controls.R:207:3', 'test-fHMM_controls.R:299:3', 'test-fHMM_controls.R:350:3', 'test-fHMM_data.R:16:3', 'test-fHMM_data.R:24:3', 'test-fHMM_data.R:43:3', 'test-fHMM_parameters.R:72:3', 'test-fit_model.R:44:3', 'test-fit_model.R:77:3', 'test-get_initial_values.R:20:3', 'test-get_initial_values.R:49:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-download_data.R:18:3'): input checks for download_data() work ── Error: Download failed. This can have different reasons: - Maybe 'symbol' is unknown. - Or there is no data for the specified time interval. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-download_data.R:18:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─fHMM::download_data(symbol = "^GDAXI", from = "1901-01-01") [ FAIL 1 | WARN 0 | SKIP 13 | PASS 255 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [43s] ERROR Error(s) in re-building vignettes: --- re-building 'fHMM.Rmd' using rmarkdown --- finished re-building 'fHMM.Rmd' --- re-building 'v01_model_definition.Rmd' using rmarkdown --- finished re-building 'v01_model_definition.Rmd' --- re-building 'v02_controls.Rmd' using rmarkdown Quitting from lines 37-39 [unnamed-chunk-2] (v02_controls.Rmd) Error: processing vignette 'v02_controls.Rmd' failed with diagnostics: Download failed. This can have different reasons: - Maybe 'symbol' is unknown. - Or there is no data for the specified time interval. --- failed re-building 'v02_controls.Rmd' --- re-building 'v03_data_management.Rmd' using rmarkdown Quitting from lines 69-71 [unnamed-chunk-3] (v03_data_management.Rmd) Error: processing vignette 'v03_data_management.Rmd' failed with diagnostics: Download failed. This can have different reasons: - Maybe 'symbol' is unknown. - Or there is no data for the specified time interval. --- failed re-building 'v03_data_management.Rmd' --- re-building 'v04_model_estimation.Rmd' using rmarkdown --- finished re-building 'v04_model_estimation.Rmd' --- re-building 'v05_state_decoding_and_prediction.Rmd' using rmarkdown --- finished re-building 'v05_state_decoding_and_prediction.Rmd' --- re-building 'v06_model_checking.Rmd' using rmarkdown --- finished re-building 'v06_model_checking.Rmd' --- re-building 'v07_model_selection.Rmd' using rmarkdown --- finished re-building 'v07_model_selection.Rmd' SUMMARY: processing the following files failed: 'v02_controls.Rmd' 'v03_data_management.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [19s] OK * checking HTML version of manual ... [9s] OK * DONE Status: 3 ERRORs, 1 NOTE