Learn R Programming

dccvalidator (version 0.3.0)

check_parent_syn: Check synID of parent in manifest

Description

Check that the synapse ID in the manifest matches a pattern of syn followed by numbers.

Usage

check_parent_syn(
  manifest,
  success_msg = "All Synapse IDs in the manifest are valid",
  fail_msg = "Some Synapse IDs in the manifest are invalid"
)

Arguments

manifest

The manifest as a data frame or tibbl

success_msg

Message indicating the check succeeded.

fail_msg

Message indicating the check failed.

Value

A condition object indicating whether the files are present in the path column of the manifest

Examples

Run this code
# NOT RUN {
manifest <- data.frame(parent = c("syn", "syn123"), stringsAsFactors = FALSE)
check_parent_syn(manifest)
# }

Run the code above in your browser using DataLab