-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test run example notebooks #613
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ |
scripts/run_notebooks.py
Outdated
DOCS / "marginaleffects.ipynb", | ||
DOCS / "quickstart.ipynb", | ||
DOCS / "replicating-the-effect.ipynb", | ||
DOCS / "stargazer.ipynb", # failing notebook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@s3alfisc in Cell[22] there is an error in the notebook (checked locally)
NotImplementedError: <class 'pyfixest.estimation.feols_.Feols'>
See https://github.com/py-econometrics/pyfixest/actions/runs/10707033524/job/29686144381
KERNEL_NAME: str = "python3" | ||
DOCS = Path("docs") | ||
NOTEBOOKS: list[Path] = [ | ||
# DOCS / "compare-fixest-pyfixest.ipynb", # needs R |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me work on this notebook on a different PR as it requires some investigation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error likely stems from the fact that Stargazer's default does not have pyfixest support - makes sense to handle this in another pr!
@s3alfisc this is ready for review. This set up the tests. I commented two notebooks:
|
ok! so any suggested changes or are we good to go @s3alfisc ? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, will merge now. Sorry that I did not finish the PR review yesterday, I got interrupted and then did not manage to get back to it. Btw I think you are successfully installing R via r2u, so the notebook depending on rpy2/fixest should execute properly =) thank you!
Closes #606