verifyRds: Verification of .rds file

View source: R/verifyRds.R

verifyRdsR Documentation

Verification of .rds file

Description

This is an internal helper function used to verify if the path is valid. If the path is already in use, it checks if the already exiting .rds file has the same dimensions and overwrites it (if overwrite TRUE). If the dimensions are wrong it stops and returns a error message.

Usage

verifyRds(path, overwrite, nrow, ncol)

Arguments

path

Path where to save and find the file.

overwrite

Boolean value specifying whether to overwrite exisiting files.

nrow

Integer specifying the amount of rows.

ncol

Integer specifying the amount of columns.


Best-Nicklas/Dataprojekt documentation built on June 7, 2022, 12:08 a.m.