csv_exists: Check if "nlsDatabase.csv" and "nlsErrorLog.csv" are present

Description Usage Arguments Details

View source: R/csv_exists.R

Description

This functions checks if "nlsDatabase.csv" and "nlsErrorLog.csv" are present in the directory chosen by setup_dir.

Usage

1
csv_exists(database, errorlog)

Arguments

database

a dataframe that contains the database of problems, tests and comparsions

errorlog

a dataframe that contains the error log of problems, tests and comparsions

Details

If the csv files are not present, then they are created and appropriate messages are printed.The function prints " 'nlsDatabase.csv' already exists" if "nls.Database.csv" already exists in the directory chosen by setup_dir() and prints " 'nlsDatabase.csv' has been created" otherwise. Similar actions are taken for "nlsErrorLog".


ArkaB-DS/nlsCompare documentation built on Jan. 1, 2022, 2 p.m.