code and documentation for my reader R package