Default number of threads in `?fixest::setFixest_nthreads`

Open Beginner friendly
#718 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
r
Domain
documentation

Research direction

The issue points to the roxygen in R/miscfuns.R. Read the setFixest_nthreads description alongside the nthreads parameter description and example to confirm the stated default. Update the description to match the behavior, then check that the generated help text is consistent.

Written by the indexing model from the issue text.

Description

?fixest::setFixest_nthreads has the following description.

Sets/gets the default number of threads to used in fixest estimation functions. The default is the maximum number of threads minus two.

It seem that the default is half the number of available threads, not the maximum minus 2, as noted in the in the description of the nthreads parameter and in the example.

Happy to open a PR to change the roxygen in R/miscfuns.R.

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

  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.

More from lrberge/fixest

All issues in lrberge/fixest

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.