CRAN Package Check Results for Package phenocamapi

Last updated on 2020-07-09 01:57:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 3.88 69.83 73.71 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 3.20 50.93 54.13 OK
r-devel-linux-x86_64-fedora-clang 0.1.5 87.32 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 75.52 OK
r-devel-windows-ix86+x86_64 0.1.5 9.00 285.00 294.00 ERROR
r-patched-linux-x86_64 0.1.5 3.95 64.19 68.14 OK
r-patched-solaris-x86 0.1.5 130.20 OK
r-release-linux-x86_64 0.1.5 3.47 63.88 67.35 OK
r-release-osx-x86_64 0.1.5 OK
r-release-windows-ix86+x86_64 0.1.5 9.00 139.00 148.00 ERROR
r-oldrel-osx-x86_64 0.1.5 OK
r-oldrel-windows-ix86+x86_64 0.1.5 7.00 121.00 128.00 ERROR

Check Details

Version: 0.1.5
Check: examples
Result: ERROR
    Running examples in 'phenocamapi-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: download_midday_images
    > ### Title: Downloading the midday images for PhenoCam sites given a time
    > ### range
    > ### Aliases: download_midday_images
    >
    > ### ** Examples
    >
    >
    > download_dir <- download_midday_images('dukehw',
    + y = 2018,
    + months = 2,
    + days=1,
    + download_dir= tempdir())
    Warning in get_midday_list(site, direct = FALSE) :
     midday list file was not found on the Phenocam server!
    Error in basename(filepaths) : a character vector argument expected
    Calls: download_midday_images -> parse_phenocam_filenames -> gsub -> basename
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [97s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(phenocamapi)
     Loading required package: data.table
     Loading required package: rjson
     Loading required package: RCurl
     > library(data.table)
     >
     > test_check("phenocamapi")
     trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
     Content type 'application/octet-stream' length 213683 bytes (208 KB)
     ==================================================
     downloaded 208 KB
    
     Error in file(con, "r") : cannot open the connection
     -- 1. Error: (unknown) (@testphenocamapi.R#18) --------------------------------
     a character vector argument expected
     Backtrace:
     1. base::basename(duke_middays[1])
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
     1. Error: (unknown) (@testphenocamapi.R#18)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.1.5
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'getting_started_phenocam_api.Rmd' using rmarkdown
    trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
    Content type 'application/octet-stream' length 213683 bytes (208 KB)
    ==================================================
    downloaded 208 KB
    
    Quitting from lines 258-272 (getting_started_phenocam_api.Rmd)
    Error: processing vignette 'getting_started_phenocam_api.Rmd' failed with diagnostics:
    'url' must be a length-one character vector
    --- failed re-building 'getting_started_phenocam_api.Rmd'
    
    --- re-building 'phenocam_data_fusion.Rmd' using rmarkdown
    Loading required package: rjson
    Loading required package: RCurl
    Quitting from lines 69-78 (phenocam_data_fusion.Rmd)
    Error: processing vignette 'phenocam_data_fusion.Rmd' failed with diagnostics:
    cannot open the connection
    --- failed re-building 'phenocam_data_fusion.Rmd'
    
    SUMMARY: processing the following files failed:
     'getting_started_phenocam_api.Rmd' 'phenocam_data_fusion.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [35s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(phenocamapi)
     Loading required package: data.table
     Loading required package: rjson
     Loading required package: RCurl
     > library(data.table)
     >
     > test_check("phenocamapi")
     trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
     Content type 'application/octet-stream' length 213683 bytes (208 KB)
     ==================================================
     downloaded 208 KB
    
     -- 1. Failure: test getting awb data (@testphenocamapi.R#42) ------------------
     `wb` not equal to "LIKELY_NO".
     target is NULL, current is character
    
     == testthat results ===========================================================
     [ OK: 5 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 1 ]
     1. Failure: test getting awb data (@testphenocamapi.R#42)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.1.5
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'getting_started_phenocam_api.Rmd' using rmarkdown
    trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
    Content type 'application/octet-stream' length 213683 bytes (208 KB)
    ==================================================
    downloaded 208 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/2013/05/dukehw_2013_05_31_150331.jpg'
    Content type 'image/jpeg' length 470270 bytes (459 KB)
    ==================================================
    downloaded 459 KB
    
    Quitting from lines 282-298 (getting_started_phenocam_api.Rmd)
    Error: processing vignette 'getting_started_phenocam_api.Rmd' failed with diagnostics:
    a character vector argument expected
    --- failed re-building 'getting_started_phenocam_api.Rmd'
    
    --- re-building 'phenocam_data_fusion.Rmd' using rmarkdown
    Loading required package: rjson
    Loading required package: RCurl
    trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
    Content type 'application/octet-stream' length 213683 bytes (208 KB)
    ==================================================
    downloaded 208 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/oregonMP/ROI/oregonMP_EN_1000_3day.csv'
    Content type 'application/octet-stream' length 279539 bytes (272 KB)
    ==================================================
    downloaded 272 KB
    
    --- finished re-building 'phenocam_data_fusion.Rmd'
    
    SUMMARY: processing the following file failed:
     'getting_started_phenocam_api.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [25s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(phenocamapi)
     Loading required package: data.table
     Loading required package: rjson
     Loading required package: RCurl
     > library(data.table)
     >
     > test_check("phenocamapi")
     trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
     Content type 'application/octet-stream' length 213183 bytes (208 KB)
     ==================================================
     downloaded 208 KB
    
     -- 1. Failure: test getting awb data (@testphenocamapi.R#42) ------------------
     `wb` not equal to "LIKELY_NO".
     target is NULL, current is character
    
     == testthat results ===========================================================
     [ OK: 5 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 1 ]
     1. Failure: test getting awb data (@testphenocamapi.R#42)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.1.5
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'getting_started_phenocam_api.Rmd' using rmarkdown
    trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
    Content type 'application/octet-stream' length 213183 bytes (208 KB)
    ==================================================
    downloaded 208 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/2013/05/dukehw_2013_05_31_150331.jpg'
    Content type 'image/jpeg' length 470270 bytes (459 KB)
    ==================================================
    downloaded 459 KB
    
    Quitting from lines 282-298 (getting_started_phenocam_api.Rmd)
    Error: processing vignette 'getting_started_phenocam_api.Rmd' failed with diagnostics:
    a character vector argument expected
    --- failed re-building 'getting_started_phenocam_api.Rmd'
    
    --- re-building 'phenocam_data_fusion.Rmd' using rmarkdown
    Loading required package: rjson
    Loading required package: RCurl
    trying URL 'http://phenocam.sr.unh.edu/data/archive/dukehw/ROI/dukehw_DB_1000_3day.csv'
    Content type 'application/octet-stream' length 213183 bytes (208 KB)
    ==================================================
    downloaded 208 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/oregonMP/ROI/oregonMP_EN_1000_3day.csv'
    Content type 'application/octet-stream' length 279025 bytes (272 KB)
    ==================================================
    downloaded 272 KB
    
    --- finished re-building 'phenocam_data_fusion.Rmd'
    
    SUMMARY: processing the following file failed:
     'getting_started_phenocam_api.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64