tests/testthat/_snaps/methods.md

print() shows a short summary and returns the object invisibly

Code
  print(x)
Output
  <nacho> 4 samples, 11 probes, from single-sample RCC files
  Normalisation: GEO, with 1 housekeeping gene
  Flagged samples: 0 of 4
  Created with NACHO 0.0.0

NACHO 2 method errors name the argument

Code
  summary(old)
Condition
  Error in `summary()`:
  ! `old` is a NACHO 2 object, which NACHO 3 cannot use.
  i Convert it with `upgrade_nacho(old)`, or read the saved file with `read_nacho()`.
Code
  as.data.frame(old)
Condition
  Error in `as.data.frame()`:
  ! `old` is a NACHO 2 object, which NACHO 3 cannot use.
  i Convert it with `upgrade_nacho(old)`, or read the saved file with `read_nacho()`.
Code
  old[1, ]
Condition
  Error in `old[1, ]`:
  ! `old` is a NACHO 2 object, which NACHO 3 cannot use.
  i Convert it with `upgrade_nacho(old)`, or read the saved file with `read_nacho()`.
Code
  autoplot(old)
Condition
  Error in `autoplot()`:
  ! `old` is a NACHO 2 object, which NACHO 3 cannot use.
  i Convert it with `upgrade_nacho(old)`, or read the saved file with `read_nacho()`.


Try the NACHO package in your browser

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

NACHO documentation built on Nov. 2, 2026, 5:09 p.m.