The 'soma.adat' class is now 'soma_adat' . Please either: 1) Re-class with x <- addClass(x, 'soma_adat') 2) Re-call 'x <- read_adat(file)' to pick up the new 'soma_adat' class.