CRAN Package Check Results for Package czechrates

Last updated on 2023-01-30 23:56:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 2.49 45.10 47.59 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 1.97 36.08 38.05 OK
r-devel-linux-x86_64-fedora-clang 0.2.2 56.53 OK
r-devel-linux-x86_64-fedora-gcc 0.2.2 66.33 OK
r-devel-windows-x86_64 0.2.2 20.00 85.00 105.00 ERROR
r-patched-linux-x86_64 0.2.2 2.45 39.01 41.46 ERROR
r-release-linux-x86_64 0.2.2 1.51 45.02 46.53 OK
r-release-macos-arm64 0.2.2 48.00 OK
r-release-macos-x86_64 0.2.2 65.00 OK
r-release-windows-x86_64 0.2.2 14.00 88.00 102.00 OK
r-oldrel-macos-arm64 0.2.2 59.00 OK
r-oldrel-macos-x86_64 0.2.2 55.00 OK
r-oldrel-windows-ix86+x86_64 0.2.2 12.00 71.00 83.00 ERROR

Check Details

Version: 0.2.2
Check: examples
Result: ERROR
    Running examples in 'czechrates-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: cnbfxrate
    > ### Title: Central bank exchange rate fixing
    > ### Aliases: cnbfxrate
    >
    > ### ** Examples
    >
    > cnbfxrate(as.Date("2002-08-12"), "EUR") # EUR/CZK rate for August 12th, 2002
    Error in if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) { :
     missing value where TRUE/FALSE needed
    Calls: cnbfxrate ... <Anonymous> -> <Anonymous> -> <Anonymous> -> <Anonymous>
    Execution halted
Flavors: r-devel-windows-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.2
Check: tests
Result: ERROR
     Running 'testthat.R' [11s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(czechrates)
     >
     > test_check("czechrates")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cnbfxrate.R:16'): data format ──────────────────────────────────
     Error in `if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) {
     return(tibble::tibble())
     }`: missing value where TRUE/FALSE needed
     Backtrace:
     ▆
     1. ├─testthat::expect_true(is.data.frame(cnbfxrate())) at test-cnbfxrate.R:16:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::is.data.frame(cnbfxrate())
     5. ├─czechrates::cnbfxrate()
     6. │ ├─... %>% ...
     7. │ └─base::lapply(roky, dnl_fx)
     8. │ └─czechrates (local) FUN(X[[i]], ...)
     9. │ ├─... %>% dplyr::select(-name)
     10. │ └─readr::read_delim(...)
     11. │ └─vroom::vroom(...)
     12. ├─dplyr::relocate(., date_valid, currency_code, amount, rate)
     13. ├─dplyr::filter(., date_valid %in% date)
     14. ├─dplyr::bind_rows(.)
     15. │ └─rlang::list2(...)
     16. ├─dplyr::select(., -name)
     17. ├─tidyr::pivot_longer(., cols = starts_with("X"), values_to = "rate")
     18. └─dplyr::rename(., date_valid = X1)
     ── Error ('test-cnbfxrate.R:30'): known values ─────────────────────────────────
     Error in `if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) {
     return(tibble::tibble())
     }`: missing value where TRUE/FALSE needed
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-cnbfxrate.R:30:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─czechrates::cnbfxrate(as.Date("2020-04-01"), "EUR")
     5. │ ├─... %>% ...
     6. │ └─base::lapply(roky, dnl_fx)
     7. │ └─czechrates (local) FUN(X[[i]], ...)
     8. │ ├─... %>% dplyr::select(-name)
     9. │ └─readr::read_delim(...)
     10. │ └─vroom::vroom(...)
     11. ├─dplyr::relocate(., date_valid, currency_code, amount, rate)
     12. ├─dplyr::filter(., date_valid %in% date)
     13. ├─dplyr::bind_rows(.)
     14. │ └─rlang::list2(...)
     15. ├─dplyr::select(., -name)
     16. ├─tidyr::pivot_longer(., cols = starts_with("X"), values_to = "rate")
     17. └─dplyr::rename(., date_valid = X1)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building 'vignette.Rmd' using rmarkdown
    Quitting from lines 129-135 (vignette.Rmd)
    Error: processing vignette 'vignette.Rmd' failed with diagnostics:
    missing value where TRUE/FALSE needed
    --- failed re-building 'vignette.Rmd'
    
    SUMMARY: processing the following file failed:
     'vignette.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.2.2
Check: examples
Result: ERROR
    Running examples in ‘czechrates-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: cnbfxrate
    > ### Title: Central bank exchange rate fixing
    > ### Aliases: cnbfxrate
    >
    > ### ** Examples
    >
    > cnbfxrate(as.Date("2002-08-12"), "EUR") # EUR/CZK rate for August 12th, 2002
    Error in if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) { :
     missing value where TRUE/FALSE needed
    Calls: cnbfxrate ... <Anonymous> -> <Anonymous> -> <Anonymous> -> <Anonymous>
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.2.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/14s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(czechrates)
     >
     > test_check("czechrates")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-cnbfxrate.R:16'): data format ──────────────────────────────────
     Error in `if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) {
     return(tibble::tibble())
     }`: missing value where TRUE/FALSE needed
     Backtrace:
     ▆
     1. ├─testthat::expect_true(is.data.frame(cnbfxrate())) at test-cnbfxrate.R:16:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─base::is.data.frame(cnbfxrate())
     5. ├─czechrates::cnbfxrate()
     6. │ ├─... %>% ...
     7. │ └─base::lapply(roky, dnl_fx)
     8. │ └─czechrates (local) FUN(X[[i]], ...)
     9. │ ├─... %>% dplyr::select(-name)
     10. │ └─readr::read_delim(...)
     11. │ └─vroom::vroom(...)
     12. ├─dplyr::relocate(., date_valid, currency_code, amount, rate)
     13. ├─dplyr::filter(., date_valid %in% date)
     14. ├─dplyr::bind_rows(.)
     15. │ └─rlang::list2(...)
     16. ├─dplyr::select(., -name)
     17. ├─tidyr::pivot_longer(., cols = starts_with("X"), values_to = "rate")
     18. └─dplyr::rename(., date_valid = X1)
     ── Error ('test-cnbfxrate.R:30'): known values ─────────────────────────────────
     Error in `if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) {
     return(tibble::tibble())
     }`: missing value where TRUE/FALSE needed
     Backtrace:
     ▆
     1. ├─testthat::expect_equal(...) at test-cnbfxrate.R:30:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─czechrates::cnbfxrate(as.Date("2020-04-01"), "EUR")
     5. │ ├─... %>% ...
     6. │ └─base::lapply(roky, dnl_fx)
     7. │ └─czechrates (local) FUN(X[[i]], ...)
     8. │ ├─... %>% dplyr::select(-name)
     9. │ └─readr::read_delim(...)
     10. │ └─vroom::vroom(...)
     11. ├─dplyr::relocate(., date_valid, currency_code, amount, rate)
     12. ├─dplyr::filter(., date_valid %in% date)
     13. ├─dplyr::bind_rows(.)
     14. │ └─rlang::list2(...)
     15. ├─dplyr::select(., -name)
     16. ├─tidyr::pivot_longer(., cols = starts_with("X"), values_to = "rate")
     17. └─dplyr::rename(., date_valid = X1)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘vignette.Rmd’ using rmarkdown
    Quitting from lines 129-135 (vignette.Rmd)
    Error: processing vignette ‘vignette.Rmd’ failed with diagnostics:
    missing value where TRUE/FALSE needed
    --- failed re-building ‘vignette.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘vignette.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.2.2
Check: tests
Result: ERROR
     Running 'testthat.R' [10s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(czechrates)
     >
     > test_check("czechrates")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
    
     == Failed tests ================================================================
     -- Error ('test-cnbfxrate.R:16'): data format ----------------------------------
     Error in `if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) {
     return(tibble::tibble())
     }`: missing value where TRUE/FALSE needed
     Backtrace:
     x
     1. +-testthat::expect_true(is.data.frame(cnbfxrate())) at test-cnbfxrate.R:16:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. +-base::is.data.frame(cnbfxrate())
     5. +-czechrates::cnbfxrate()
     6. | +-... %>% ...
     7. | \-base::lapply(roky, dnl_fx)
     8. | \-czechrates (local) FUN(X[[i]], ...)
     9. | +-... %>% dplyr::select(-name)
     10. | \-readr::read_delim(...)
     11. | \-vroom::vroom(...)
     12. +-dplyr::relocate(., date_valid, currency_code, amount, rate)
     13. +-dplyr::filter(., date_valid %in% date)
     14. +-dplyr::bind_rows(.)
     15. | \-rlang::list2(...)
     16. +-dplyr::select(., -name)
     17. +-tidyr::pivot_longer(., cols = starts_with("X"), values_to = "rate")
     18. \-dplyr::rename(., date_valid = X1)
     -- Error ('test-cnbfxrate.R:30'): known values ---------------------------------
     Error in `if (length(file) == 0 || (n_max == 0 & identical(col_names, FALSE))) {
     return(tibble::tibble())
     }`: missing value where TRUE/FALSE needed
     Backtrace:
     x
     1. +-testthat::expect_equal(...) at test-cnbfxrate.R:30:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. +-czechrates::cnbfxrate(as.Date("2020-04-01"), "EUR")
     5. | +-... %>% ...
     6. | \-base::lapply(roky, dnl_fx)
     7. | \-czechrates (local) FUN(X[[i]], ...)
     8. | +-... %>% dplyr::select(-name)
     9. | \-readr::read_delim(...)
     10. | \-vroom::vroom(...)
     11. +-dplyr::relocate(., date_valid, currency_code, amount, rate)
     12. +-dplyr::filter(., date_valid %in% date)
     13. +-dplyr::bind_rows(.)
     14. | \-rlang::list2(...)
     15. +-dplyr::select(., -name)
     16. +-tidyr::pivot_longer(., cols = starts_with("X"), values_to = "rate")
     17. \-dplyr::rename(., date_valid = X1)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 26 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.2.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'vignette.Rmd' using rmarkdown
    Quitting from lines 129-135 (vignette.Rmd)
    Error: processing vignette 'vignette.Rmd' failed with diagnostics:
    missing value where TRUE/FALSE needed
    --- failed re-building 'vignette.Rmd'
    
    SUMMARY: processing the following file failed:
     'vignette.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64