CRAN Package Check Results for Package sapfluxnetr

Last updated on 2022-09-27 13:50:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3 12.50 229.51 242.01 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.3 9.87 169.44 179.31 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 300.83 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.3 288.70 NOTE
r-devel-windows-x86_64 0.1.3 107.00 292.00 399.00 OK
r-patched-linux-x86_64 0.1.3 18.10 217.49 235.59 OK
r-release-linux-x86_64 0.1.3 7.72 215.31 223.03 OK
r-release-macos-arm64 0.1.3 72.00 NOTE
r-release-macos-x86_64 0.1.3 146.00 NOTE
r-release-windows-x86_64 0.1.3 128.00 276.00 404.00 OK
r-oldrel-macos-arm64 0.1.3 134.00 NOTE
r-oldrel-macos-x86_64 0.1.3 111.00 NOTE
r-oldrel-windows-ix86+x86_64 0.1.3 26.00 276.00 302.00 OK

Check Details

Version: 0.1.3
Check: tests
Result: ERROR
     Running 'testthat.R' [27s/32s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(sapfluxnetr)
     >
     > test_check("sapfluxnetr")
     [1] "processing site ARG_MAZ (1 of 3)"
     [1] "processing site ARG_TRE (2 of 3)"
     [1] "processing site AUS_CAN_ST2_MIX (3 of 3)"
     [1] "processing site ARG_MAZ (1 of 3)"
     [1] "processing site ARG_TRE (2 of 3)"
     [1] "processing site AUS_CAN_ST2_MIX (3 of 3)"
     [1] "processing site ARG_MAZ (1 of 3)"
     [1] "processing site ARG_TRE (2 of 3)"
     [1] "processing site AUS_CAN_ST2_MIX (3 of 3)"
     Error in validObject(object) :
     invalid class "sfn_data" object: 1: nrow(sapf_data) != nrow(env_data)
     invalid class "sfn_data" object: 2: nrow(sapf_data) != length(timestamp) | nrow(env_data) != length(timestamp)
     invalid class "sfn_data" object: 3: nrow(*_flags) =! nrow(*_flags) | nrow(*_flags) =! nrow(*_data)
     Error in validObject(object) :
     invalid class "sfn_data" object: 1: nrow(sapf_data) != nrow(env_data)
     invalid class "sfn_data" object: 2: nrow(sapf_data) != length(timestamp) | nrow(env_data) != length(timestamp)
     invalid class "sfn_data" object: 3: nrow(*_flags) =! nrow(*_flags) | nrow(*_flags) =! nrow(*_data)
     Error in validObject(object) :
     invalid class "sfn_data" object: 1: nrow(*_flags) =! nrow(*_flags) | nrow(*_flags) =! nrow(*_data)
     invalid class "sfn_data" object: 2: nrow(sapf_flags) != length(timestamp) | nrow(env_flags) != length(timestamp)
     Error in validObject(object) :
     invalid class "sfn_data" object: 1: nrow(*_flags) =! nrow(*_flags) | nrow(*_flags) =! nrow(*_data)
     invalid class "sfn_data" object: 2: nrow(sapf_flags) != length(timestamp) | nrow(env_flags) != length(timestamp)
     Error in validObject(object) :
     invalid class "sfn_data" object: 1: nrow(sapf_data) != length(timestamp) | nrow(env_data) != length(timestamp)
     invalid class "sfn_data" object: 2: length(timestamp) != length(solar_timestamp)
     invalid class "sfn_data" object: 3: nrow(sapf_flags) != length(timestamp) | nrow(env_flags) != length(timestamp)
     Error in validObject(object) :
     invalid class "sfn_data" object: length(timestamp) != length(solar_timestamp)
     Error in validObject(object) :
     invalid class "sfn_data" object: si_code slot can not be an empty string
     Error in validObject(object) :
     invalid class "sfn_data" object: si_code must be of length = 1
     Error in validObject(object) :
     invalid class "sfn_data" object: metadata slots can not be 0-row data frames
     [ FAIL 4 | WARN 8 | SKIP 19 | PASS 347 ]
    
     == Skipped tests ===============================================================
     * On CRAN (19)
    
     == Failed tests ================================================================
     -- Failure (test-sfn_data_classes.R:562:3): show methods works -----------------
     `print\(ARG_TRE\)` does not match "Data from ARG_TRE site".
     Actual value: "sfn_data object\\nData from ARG_TRE site\\n\\nData kindly provided by Seabstian Pfautsch from University of Sydney\\nand Pablo Peri from Instituto Nacional de Tecnolog\\xeda Agropecuaria \\n\\nSite related literature: DOI 10\.1007/s00468-013-0935-4 \\n\\nSapflow data: 312 observations of 4 trees/plants\\nSpecies present: Nothofagus antarctica \\n\\nEnvironmental data: 312 observations\.\\nVariables present:\\n ta rh vpd sw_in ws precip swc_shallow ppfd_in ext_rad \\n\\nBiome: Woodland/Shrubland \\n\\nTIMESTAMP span: 2009-11-18 -03--2009-11-30 23:00:00 -03 \\n\\nSolar TIMESTAMP span: 2009-11-17 22:24:58 UTC--2009-11-30 21:20:48 UTC \\n\\nSapflow data flags:\\nNo flags present\\n\\nEnvironmental data flags:\\nRANGE_WARN OUT_WARN CALCULATED \\n 18 24 624 \\n"
     Backtrace:
     x
     1. \-testthat::expect_output(print(ARG_TRE), "Data from ARG_TRE site") at test-sfn_data_classes.R:562:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-sfn_data_classes.R:563:3): show methods works -----------------
     `print\(ARG_TRE\)` does not match "Environmental data flags:".
     Actual value: "sfn_data object\\nData from ARG_TRE site\\n\\nData kindly provided by Seabstian Pfautsch from University of Sydney\\nand Pablo Peri from Instituto Nacional de Tecnolog\\xeda Agropecuaria \\n\\nSite related literature: DOI 10\.1007/s00468-013-0935-4 \\n\\nSapflow data: 312 observations of 4 trees/plants\\nSpecies present: Nothofagus antarctica \\n\\nEnvironmental data: 312 observations\.\\nVariables present:\\n ta rh vpd sw_in ws precip swc_shallow ppfd_in ext_rad \\n\\nBiome: Woodland/Shrubland \\n\\nTIMESTAMP span: 2009-11-18 -03--2009-11-30 23:00:00 -03 \\n\\nSolar TIMESTAMP span: 2009-11-17 22:24:58 UTC--2009-11-30 21:20:48 UTC \\n\\nSapflow data flags:\\nNo flags present\\n\\nEnvironmental data flags:\\nRANGE_WARN OUT_WARN CALCULATED \\n 18 24 624 \\n"
     Backtrace:
     x
     1. \-testthat::expect_output(print(ARG_TRE), "Environmental data flags:") at test-sfn_data_classes.R:563:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-sfn_data_classes.R:564:3): show methods works -----------------
     `print\(ARG_MAZ\)` does not match "Data from ARG_MAZ site".
     Actual value: "sfn_data object\\nData from ARG_MAZ site\\n\\nData kindly provided by Sebastian Pfautsch from University of Sydney\\nand Pablo Peri from Instituto Nacional de Tecnolog\\xeda Agropecuaria \\n\\nSite related literature: DOI 10\.1007/s00468-013-0935-4 \\n\\nSapflow data: 288 observations of 5 trees/plants\\nSpecies present: Nothofagus pumilio \\n\\nEnvironmental data: 288 observations\.\\nVariables present:\\n ta rh vpd sw_in ws precip swc_shallow ppfd_in ext_rad \\n\\nBiome: Woodland/Shrubland \\n\\nTIMESTAMP span: 2009-11-19 -03--2009-11-30 23:00:00 -03 \\n\\nSolar TIMESTAMP span: 2009-11-18 22:24:18 UTC--2009-11-30 21:20:24 UTC \\n\\nSapflow data flags:\\nNo flags present\\n\\nEnvironmental data flags:\\nRANGE_WARN OUT_WARN CALCULATED \\n 9 17 576 \\n"
     Backtrace:
     x
     1. \-testthat::expect_output(print(ARG_MAZ), "Data from ARG_MAZ site") at test-sfn_data_classes.R:564:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
     -- Failure (test-sfn_data_classes.R:565:3): show methods works -----------------
     `print\(ARG_MAZ\)` does not match "Environmental data flags:".
     Actual value: "sfn_data object\\nData from ARG_MAZ site\\n\\nData kindly provided by Sebastian Pfautsch from University of Sydney\\nand Pablo Peri from Instituto Nacional de Tecnolog\\xeda Agropecuaria \\n\\nSite related literature: DOI 10\.1007/s00468-013-0935-4 \\n\\nSapflow data: 288 observations of 5 trees/plants\\nSpecies present: Nothofagus pumilio \\n\\nEnvironmental data: 288 observations\.\\nVariables present:\\n ta rh vpd sw_in ws precip swc_shallow ppfd_in ext_rad \\n\\nBiome: Woodland/Shrubland \\n\\nTIMESTAMP span: 2009-11-19 -03--2009-11-30 23:00:00 -03 \\n\\nSolar TIMESTAMP span: 2009-11-18 22:24:18 UTC--2009-11-30 21:20:24 UTC \\n\\nSapflow data flags:\\nNo flags present\\n\\nEnvironmental data flags:\\nRANGE_WARN OUT_WARN CALCULATED \\n 9 17 576 \\n"
     Backtrace:
     x
     1. \-testthat::expect_output(print(ARG_MAZ), "Environmental data flags:") at test-sfn_data_classes.R:565:2
     2. \-testthat::expect_match(...)
     3. \-testthat:::expect_match_(...)
    
     [ FAIL 4 | WARN 8 | SKIP 19 | PASS 347 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.3
Check: data for non-ASCII characters
Result: NOTE
     Note: found 4 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64