-
Notifications
You must be signed in to change notification settings - Fork 12
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
✨ Support auto-knitted html reports during ln.finish()
#2213
base: main
Are you sure you want to change the base?
Conversation
ln.finish()
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2213 +/- ##
==========================================
+ Coverage 92.36% 92.92% +0.55%
==========================================
Files 54 54
Lines 6566 6826 +260
==========================================
+ Hits 6065 6343 +278
+ Misses 501 483 -18 ☔ View full report in Codecov by Sentry. |
run.save() | ||
else: | ||
if not from_cli: | ||
if get_seconds_since_modified(filepath) > 2 and not ln_setup._TESTING: | ||
# this can happen when auto-knitting an html with RStudio |
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.
Creating a test setup for this is a bit more cumbersome, I will ship once I know this is meaningful.
These auto-knitted reports come with the
.nb.html
suffix.Resolves:
db$track()
in RStudio laminr#110Considered also supporting
.nb.html
for the CLI but concluded that it'd be more dangerous than beneficial:.nb.html
suffix duringlamin save
lamin-cli#97