Comments (2)
@hadley I wonder if we should use this kind of pattern matching in the other type predicates?
e.g.:
# Check that `x` is a length 2 character vector:
is_character(x, n = 2)
from rlang.
Oooh yes!
from rlang.
Related Issues (20)
- Remove `PREXPR()` usage (as much as we can)
- `is_dictionarish(NULL)` should return `TRUE` HOT 2
- Incorrect error message when trying to subset `.env` outside of a data mask context
- add vector methods for whole and decimal numbers in `standalone-types-check.R` HOT 1
- FR: add `env` argument to `is_missing()` HOT 3
- Docs: Details for is_named() cuts off in the middle of the sentence
- Will using rlang::global_entrace() in production code incur a (significant) performance reduction? HOT 2
- Performance decrease in `check_dots_empty0()` and `check_dots_empty()` ? HOT 2
- `env_inherits()` returns `TRUE` if `env` and `ancestor` are identical HOT 2
- check_character() always permits NA values HOT 1
- Remove `LEVELS()` accessor HOT 1
- Remove usage of `RDEBUG()` and `SET_RDEBUG()`
- let `cnd_signal()` take `.frequency` arg
- add combination of `is_installed()` and `check_installed()` HOT 4
- `rlang::eval_tidy()` crashes R
- Minor `?env_unbind` issues: `inherit` example, undocumented behaviors
- `rlang_backtrace_on_error` should default to `full` in non-interactive environments HOT 2
- docs: unexpected line break in return value of defuse manual page
- dots_list() inconsistency with splicing and unnamed arguments in homonym check.
- Examples for `call_modify` use `NULL` in place of `zap()`
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 rlang.