CRAN Package Check Results for Package weathercan

Last updated on 2020-01-10 07:53:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 7.97 199.75 207.72 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 7.06 149.16 156.22 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 166.91 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.2 155.87 NOTE
r-devel-windows-ix86+x86_64 0.3.1 20.00 355.00 375.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.3.2 17.00 333.00 350.00 OK
r-patched-linux-x86_64 0.3.1 7.03 178.86 185.89 OK
r-patched-solaris-x86 0.3.2 258.80 ERROR
r-release-linux-x86_64 0.3.1 7.49 176.33 183.82 OK
r-release-windows-ix86+x86_64 0.3.1 23.00 362.00 385.00 ERROR
r-release-osx-x86_64 0.3.2 NOTE
r-oldrel-windows-ix86+x86_64 0.3.2 9.00 263.00 272.00 OK
r-oldrel-osx-x86_64 0.3.2 NOTE

Check Details

Version: 0.3.2
Check: data for non-ASCII characters
Result: NOTE
     Note: found 72 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [215s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(weathercan)
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("weathercan")
     -- 1. Error: normals_raw() download normals as character ----------------------
     cannot open the connection
     Backtrace:
     1. testthat::expect_silent(normals_raw(url))
     9. weathercan:::normals_raw(url)
     10. base::readLines(con <- url(loc, encoding = "latin1"), n = nrows)
    
     -- 2. Error: normals_extract() / frost_extract() extract data (@test_08_normals.
     cannot open the connection
     Backtrace:
     1. base::paste0(...)
     9. weathercan:::normals_raw(.)
     10. base::readLines(con <- url(loc, encoding = "latin1"), n = nrows)
    
     -- 3. Error: normals_format()/frost_format() format data to correct class (@test
     cannot open the connection
     Backtrace:
     1. base::paste0(...)
     9. weathercan:::normals_raw(.)
     10. base::readLines(con <- url(loc, encoding = "latin1"), n = nrows)
    
     -- 4. Error: normals_dl() downloads normals/frost dates as tibble -------------
     The link in `options("weathecan.urls.normals")` must point to the site where climate normals are stored by province
     Backtrace:
     1. testthat::expect_silent(normals_dl(climate_id = "5010480"))
     9. weathercan::normals_dl(climate_id = "5010480")
    
     == testthat results ===========================================================
     [ OK: 544 | SKIPPED: 5 | WARNINGS: 2 | FAILED: 4 ]
     1. Error: normals_raw() download normals as character
     2. Error: normals_extract() / frost_extract() extract data (@test_08_normals.R#26)
     3. Error: normals_format()/frost_format() format data to correct class (@test_08_normals.R#36)
     4. Error: normals_dl() downloads normals/frost dates as tibble
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'flags.Rmd' using rmarkdown
    
    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
    
    Quitting from lines 66-69 (flags.Rmd)
    Error: processing vignette 'flags.Rmd' failed with diagnostics:
    The link in `options("weathecan.urls.normals")` must point to the site where climate normals are stored by province
    --- failed re-building 'flags.Rmd'
    
    --- re-building 'glossary.Rmd' using rmarkdown
    --- finished re-building 'glossary.Rmd'
    
    --- re-building 'glossary_normals.Rmd' using rmarkdown
    --- finished re-building 'glossary_normals.Rmd'
    
    --- re-building 'interpolate_data.Rmd' using rmarkdown
    
    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
    
    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
    
    Quitting from lines 39-41 (normals.Rmd)
    Error: processing vignette 'normals.Rmd' failed with diagnostics:
    The link in `options("weathecan.urls.normals")` must point to the site where climate normals are stored by province
    --- failed re-building 'normals.Rmd'
    
    --- re-building 'weathercan.Rmd' using rmarkdown
    
    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 'weathercan.Rmd'
    
    SUMMARY: processing the following files failed:
     'flags.Rmd' 'normals.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [114s/343s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(weathercan)
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("weathercan")
     ── 1. Error: stations_normals() gets normals info ─────────────────────────────
     Timeout was reached: [dd.meteo.gc.ca] Resolving timed out after 10000 milliseconds
     Backtrace:
     1. testthat::expect_silent(n <- stations_normals(years = "1981-2010"))
     20. purrr::map(.data$loc, ~stations_extract_normals(.))
     21. weathercan:::.f(.x[[i]], ...)
     22. weathercan:::stations_extract_normals(.)
     27. xml2:::read_html.default(loc)
     31. xml2:::read_xml.character(...)
     32. xml2:::read_xml.connection(...)
     34. base::open.connection(x, "rb")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 570 | SKIPPED: 5 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: stations_normals() gets normals info
    
     Error: testthat unit tests failed
     In addition: Warning message:
     In for (i in seq_len(n)) { :
     closing unused connection 5 (https://dd.meteo.gc.ca/climate/observations/normals/csv/1981-2010/NT)
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.1
Check: tests
Result: ERROR
     Running 'testthat.R' [212s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(weathercan)
     >
     > Sys.setenv("R_TESTS" = "")
     >
     > test_check("weathercan")
     -- 1. Error: normals_raw() download normals as character ----------------------
     cannot open the connection
     Backtrace:
     1. testthat::expect_silent(normals_raw(url))
     9. weathercan:::normals_raw(url)
     10. base::readLines(con <- url(loc, encoding = "latin1"), n = nrows)
    
     -- 2. Error: normals_extract() / frost_extract() extract data (@test_08_normals.
     cannot open the connection
     Backtrace:
     1. base::paste0(...)
     9. weathercan:::normals_raw(.)
     10. base::readLines(con <- url(loc, encoding = "latin1"), n = nrows)
    
     -- 3. Error: normals_format()/frost_format() format data to correct class (@test
     cannot open the connection
     Backtrace:
     1. base::paste0(...)
     9. weathercan:::normals_raw(.)
     10. base::readLines(con <- url(loc, encoding = "latin1"), n = nrows)
    
     -- 4. Error: normals_dl() downloads normals/frost dates as tibble -------------
     The link in `options("weathecan.urls.normals")` must point to the site where climate normals are stored by province
     Backtrace:
     1. testthat::expect_silent(normals_dl(climate_id = "5010480"))
     9. weathercan::normals_dl(climate_id = "5010480")
    
     == testthat results ===========================================================
     [ OK: 544 | SKIPPED: 5 | WARNINGS: 2 | FAILED: 4 ]
     1. Error: normals_raw() download normals as character
     2. Error: normals_extract() / frost_extract() extract data (@test_08_normals.R#26)
     3. Error: normals_format()/frost_format() format data to correct class (@test_08_normals.R#36)
     4. Error: normals_dl() downloads normals/frost dates as tibble
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64