Releases: USFWS/migbirdHIP
Releases · USFWS/migbirdHIP
v1.4.10
v1.4.9
migbirdHIP 1.4.9
Minor changes / bug fixes
issueDecide() was returning "overlap" as a result in the decision field, and the "overlap" records were being dropped. This should not happen; "overlap" records should be assigned "future" or "current" and only "past" records are to be dropped.
Full Changelog: v1.4.8...v1.4.9
v1.4.8
migbirdHIP 1.4.8
Major changes & new features
- Evaluate Mississippi issue dates
- Add MS to
REF_DATES - No longer assign
"MS"as decision inissueCheck() - No longer exclude
"MS"fromnDropped()ordl_report.qmd
- Add MS to
- Added 3 new internal functions:
permitFileBagsMessage()- Used by
readMessages(). - Checks for non-zero bag values from permit file state/species combinations and returns a message to the console if they are detected.
- Used by
failBTPI()andfailCR()- Used by
write_hip(). - Moved checks from
write_hip()tofailBTPI()andfailCR()to reduce maintenance of repeated assertions. - Added warning to
failBTPI()to return message to console if any BTPI permit records contain0fordove_bag.
- Used by
Minor changes / bug fixes
write_hip()- Minor changes to match modern tidyverse syntax
- Add check to ensure
REF_PMT_FILESstates are not inzero_translations
REF_BAGSchanges:- Bug fixes
- Add lines for missing, existing, and expected bag values
UTband_tailed_pigeonbag2-> stratum2MNcranesbag2-> stratum2
- Add lines for missing, existing, and expected bag values
- Update
- Add line for
FLgeese_bagbag0-> stratum0
- Add line for
- Bug fixes
v1.4.7
v1.4.6
v1.4.5
v1.4.4
v1.4.3
migbirdHIP 1.4.3
Minor changes / bug fixes
- Edited
proofBadEmails()to allow all variations of ccTLDs to be accepted foryahoo,hotmail,outlook, andliveemail domains.- The previously strict filter only accepted
.com,.co.uk,.fr,.es,.ca, and .deforyahooandhotmailemail addresses. In addition, only.comwas accepted forliveandoutlookemail addresses. - Now,
liveEuropean ccTLDs andyahooemails with Indian and Australian ccTLDs, to name a few examples, will pass without being flagged as errors.
- The previously strict filter only accepted
v1.4.2
migbirdHIP 1.4.2
Patch to fix bug and allow NA values in email field.
Minor changes / bug fixes
NAemails are not errors!- Updated
proofBadEmails()to allowNAvalues inemailfield. - Updated
proofBadEmails()function description so that the criteria for good emails is clear on the help page. - Updated
test-proof.Runit testing. - Edited
create_fake_HIP_data.Rand overwrote internal test data stored in/inst/extdata/DL0901/,/tests/testthat/data/DL0902/, andDF_TESTobjects by introducingNAvalues toemailfield.
- Updated
- Edited
zzz.Rto return a startup error message in case the package version in theDESCRIPTIONwas modified before appendingREF_RELEASESinvariables.R.
Full Changelog: v1.4.1...v1.4.2
v1.4.1
migbirdHIP 1.4.1
This is the release for the 2025-2026 hunting season, pushed a day before DL0800.
Major changes & new features
- Import
{ggnewscale}for use ofggnewscale::new_scale_color()inissue_plot(). - New internal
nDropped()function (with helpersnDroppedClean()andnDroppedCurrent()) to summarize the number of dropped HIP registrations (by state or not) at each step of pre-processing. - Eliminated issue template.
Minor changes / bug fixes
- Updated
DESCRIPTIONwith updatedImportsandSuggestspackage versions. - Updated
sysdata.rdaREF_DATESupdated using 2025-2026 issue window dates.REF_ZIP_CODEandREF_BAGSremain the same, using 2024-2025 zip codes and bag/strata conversions.
- Functions
read_hip(): add message that reports how long it took to read inNnumber of fileswriteReport(): add more dependency checksbadRegYearMessage(): summarize by source file because it is more informativeinvalidDateMessage(): created and added toissueMessages()huntMigBirdsMessage(): created and added toreadMessages()duplicateFix(): bug fix, stopped returningduplicate_idfield in the output tibbleissuePlot()- Improved plot appearance for clarity of interpretation
- Added more colors to the registration year palette to avoid an error of insufficient values in case of outliers
- Refined message text for
zipCheck(),cranePermitBagFix(),btpiPermitBagFix(),regYearEditMessage(),zeroDateMessage(),missingPIIMessage(),missingEmailsMessage(),testRecordMessage(),zeroBagsMessage(),naBagsMessage(),nonDigitBagsMessage(),huntMigBirdsMessage(),dlStateNAMessage(),dlDateNAMessage(),inLinePermitDNHMessage(), andbadRegYearMessage()
- Changes to
dl_report.qmdtemplate- Add
nDropped()summary to the Agenda tab - Refined excluded messages in
important_statistics - Split data processing into smaller chunks to waste less time debugging
- Add
- Unit tests
- Suppress verbose messages in
test-clean.R - Add
test-nDropped.R
- Suppress verbose messages in
- Linted all files
- Updated
WORDLIST