Skip to contents

validate_filesystem checks that the filesystem structure is valid.

Usage

validate_filesystem(fsys)

Arguments

fsys

List. Contains paths to report folders with elements:

  • internal: Folder for internal reports

  • public: Folder for public reports

  • settings: Folder for settings files

Value

NULL if valid, otherwise throws an error.

Examples

fsys <- list(
  internal = "internal_reports",
  public = "public_reports",
  settings = "report_settings"
)
validate_filesystem(fsys)