Learn R Programming

dataversionr (version 0.9.0)

destroy_dv: Destroy dv

Description

Destroy dv

Usage

destroy_dv(destination, prompt = TRUE)

Value

TRUE

Arguments

destination

a local directory path or an arrow SubTreeFileSystem

prompt

should we ask for manual confirmation?

Examples

Run this code
temp_dir <- tempfile()
dir.create(temp_dir, recursive = TRUE)
df <- data.frame(a = 1:5, b = letters[1:5])

create_dv(df, temp_dir)
destroy_dv(temp_dir, prompt = FALSE)

unlink(temp_dir)

Run the code above in your browser using DataLab