MyNixOS website logo
Description

Allow Misspellings of Length Function.

Convenient aliases for common ways of misspelling the base R function length(). These include every permutation of the final three letters.

lenght

R-CMD-check Codecov testcoverage

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
Maintainer: Jacob Bradley

Installation

You can install the development version of lenght from GitHub with:

# install.packages("devtools")
devtools::install_github("cobrbra/lenght")

or via CRAN with

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.

library(lenght)
#> 
#> Attaching package: 'lenght'
#> The following object is masked from 'package:base':
#> 
#>     length
print(lenght(1:4))
#> [1] 4

print(lentgh(options()))
#> [1] 72

print(lenhgt(NULL))
#> [1] 0

Contact

Feel free to leave issues or pull requests on our GitHub repository, or alternately to contact the package maintainer Jacob by email.

Metadata

Version

0.1.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows