sipss / GCIMS

Other
3 stars 0 forks source link

Use R6 for GCIMSDataset #18

Closed zeehio closed 1 year ago

zeehio commented 1 year ago

This pull request switches the GCIMSDataset from an S4 class to an R6 class.

The main breaking change is that when we used GCIMSDataset(...) we now use GCIMSDataset$new(...).

Many methods that were generics are now R6 methods:

getSample(dataset, 1) is now deprecated, and the dataset$getSample(1) equivalent is preferred.

Vignettes have been updated to reflect best practices.