-
Notifications
You must be signed in to change notification settings - Fork 2
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
CRAN release? #9
Comments
Do you have a specific usecase? I would not mind putting on CRAN |
I think I've got plenty of use cases for what you've solved quite elegantly here. Some examples:
... all with zero overhead when disabled (=removed on load). To me, as a developer trying to maximize correctness (=lots of assertions) and performance (=minimal number of asserts), being able to use macros that can be enabled and disabled when the package is loaded is of great value. Another benefit is that the code that |
One wish, though, for a CRAN release, please minimize package dependencies to make this package as lightweight as ever possible. Specifically, I think the only use for rlang is in: Line 72 in feac559
I haven't tried, but that can probably be replaced by a |
I am open to doing that since there is obvious demand (at least 2 people :)). I agree that it would be good to have minimal dependencies to make the package as robust and maintainable as possible. A quick list of things that need to get done for a first version:
Anything else? |
@krlmlr you added rlang, which made the code obviously more readable. Did it also solve any other issues? |
@HenrikBengtsson before I publish it on CRAN, it would be great if you could test the package in one of your packages to see if it really works. |
I don't mind removing rlang if it causes strong feelings. Also, I'm ready to tick the "Test the package in a real package :)" bullet. Specifically, I'd like to explore usage of this package for expanding DBItest tests: r-dbi/DBItest#267. The linked PR exports way too many functions from DBItest. If those were macros, the tests would become larger, but also easier to troubleshoot in case of failures. If a CRAN release in the near future is elusive, adding the package to r-universe would be great too: https://dirkschumacher.r-universe.dev/ui#packages. |
It's already gone from the dependencies.
Let's do it then. Only thing left is polishing the |
BTW. @HenrikBengtsson @krlmlr you both contributed to the package. Happy to add you to the |
Thanks. I wonder why this package doesn't show up in your R universe. Do you need to set up manually? |
I'll try to start using defmacro in DBItest in the next few days. I need to confirm that it actually solves my use case. |
Sure go for it. Or do you need it on cran first? |
No, rather the opposite -- I'd take the opportunity to provide feedback, if necessary, before it hits CRAN. |
It wouldn't hurt if it were on R-universe, though. |
Are you planning a CRAN release of this package any time soon?
The text was updated successfully, but these errors were encountered: