CRAN Package Check Results for Package phenocamapi

Last updated on 2020-10-01 20:47:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 4.18 66.59 70.77 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 3.21 50.57 53.78 OK
r-devel-linux-x86_64-fedora-clang 0.1.5 97.08 OK
r-devel-linux-x86_64-fedora-gcc 0.1.5 77.60 OK
r-devel-windows-ix86+x86_64 0.1.5 8.00 148.00 156.00 ERROR
r-patched-linux-x86_64 0.1.5 3.38 61.86 65.24 OK
r-patched-solaris-x86 0.1.5 125.50 OK
r-release-linux-x86_64 0.1.5 3.91 61.88 65.79 OK
r-release-macos-x86_64 0.1.5 OK
r-release-windows-ix86+x86_64 0.1.5 17.00 131.00 148.00 ERROR
r-oldrel-macos-x86_64 0.1.5 OK
r-oldrel-windows-ix86+x86_64 0.1.5 7.00 170.00 177.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' [69s]
    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 220434 bytes (215 KB)
     ==================================================
     downloaded 215 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 220434 bytes (215 KB)
    ==================================================
    downloaded 215 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 220434 bytes (215 KB)
    ==================================================
    downloaded 215 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/oregonMP/ROI/oregonMP_EN_1000_3day.csv'
    Content type 'application/octet-stream' length 282815 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' [30s]
    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 220434 bytes (215 KB)
     ==================================================
     downloaded 215 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' [78s]
    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 220184 bytes (215 KB)
     ==================================================
     downloaded 215 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 220184 bytes (215 KB)
    ==================================================
    downloaded 215 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 220184 bytes (215 KB)
    ==================================================
    downloaded 215 KB
    
    trying URL 'http://phenocam.sr.unh.edu/data/archive/oregonMP/ROI/oregonMP_EN_1000_3day.csv'
    Content type 'application/octet-stream' length 282815 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