powered by
Check that the synapse ID in the manifest matches a pattern of syn followed by numbers.
syn
check_parent_syn( manifest, success_msg = "All Synapse IDs in the manifest are valid", fail_msg = "Some Synapse IDs in the manifest are invalid" )
The manifest as a data frame or tibbl
Message indicating the check succeeded.
Message indicating the check failed.
A condition object indicating whether the files are present in the path column of the manifest
path
# NOT RUN { manifest <- data.frame(parent = c("syn", "syn123"), stringsAsFactors = FALSE) check_parent_syn(manifest) # }
Run the code above in your browser using DataLab