R Under development (unstable) (2024-03-11 r86098 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(dplyr) Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(purrr) > library(testthat) Attaching package: 'testthat' The following object is masked from 'package:purrr': is_null The following object is masked from 'package:dplyr': matches > library(lubridate) Attaching package: 'lubridate' The following objects are masked from 'package:base': date, intersect, setdiff, union > library(cropgrowdays) > > test_check("cropgrowdays") [ FAIL 0 | WARN 0 | SKIP 0 | PASS 55 ] > > ## Notes on this file: test/testthat.R > > ## above generated automatically and seem to work very nicely > ## ess-r-devtools-test-package C-c C-w C-t, C-c C-w t > ## Interface for `devtools::test()'. > ## ESS seems to run tests just fine as long as they are in > ## tests/testthat/ > ## > ## See either https://r-pkgs.org/tests.html or > ##https://debruine.github.io/tutorials/your-first-r-package-with-unit-tests.html > ## Need to put test files in ./tests/testthat directory not ./tests > ## Now just need to write the tests correctly ;-) !! EXCEPT seems to have > ## trouble finding 'purrr' even though it is part of tidyverse > > proc.time() user system elapsed 2.01 0.31 2.32