CRAN Package Check Results for Package phenocamapi

Last updated on 2020-10-30 06:47:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 4.12 67.79 71.91 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 3.34 51.05 54.39 OK
r-devel-linux-x86_64-fedora-clang 0.1.5 87.01 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 76.52 OK
r-devel-windows-ix86+x86_64 0.1.5 9.00 146.00 155.00 ERROR
r-patched-linux-x86_64 0.1.5 4.05 62.49 66.54 OK
r-patched-solaris-x86 0.1.5 131.70 OK
r-release-linux-x86_64 0.1.5 3.78 62.11 65.89 OK
r-release-macos-x86_64 0.1.5 OK
r-release-windows-ix86+x86_64 0.1.5 8.00 135.00 143.00 ERROR
r-oldrel-macos-x86_64 0.1.5 OK
r-oldrel-windows-ix86+x86_64 0.1.5 13.00 176.00 189.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' [64s]
    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 223190 bytes (217 KB)
     ==================================================
     downloaded 217 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-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 223190 bytes (217 KB)
    ==================================================
    downloaded 217 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 223190 bytes (217 KB)
    ==================================================
    downloaded 217 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/oregonMP/ROI/oregonMP_EN_1000_3day.csv'
    Content type 'application/octet-stream' length 282814 bytes (276 KB)
    ==================================================
    downloaded 276 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
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [31s]
    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 223190 bytes (217 KB)
     ==================================================
     downloaded 217 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: tests
Result: ERROR
     Running 'testthat.R' [73s]
    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 222941 bytes (217 KB)
     ==================================================
     downloaded 217 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 222941 bytes (217 KB)
    ==================================================
    downloaded 217 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 222941 bytes (217 KB)
    ==================================================
    downloaded 217 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/oregonMP/ROI/oregonMP_EN_1000_3day.csv'
    Content type 'application/octet-stream' length 282814 bytes (276 KB)
    ==================================================
    downloaded 276 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