stan-dev / stan-dev/rstan

Using R6 classes rather than S4 classes

Open
#514 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

This is a good project, and I think that using R6 classes rather than S4 classes would enhance it from perspective of computational speed and future development.

NOTE: This is a suggestion rather than an issue.

Contributor guide

No contributing guide indexed for this repository

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

The issue proposes replacing the project's S4 classes with R6 classes, but it names no files, tests, or entry points. Start by locating the existing S4 class definitions and reviewing how they are used; completion would require an agreed migration scope and evidence that the change improves computational speed or future development.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.