PALS R package