-
-
Notifications
You must be signed in to change notification settings - Fork 996
Export pkg_file_lua for package author to use #1904
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
Conversation
yihui
left a comment
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 overall. Thanks!
Co-authored-by: Yihui Xie <xie@yihui.name>
From review rstudio#1904 (comment)
that simplifies the code in the package
|
Review was taken into account and test is passing. I'll merge. You can modify if I missed anything. I'll be porting this to other packages using lua filter |
|
Sounds good. Thanks! |
|
So at the end, this is not as useful as I thought because it won't work as expected in another package development workflow.
It is a bit annoying while developping and you are used to devtools workflow. testthat is using load_all also. So test won't work with this function. However, if you use last version of testit no issue... because it install the package before testing 😉 Anyway, I note this here so that we don't forget what happens. I don't know if the shims in pkgload could work differently - I'll may open an issue there. |
…down::pkg_file_lua(): rstudio/rmarkdown#1904
This will close #1903
Once merged we could use it in other packages like bookdown and pagedown