Package: TrackTrap
Title: Calculate and Visualize Degree-Days for Pest Monitoring
Version: 1.1.0
Authors@R: c(
    person("Santosh", "Bhandari",
        email = "santoshbhandari4556@gmail.com",
        role = c("aut", "cre")),
    person("Lalit", "Kharel",
        email = "klalitkharel@gmail.com",
        role = "aut"),
    person("Mahesh", "Ghimire",
        email = "maesghimire@gmail.com",
        role = "aut")
    )
Description: Combines pest trap observations with daily temperatures to
    calculate and visualize cumulative degree-days. Temperature inputs
    include 'Daymet' <https://daymet.ornl.gov>,
    'Open-Meteo' <https://open-meteo.com/>, reports from the California
    Irrigation Management Information System ('CIMIS')
    <https://cimis.water.ca.gov>, and user-supplied daily weather data.
    Degree-days are calculated using the simple-average method with
    either an upper threshold applied to the daily mean or an explicitly
    selected calculation without an upper cutoff. The first positive
    trap count defines the biofix for every pest, with accumulation
    beginning on the following day. Negative daily degree-day values
    are set to zero. Users can provide temperature thresholds and
    optional thermal reference values. Thermal reference
    markers and their multiples do not independently establish flight
    or generation identities. Complete daily calculations and weather
    provenance are retained with the output to support reproducibility.
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 3.5.0)
LazyData: true
Imports: daymetr, dplyr, ggplot2 (>= 3.4.0), httr, magrittr, utils,
        rlang, tools
Config/roxygen2/version: 8.1.0
Suggests: testthat (>= 3.0.0), knitr, rmarkdown
VignetteBuilder: knitr
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-10-29 05:05:53 UTC; r3113219
Author: Santosh Bhandari [aut, cre],
  Lalit Kharel [aut],
  Mahesh Ghimire [aut]
Maintainer: Santosh Bhandari <santoshbhandari4556@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-29 08:50:31 UTC
Built: R 4.7.0; ; 2026-10-29 11:30:15 UTC; windows
