vctrs-compat: vctrs compatibility functions

Description Usage Arguments Value

Description

These functions are the extensions that allow rray objects to work with vctrs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## S3 method for class 'vctrs_rray'
vec_arith(op, x, y)

## S3 method for class 'vctrs_rray_dbl'
vec_ptype2(x, y, ...)

## S3 method for class 'vctrs_rray_int'
vec_ptype2(x, y, ...)

## S3 method for class 'vctrs_rray_lgl'
vec_ptype2(x, y, ...)

## S3 method for class 'vctrs_rray_int'
vec_cast(x, to, ...)

## S3 method for class 'vctrs_rray_dbl'
vec_cast(x, to, ...)

## S3 method for class 'vctrs_rray_lgl'
vec_cast(x, to, ...)

Arguments

op

An arithmetic operator as a string.

x, y

Objects.

...

Used to pass along error message information.

to

Type to cast to.

Value

See the corresponding vctrs function for the exact return value.


rray documentation built on July 23, 2019, 5:04 p.m.