check_exists: Check Existing Inputs

check_existsR Documentation

Check Existing Inputs

Description

Internal function that is used to check if an input already exists, and if so, to retrieve the time of the folder creation.

Usage

check_exists(path, type, layer = TRUE, extension = NULL)

Arguments

path

character; path of input folder

type

character; 'raw' or 'processed'

layer

logical; is the input a spatial layer (e.g. raster or shapefile)?

extension

character; if layer = FALSE, the extension of the input (e.g. 'xlsx')

Value

character; time of the input folder creation


ptimoner/inAccMod documentation built on Jan. 27, 2025, 9:34 a.m.