CRAN Package Check Results for Package photosynthesis

Last updated on 2023-03-22 03:51:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.1 11.54 298.72 310.26 ERROR
r-devel-linux-x86_64-debian-gcc 2.1.1 9.16 221.94 231.10 ERROR
r-devel-linux-x86_64-fedora-clang 2.1.1 400.63 ERROR
r-devel-linux-x86_64-fedora-gcc 2.1.1 393.12 ERROR
r-patched-linux-x86_64 2.1.1 10.64 282.52 293.16 ERROR
r-release-linux-x86_64 2.1.1 13.38 281.67 295.05 ERROR
r-release-macos-arm64 2.1.1 103.00 NOTE
r-release-macos-x86_64 2.1.1 133.00 NOTE
r-release-windows-x86_64 2.1.1 113.00 336.00 449.00 ERROR
r-oldrel-macos-arm64 2.1.1 94.00 NOTE
r-oldrel-macos-x86_64 2.1.1 135.00 NOTE
r-oldrel-windows-ix86+x86_64 2.1.1 24.00 348.00 372.00 ERROR

Check Details

Version: 2.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [63s/75s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from /usr/share/xml/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [48s/73s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from /usr/share/xml/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.1.1
Check: installed package size
Result: NOTE
     installed size is 7.2Mb
     sub-directories of 1Mb or more:
     doc 6.1Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 2.1.1
Check: data for non-ASCII characters
Result: NOTE
     Note: found 13 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

Version: 2.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [80s/235s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from /usr/share/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [78s/216s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from /usr/share/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 2.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [61s/70s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from /usr/share/xml/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 2.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [59s/68s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from /usr/share/xml/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64

Version: 2.1.1
Check: tests
Result: ERROR
     Running 'testthat.R' [50s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from D:/RCompile/CRANpkg/lib/4.2/units/share/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     ── Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables ──
     Expected `{ ... }` to run without any conditions.
     ℹ Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. ℹ Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64

Version: 2.1.1
Check: tests
Result: ERROR
     Running 'testthat.R' [73s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(photosynthesis)
     Loading required package: ggplot2
     Loading required package: minpack.lm
     Loading required package: units
     udunits database from D:/temp/RtmpGsKpyp/RLIBS_147b4305215dc/units/share/udunits/udunits2.xml
     >
     > test_check("photosynthesis")
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name1
     ),
     ...
     )
     You may need to revise .vars argument by replacing `var_name1`, etc. with variable name in your_data:
    
     fit_photosynthesis(
     .data = your_data,
     .photo_fun = 'aq_response',
     .model = 'marshall_biscoe_1980',
     .method = 'ls',
     .vars = list(
     .A = var_name1,
     .Q = var_name2
     ),
     ...
     )
    
     |
     | | 0%
     |
     |=================================== | 50%
     |
     |======================================================================| 100%[ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
    
     == Failed tests ================================================================
     -- Failure ('test-fit_aq_response2.R:12:3'): 'fit_photosynthesis()' accepts data.frames and tibbles --
     Expected `{ ... }` to run without any conditions.
     i Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. i Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     -- Failure ('test-fit_aq_response2.R:13:3'): 'fit_photosynthesis()' accepts data.frames and tibbles --
     Expected `{ ... }` to run without any conditions.
     i Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. i Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     -- Failure ('test-fit_aq_response2.R:31:3'): .vars argument renames variables --
     Expected `{ ... }` to run without any conditions.
     i Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. i Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     -- Failure ('test-fit_aq_response2.R:34:3'): .vars argument renames variables --
     Expected `{ ... }` to run without any conditions.
     i Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. i Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     -- Failure ('test-fit_aq_response2.R:37:3'): .vars argument renames variables --
     Expected `{ ... }` to run without any conditions.
     i Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. i Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
     -- Failure ('test-fit_aq_response2.R:44:3'): .vars argument renames variables --
     Expected `{ ... }` to run without any conditions.
     i Actually got a <lifecycle_stage>:
     Condition:
     `flatten()` is deprecated as of rlang 1.1.0. i Please use
     `purrr::list_flatten()` or `purrr::list_c()`.
    
     [ FAIL 6 | WARN 2 | SKIP 0 | PASS 320 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64