Comments (3)
hi @danielinteractive , it is @mllg who is the right person to answer this question. Having said that, as someone who was an early adopter of checkmate (and made also minor contributions to it), I do not think it is worth extending checkmate further unless the given assertion is of really general use. In my experience, almost all custom assertions I create are somewhat specific to the particular problem I work on and therefore belongs to the given package.
Nevertheless, we could open a GitHub Discussion or an issue to collect the ideas for extensions. Everyone could add an entry to the list, and entries with many votes could be added to checkmate, or get included in a separate extension package. @mllg , your thoughts?
My candidate for a general-use assertion is assert_package
, btw.
from checkmate.
I basically agree with @tdeenes: if the assertion is of general use and helpful for a broad range of applications, then checkmate is the right place for the assertion. Maybe you could be more concrete what kind of assertions you would like to see in the package.
Open a discussion also sound like a good idea.
from checkmate.
Thank you @tdeenes and @mllg ! So we can come back with concrete proposals and then you can decide case by case.
from checkmate.
Related Issues (20)
- CRAN release of version 2.1.0 HOT 1
- Missing space after Names HOT 1
- Add an argument for open intervals in assert_numeric HOT 2
- Check for values that can be interpreted as colors HOT 2
- testString - add case for charFrac HOT 3
- Unexpected result: `checkmate::check_numeric(list(NULL))`
- `cli` as "suggested" dependency? HOT 1
- Add subclasses to conditions HOT 3
- Feature request: `assert_all` and `assert_any` shortcuts HOT 2
- Bug? `test_integerish(Sys.Date())` returns `TRUE` HOT 1
- Typo in `typed.missing` param documentation HOT 1
- Linking String and Character in documentation HOT 1
- change in behavior for assertIntegerish HOT 1
- [Feature request] expect_permutation HOT 3
- Can assertCharacter be used to check for non allowed symbols in string? HOT 1
- assertFunction / checkFunction does not check multiple arguments HOT 1
- Add error message translations HOT 1
- Check on names does not error when using R keywords [suggestion] HOT 1
- assertString(na.ok = TRUE) does not check whether NA is a character-type HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkmate.