-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
65 lines (44 loc) · 1.99 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# lenght <img src="man/figures/LEN-HEX.png" align="right" height="138" />
<!-- badges: start -->
[![R-CMD-check](https://github.com/cobrbra/lenght/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/cobrbra/lenght/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/cobrbra/lenght/branch/main/graph/badge.svg)](https://app.codecov.io/gh/cobrbra/lenght?branch=main)
<!-- badges: end -->
The goal of `lenght` is to provide convenient aliases for each of the common misspellings of the R function `length`, a problem that haunts us all.
## Authors
*Creators* and *contributors*: Isabella Deutsch, Jacob Bradley<br>
*Maintainer*: Jacob Bradley
## Installation
You can install the development version of `lenght` from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("cobrbra/lenght")
```
or via CRAN with
``` r
install.packages("lenght"):
```
## Usage
The intended use of this package is in the ideation stage of a project. It allows the user to code seamlessly without pesky typos interrupting the workflow. It also focuses debugging on more relevant errors in the code. Partially inspired by an author's minor struggles with dyslexia.
We recommend editing code intended for production or publication such that it successfully runs without this package.
## Example
You can use the functions in `lenght` to do anything the base R function `length` would do.
```{r example}
library(lenght)
print(lenght(1:4))
print(lentgh(options()))
print(lenhgt(NULL))
```
## Contact
Feel free to leave issues or pull requests on our GitHub [repository](https://github.com/cobrbra/lenght), or alternately to contact the package maintainer Jacob by [email](mailto:cobrbradley@gmail.com).