add @jranke for #891
roxygenize, and add @HenrikBengtsson for #892

[ci skip]