CRAN Package Check Results for Package cryptoTax

Last updated on 2023-03-13 05:52:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.4 10.12 181.60 191.72 OK
r-devel-linux-x86_64-debian-gcc 0.0.4 7.82 138.52 146.34 OK
r-devel-linux-x86_64-fedora-clang 0.0.4 226.06 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.5 245.17 OK
r-devel-windows-x86_64 0.0.5 49.00 205.00 254.00 OK
r-patched-linux-x86_64 0.0.4 9.60 168.40 178.00 OK
r-release-linux-x86_64 0.0.4 6.98 168.64 175.62 OK
r-release-macos-arm64 0.0.5 142.00 OK
r-release-macos-x86_64 0.0.4 166.00 OK
r-release-windows-x86_64 0.0.4 72.00 252.00 324.00 OK
r-oldrel-macos-arm64 0.0.5 143.00 OK
r-oldrel-macos-x86_64 0.0.4 165.00 OK
r-oldrel-windows-ix86+x86_64 0.0.4 21.00 154.00 175.00 ERROR

Additional issues

noLD

Check Details

Version: 0.0.4
Check: examples
Result: ERROR
    Running examples in ‘cryptoTax-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: match_prices
    > ### Title: Get Fair Market Value (FMV) of transactions
    > ### Aliases: match_prices
    >
    > ### ** Examples
    >
    > data <- format_shakepay(data_shakepay)[c(1:2)]
    > match_prices(data)
    ❯ Scraping historical crypto data
    
    Error: cannot open the connection to 'https://web-api.coinmarketcap.com/v1/cryptocurrency/ohlcv/historical?convert=CAD&time_end=1678233600&time_start=1609459200&interval=daily&id=1'
    Retrying in 60 seconds.
    Error in prepare_list_prices(coins = my.coins, start.date = start.date, :
     object 'coin_hist' not found
    Calls: match_prices -> prepare_list_prices
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.0.4
Check: dependencies in R code
Result: NOTE
    Initiating curl with CURL_SSL_BACKEND: openssl
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.0.4
Check: examples
Result: ERROR
    Running examples in 'cryptoTax-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: prepare_report
    > ### Title: Prepare info for full crypto tax report
    > ### Aliases: prepare_report
    >
    > ### ** Examples
    >
    > list.prices <- prepare_list_prices(coins = "BTC", start.date = "2021-01-01")
    Could not reach the CoinMarketCap API at this time
    > all.data <- format_shakepay(data_shakepay)
    > formatted.ACB <- format_ACB(all.data, verbose = FALSE)
    > x <- prepare_report(formatted.ACB, list.prices = list.prices)
    Error in `mutate()`:
    i In argument: `date = last(list.prices$timestamp)`.
    i In group 1: `currency = "BTC"`.
    Caused by error in `vec_init()`:
    ! `x` must be a vector, not `NULL`.
    Backtrace:
     x
     1. +-cryptoTax::prepare_report(formatted.ACB, list.prices = list.prices)
     2. | \-cryptoTax::report_overview(...)
     3. | \-... %>% ...
     4. +-dplyr::mutate(., date.temp = .data$date, date = last(list.prices$timestamp))
     5. +-dplyr:::mutate.data.frame(., date.temp = .data$date, date = last(list.prices$timestamp))
     6. | \-dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
     7. | +-base::withCallingHandlers(...)
     8. | \-dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
     9. | \-mask$eval_all_mutate(quo)
     10. | \-dplyr (local) eval()
     11. +-dplyr::last(list.prices$timestamp)
     12. | \-dplyr::nth(x, -1L, order_by = order_by, default = default, na_rm = na_rm)
     13. | \-dplyr:::check_nth_default(default, x = x)
     14. | \-vctrs::vec_init(x)
     15. \-vctrs:::stop_scalar_type(`<fn>`(NULL), "x", `<fn>`(vec_init()))
     16. \-vctrs:::stop_vctrs(...)
     17. \-rlang::abort(message, class = c(class, "vctrs_error"), ..., call = vctrs_error_call(call))
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.0.4
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'ACB.Rmd' using rmarkdown
    --- finished re-building 'ACB.Rmd'
    
    --- re-building 'references.Rmd' using rmarkdown
    --- finished re-building 'references.Rmd'
    
    --- re-building 'report.Rmd' using rmarkdown
    Initiating curl with CURL_SSL_BACKEND: openssl
    Quitting from lines 91-95 (report.Rmd)
    Error: processing vignette 'report.Rmd' failed with diagnostics:
    i In argument: `date = last(list.prices$timestamp)`.
    i In group 1: `currency = "ADA"`.
    Caused by error in `vec_init()`:
    ! `x` must be a vector, not `NULL`.
    --- failed re-building 'report.Rmd'
    
    SUMMARY: processing the following file failed:
     'report.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64