stan-dev / stan-dev/loo

Use posterior::autocovariance() once on CRAN

Open
#157 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
157
Forks
38
Avg merge
4d 16h
Merged PRs (30d)
2

Description

Remember to replace the short term fix for issue #151 (in PR #155) by using posterior::autocovariance() once the posterior package is on CRAN. This will avoid having to maintain the same code in both packages.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the short-term fix from PR #155 for issue #151 and identify the duplicated autocovariance implementation. Confirm that the posterior package is on CRAN, then replace the local implementation with posterior::autocovariance(). Done means the duplicate code is no longer maintained in loo and the existing checks still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.