dgkf / dgkf/R

Out of bounds subsetting

Open
#76 4 comments 0 reactions 0 assignees View on GitHub
meta-good first issue theme-internals type-bug
Dominant language
Rust
Stars
145
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The following will panic:

```r
x <- 1
x[2]
```

This is because of the printer. However this out-of bounds indexing should already be caught during the subsetting.
Note that the following will not panic:

```r
x <- 1:3
x[2:4]
#> [1] 2 3
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.