pub fn apply_mutations(mutations: &mut Mutations, m: &mut RModule)