Learn R Programming

chopin (version 0.9.4)

dep_check: Return the package the input object is based on

Description

Detect whether the input object is sf or Spat* object.

Usage

dep_check(input)

Value

A character object; one of "character", "terra" and "sf"

Arguments

input

Spat* in terra or sf object.

Author

Insang Song

See Also

Other Helper functions: datamod(), dep_switch(), get_clip_ext(), par_def_q(), reproject_std(), reproject_to_raster()