Learn R Programming

connectapi (version 0.1.3.1)

vec_cast.fs_bytes: Cast to fs_bytes

Description

lifecycle::badge("deprecated") This is a temporary placeholder because the functionality does not exist yet in the fs package. Do not build dependencies on connectapi::vec-cast.fs_bytes, as it will be removed without warning in a future release.

Usage

vec_cast.fs_bytes(x, to, ...)

Value

A vector the same length as x with the same type as to, or an error if the cast is not possible.

Arguments

x

Vectors to cast

to

Type to cast to. If NULL, x will be returned as is

...

Dots for future extensions and should be empty