Changes in version 1.4.0 (2024-09-24) ๐Ÿ†• Added - ๐Ÿ›  Parameter Validation: An improved and more robust version of the parameter validation checks, along with additional data quality and validation checks for the seasFcstQBR function. - ๐Ÿ” Input Validation: Checks added for hisYearStart, hisYearEnd, and the structure of seasRain and hisWSCvar. - โ“ Null and Missing Checks: Added is.null and is.na checks for rainTerc and key data columns. - โš  Unrealistic Data Warning: Warnings for unrealistic hisWSCvar values (e.g., values outside 0-365 days) and negative rainfall values. - ๐Ÿ“… Year Filtering: Ensures seasRain and hisWSC match on years after filtering. - ๐Ÿงช Testing Structure: Established testing structure using testthat for the seasFcstQBR function. - ๐Ÿ“– Documentation: Added a Seasonal Forecast section to the vignette. ๐Ÿ”„ Changed - ๐Ÿ“š Documentation: Improved documentation for seasFcstQBR. - ๐Ÿ”„ Function Name: Changed the function name from seasFcst to seasFcstQBR. - ๐Ÿ“ DESCRIPTION File: Edited the DESCRIPTION file as directed by CRAN. Changes in version 1.2.0 ๐Ÿ†• Added - ๐Ÿ“– Citation Information: Citation details are now included in inst/CITATION, enabling proper referencing. - ๐Ÿ“Š CRAN Downloads Badge: A badge displaying CRAN downloads has been added to the README to track package usage. - โœ… Data Quality Control: New data validation checks have been introduced to ensure the integrity of inputs for water balance calculations. These include realistic value checks and error handling. - ๐Ÿงช Testing Structure: Established comprehensive unit tests for the calcWatBal and calcSeasCal functions using testthat, ensuring better test coverage and reliability. - โš™ Parameter Validation: Enhanced validation mechanisms in the calcSeasCal function to ensure accurate input. Improvements include: - ๐Ÿ” Consistency Checks: Ensures that date-related columns (Year, Month, Day) are complete and contain no missing values. - ๐Ÿ“… Date Validation: Ensures onsetWind.start, onsetWind.end, and cessaWind.end are valid dates using lubridate::is.Date(). - ๐Ÿ“ Range Validation: Confirms that R-index values fall between 0 and 1, while Soil Moisture values remain non-negative. - ๐Ÿ“ Length Consistency: Ensures R-index and Soil Moisture arrays match the length of the Year column. - ๐ŸŒฑ soilWHC Validation: Verifies that soilWHC is a positive numeric value for accurate soil water holding capacity calculations. ๐Ÿ”„ Changed - ๐Ÿ“ฆ Package Imports: Transitioned from raster to terra for more efficient spatial data processing. - ๐Ÿ“ˆ 'calcWatBal' Function: Now returns a list that includes: - A dataframe with results. - A list of warnings for unrealistic or adjusted values in the input data, making error tracing easier. - ๐Ÿ“… Wet Season Calendar (WSC) Parameters: Improved logic and criteria for characterizing the onset and cessation of the wet season, ensuring more accurate agroclimatic analysis. Changes in version 1.0.0 ๐Ÿ†• Added - ๐Ÿ›  Error Handling: Enhanced error management for missing or unrealistic values, making the package more robust and user-friendly. - โš– Consistency Checks: Implemented validation to ensure that maximum temperature is always greater than minimum temperature, avoiding input errors. - ๐Ÿ“ Documentation: Significantly improved package documentation for better clarity and completeness, including examples and usage guidance. - ๐Ÿงช Testing: Introduced unit testing for the calcEto function, further improving the reliability of core calculations. Changes in version 0.1.0 (2023-03-31) ๐Ÿ†• Initial Release - ๐ŸŒฑ AquaBEHER 0.1.0: Initial submission to CRAN, introducing essential functionalities for estimating soil water balance and wet season characterization.