Thoughts about `round` argument
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- r
- Domain
- developer-experience
Research direction
Start by reviewing the current round and digits argument behavior, including how etable uses the formatting options. Compare the proposed separate-argument and named-list approaches, then establish an agreed migration path that preserves existing users and defines the updated interface.
Written by the indexing model from the issue text.
Description
I recently made a table and found it had a series of nuisance parameters with very small magnitudes (i.e. $7.8 * 10^{-6}$). I quickly found that my problem is that I had set digits = 3 rather than digits = "r3", probably years ago when I started using fixest and before the argument had been updated. No harm no foul. I can't argue against defaults, if someone is in a field where the disciplinary norm is not to rescale magnitudes and where substantive importance can be held at many digits after the decimal they would prefer the scientific notation version.
But my sense is that this is a very non-standard way to specify an argument. Internally to parse the argument you must need to split the character and the number, which is a little odd on the processing side. On the user side I think it functions like a bit of a micro-domain specific language (counter: so are a lot of the etable arguments because templating almost requires DSL-like features). The more typical way to do this in R would be either (a) make it be two arguments; or else (b) make it be one argument where the argument is a named list. Then assign defaults.
Perhaps inertia dictates keeping the weird argument to avoid breaking things, though the deprecation of se in favour of vcov suggests that you can migrate users successfully over time.
Let's stipulate in advance that this is very low priority and not really hurting anyone. Still thought I'd report it. If you had a Discussions section I'd probably raise it there, since this is not exactly a "bug" so much as it is a medium-friction design decision.
- Dominant language
- R
- Stars
- 464
- Forks
- 82
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lrberge/fixest
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lrberge/fixest#686 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
lrberge/fixest#713 · 1 comment ·
Maintainers usually reply within 1 day
-
etable notes spacingOpen
Difficulty 3/5 Half a day Newbie friendliness 50/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 47/100
lrberge/fixest#689 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug dependencies R
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
JamesHWade/graft#142 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100