check_parent_syn: Check synID of parent in manifest

Description Usage Arguments Value Examples

View source: R/check-parent-syn.R

Description

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

Usage

1
2
3
4
5
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

1
2
manifest <- data.frame(parent = c("syn", "syn123"), stringsAsFactors = FALSE)
check_parent_syn(manifest)

dccvalidator documentation built on July 2, 2020, 4:05 a.m.