Validate ProTrackR2 S3 class objects
pt2_validate.Rd
Check aspects of S3 class objects for validity. For samples for instance it is checked if all parameters (volume, finetune, etc.) are within ProTracker specifications.
Examples
mod <- pt2_read_mod(system.file("mod.intro", package = "ProTrackR2"))
pt2_validate(mod$samples[[1]])
#> [1] TRUE