extendr / extendr/extendr

Wrapper structs do not have `inherits()` method

Open
#737 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
528
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Wrapper structs should be able to check for class inheritance. This is not possible today without being an Robj. E.g

```rust
fn inherits_dbls(x: Doubles, cls: &str) -> bool {
x.inherits(cls)
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.