CRAN Package Check Results for Package weathercan

Last updated on 2021-06-12 02:49:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.1 10.37 376.97 387.34 OK
r-devel-linux-x86_64-debian-gcc 0.6.1 9.09 283.38 292.47 OK
r-devel-linux-x86_64-fedora-clang 0.6.1 478.93 NOTE
r-devel-linux-x86_64-fedora-gcc 0.6.1 455.47 NOTE
r-devel-windows-x86_64 0.6.1 19.00 483.00 502.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.6.1 NOTE
r-patched-linux-x86_64 0.6.1 11.63 357.26 368.89 ERROR
r-patched-solaris-x86 0.6.1 549.90 NOTE
r-release-linux-x86_64 0.6.1 9.16 362.18 371.34 OK
r-release-macos-arm64 0.6.0 ERROR
r-release-macos-x86_64 0.6.1 NOTE
r-release-windows-ix86+x86_64 0.6.1 19.00 337.00 356.00 OK
r-oldrel-macos-x86_64 0.6.1 NOTE
r-oldrel-windows-ix86+x86_64 0.6.1 22.00 449.00 471.00 OK

Check Details

Version: 0.6.1
Check: data for non-ASCII characters
Result: NOTE
     Note: found 3 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.6.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [227s/246s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(weathercan)
     weathercan v0.6.1
     The included data `stations` has been deprecated in favour of the function `stations()`.
     See ?stations for more details.
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("weathercan")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (7)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test_06_weather_dl_2_day.R:184:3): weather (day) handles data with different numbers of columns ──
     `expect_message(...)` threw an error.
     Message:
    
     ================================================================================
     An HTTP request has been made that vcr does not know how to handle:
     GET https://climate.weather.gc.ca/climate_data/bulk_data_e.html?format=txt&stationID=51423&timeframe=2&submit=Download%2BData
     vcr is currently using the following cassette:
     - /home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/weathercan.Rcheck/tests/fixtures/weather_day_51423_2018.yml
     - record_mode: once
     - match_requests_on: method, uri
     Set `VCR_VERBOSE_ERRORS=TRUE` for more verbose errors
     If you're not sure what to do, open an issue https://github.com/ropensci/vcr/issues
     & see https://books.ropensci.org/http-testing
     ================================================================================
    
    
     Class: simpleError/error/condition
     Backtrace:
     █
     1. ├─vcr::use_cassette(...) test_06_weather_dl_2_day.R:184:2
     2. │ └─cassette$call_block(...)
     3. ├─testthat::expect_error(...) test_06_weather_dl_2_day.R:185:4
     4. │ └─testthat:::quasi_capture(...)
     5. │ ├─testthat:::.capture(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     8. ├─testthat::expect_message(...)
     9. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
     10. │ ├─testthat:::.capture(...)
     11. │ │ └─base::withCallingHandlers(...)
     12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     13. ├─weathercan::weather_dl(...)
     14. │ ├─`%>%`(...)
     15. │ └─weathercan:::meta_html(station_id = s, interval = interval)
     16. │ ├─weathercan:::get_html(station_id, date = NULL, interval, format = "txt")
     17. │ │ ├─base::withVisible(eval(mc, parent.frame()))
     18. │ │ └─base::eval(mc, parent.frame())
     19. │ │ └─base::eval(mc, parent.frame())
     20. │ └─(function (station_id, date = NULL, interval = "hour", format = "csv") ...
     21. │ └─weathercan:::get_check(...)
     22. │ └─httr::GET(...)
     23. │ └─httr:::request_perform(req, hu$handle$handle)
     24. │ └─httr:::perform_callback("request", req = req)
     25. │ └─webmockr:::callback(...)
     26. │ └─webmockr::HttrAdapter$new()$handle_request(req)
     27. │ └─private$request_handler(req)$handle()
     28. │ └─eval(parse(text = req_type_fun))(self$request)
     29. │ └─err$run()
     30. │ └─self$construct_message()
     31. ├─weathercan:::meta_format(., s = s)
     32. │ └─`%>%`(...)
     33. ├─tidyr::spread(., .data$X1, .data$X2)
     34. ├─dplyr::filter(., !is.na(.data$X1))
     35. ├─dplyr::mutate(., X1 = stringr::str_extract(.data$X1, pattern = m))
     36. ├─weathercan:::meta_raw(., encoding = encoding, interval = interval)
     37. │ ├─`%>%`(...)
     38. │ └─httr::content(html, as = "text", encoding = encoding)
     39. │ ├─base::stopifnot(is.response(x))
     40. │ └─httr:::is.response(x)
     41. ├─stringr::str_subset(., "^\r$", negate = TRUE)
     42. │ └─stringi::stri_subset_regex(...)
     43. └─stringr::str_split(., "\n", simplify = TRUE)
     44. └─stringi::stri_split_regex(...)
     ── Error (test_06_weather_dl_2_day.R:190:3): weather (day) handles data with different numbers of columns ──
     Error: object 'd' not found
     Backtrace:
     █
     1. ├─testthat::expect_gt(nrow(d), 0) test_06_weather_dl_2_day.R:190:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─base::nrow(d)
    
     [ FAIL 2 | WARN 0 | SKIP 7 | PASS 663 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.6.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘sf’
Flavor: r-release-macos-arm64

Version: 0.6.0
Check: data for non-ASCII characters
Result: NOTE
     Note: found 3 marked UTF-8 strings
Flavor: r-release-macos-arm64

Version: 0.6.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [70s/77s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     Backtrace:
     █
     1. ├─vcr::use_cassette(...) test_03_station_dl.R:21:2
     2. │ └─cassette$call_block(...)
     3. ├─testthat::expect_error(...) test_03_station_dl.R:22:4
     4. │ └─testthat:::quasi_capture(...)
     5. │ ├─testthat:::.capture(...)
     6. │ │ └─base::withCallingHandlers(...)
     7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     8. └─weathercan::stations_dl()
     9. └─weathercan:::stations_dl_internal(...)
    
     [ FAIL 1 | WARN 0 | SKIP 6 | PASS 667 ]
     Error: Test failures
     Execution halted
Flavor: r-release-macos-arm64

Version: 0.6.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building ‘flags.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    weathercan v0.6.0
    The included data `stations` has been deprecated in favour of the function `stations()`.
    See ?stations for more details.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    --- finished re-building ‘flags.Rmd’
    
    --- re-building ‘glossary.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘glossary.Rmd’
    
    --- re-building ‘glossary_normals.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘glossary_normals.Rmd’
    
    --- re-building ‘interpolate_data.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    weathercan v0.6.0
    The included data `stations` has been deprecated in favour of the function `stations()`.
    See ?stations for more details.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    --- finished re-building ‘interpolate_data.Rmd’
    
    --- re-building ‘normals.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    weathercan v0.6.0
    The included data `stations` has been deprecated in favour of the function `stations()`.
    See ?stations for more details.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    --- finished re-building ‘normals.Rmd’
    
    --- re-building ‘reproducibility.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘reproducibility.Rmd’
    
    --- re-building ‘weathercan.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    weathercan v0.6.0
    The included data `stations` has been deprecated in favour of the function `stations()`.
    See ?stations for more details.
    Quitting from lines 80-81 (weathercan.Rmd)
    Error: processing vignette 'weathercan.Rmd' failed with diagnostics:
    Package 'lutz' and its dependency, 'sf', are required to get timezones for the updated stations dataframe. Use the code "install.packages(c('lutz', 'sf'))" to install.
    --- failed re-building ‘weathercan.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘weathercan.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-macos-arm64