# projoint 0.1.0 (2025-02-05)

- Initial release.

# projoint 0.2.0 (2025-04-20)

- Minor bug fixes and documentation improvements.
- Major redesign of the website, including improved vignettes and a clearer step-by-step tutorial structure.
- Fixed input validation for specifying inter-rater reliability (IRR), ensuring that IRR values must be between 0.5 and 1.

# projoint 0.3.0 (2025-08-17)

- Robust SEs & clustering: fixes to variance options; users can now pass arguments supported by `estimatr::lm_robust()` for clustering and standard errors.
- `reshape_projoint()` overhaul: now robust to arbitrary base-task orders, infers the repeated base task from the first base outcome, and requires the repeated outcome to be the last element of `.outcomes`.

# projoint 0.3.1 (2025-08-18)

- Bug fix for minor issue.  
- Vignettes extended to illustrate additional choice-level analyses.  

# projoint 1.0.0 (2025-08-19)

- Initial CRAN release

# projoint 1.0.1 (2025-08-19)

- Fix CITATION: switched from citEntry() to bibentry().
- Fixed README links (absolute URLs).
- Added Depends: R (>= 4.1.0).
- Removed duplicate Author field.
- Added cran-comments.md to .Rbuildignore.

# projoint 1.0.2 (2025-08-21)

- CRAN resubmission: fix CITATION (use `bibentry()`, avoid install-time lookups).
- README: replace relative URLs; fix broken BibTeX link (use GitHub raw URL).
- DESCRIPTION: add aligned `Author:` alongside `Authors@R`.
- Bug fix: correct error message when `.irr` is user-specified.
- Robustness: skip IRR estimation (sim/boot) when `.irr` is fixed.
- Docs: new vignette “Explore” and corresponding README/pkgdown links.

# projoint 1.0.3 (2025-08-21)

- DESCRIPTION: aligned `Author:` exactly with CRAN’s derived `Authors@R` format (names and ORCID link formatting) to remove NOTE.

# projoint 1.0.4 (2025-08-21)

- Fixed DESCRIPTION metadata mismatch between `Author` and `Authors@R` fields, as requested by CRAN.

# projoint 1.0.5 (2025-09-10)

## Improvements
- Revised `pj_estimate()` to automatically set the appropriate standard-error option (`se_type`) depending on clustering and estimation method.
- Expanded documentation across functions:
  - All exported methods now include `\value{}` sections describing return values.
  - Clearer examples for choice-level analysis; removed commented-out code.
  - Improved description in `DESCRIPTION` to highlight both profile-level and choice-level estimators, IRR correction, and visualization.
- Updated README and pkgdown site to emphasize **choice-level analysis** as the default and recommended framework.

## Bug fixes
- Fixed `reshape_projoint()` docs (`\textrightarrow` macro removed).
- Standardized return values for `summary()`, `plot()`, and `print()` methods to match CRAN policies.

# projoint 1.0.6 (2025-10-24)

## CRAN maintenance update

This release addresses all issues raised in the CRAN review and includes several small improvements and documentation updates.

### Changes and fixes

- **DESCRIPTION:** References now follow the required format `authors (year) <https://...>`.  
- **Examples:** Removed commented-out code and replaced examples of unexported functions (`projoint_data()`) with runnable toy examples.  
- **Internal helpers:** Suppressed documentation for unexported internal functions (`projoint_tau()`, `plot_projoint_profile_level()`) using `@noRd`.  
- **Cross-references:** Fixed a missing link warning in `plot.projoint_results.Rd`.  
- **make_projoint_data():** Fixed a minor error affecting input validation.  
- **Vignettes and website:** Revised and expanded for clarity, examples, and reproducibility.  

### Notes

- `R CMD check --as-cran` runs cleanly with 0 errors, 0 warnings, and 2 expected NOTES (package size and timestamps).

# projoint 1.1.0 (2026-02-16)

## Bug fixes

- Fixed ``reshape_projoint()'' to handle repeated-task reshaping more robustly when tasks/outcomes are not in a simple 1..T order. The function now standardizes the mapping between the last outcome (the repeated measure) and the inferred base task, reducing misalignment in the ``task'' variable for some inputs.

## Improvements

- Added stricter input/design validation in ``reshape_projoint()'':
  - Checks that each base task contains exactly the two expected profiles (1 and 2) in the K-code design and aborts with an informative message otherwise.
  - When ``.repeated = TRUE'', checks that each respondent provides the expected number of outcomes and aborts if repeated outcomes are missing.

## Internal changes

- Refactored the implementation of ``reshape_projoint()'' into a dedicated source file (``R/reshape_projoint.R'') with no changes to the exported function name or arguments.

# projoint 1.1.1

## Bug fixes
- Fixed issue in `organize_data()` where profile-varying columns (e.g., `selected_repeated`) were incorrectly included in `pivot_wider(id_cols)`, which could drop respondent-level covariates (e.g., weights) and cause `.weights_2` to fail in `choice_level` estimation.
- Improved cross-attribute pairing logic in choice-level QOI filtering.
- Added regression tests for `.weights_1` and `.weights_2`.

# projoint 1.1.2 (2026-07-15)

## Citation and website

- Updated the recommended software citation to use the canonical CRAN record and DOI, the current package title, and stable BibTeX keys.
- Added `CITATION.cff` for GitHub's “Cite this repository” panel and citation guidance to the package website.
- Corrected ORCID metadata so pkgdown renders valid author links.
- Added regression coverage to keep the package citation aligned with the released version.

