Running ‘testthat.R’ [21s/52s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ptm)
  > 
  > test_check("ptm")
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
    Note: Accessing on-line PDB file
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
     PDB has ALT records, taking A only, rm.alt=TRUE
    Note: Accessing on-line PDB file
    Note: Accessing on-line PDB file
  [ FAIL 2 | WARN 4 | SKIP 56 | PASS 164 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (53)
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test_ptmScan.R:188:5): reg.scan() works properly ───────────────────
  nrow(b) not equal to 3.
  1/1 mismatches
  [1] 1 - 3 == -2
  ── Failure (test_ptmScan.R:190:5): reg.scan() works properly ───────────────────
  b$modification[3] not equal to "M358-ox".
  1/1 mismatches
  x[1]: NA
  y[1]: "M358-ox"
  
  [ FAIL 2 | WARN 4 | SKIP 56 | PASS 164 ]
  Error: Test failures
  Execution halted