tests/testthat/test.aacheck.R

# NON STANDARD AMINO ACIDS PRESENT
context("Check if amino acids are valid")

test_that("Non standard aminoacids present in sequence",{expect_warning(
  aaCheck("KLRSTZMZ")
)})

test_that("Warning produced when non-standard amino acids present in any sequence except the first",{expect_warning(
  aaCheck(c("KLR", "KLRSTZMZ"))
)})

Try the Peptides package in your browser

Any scripts or data that you put into this service are public.

Peptides documentation built on May 31, 2023, 9:47 p.m.