wip: map PDL types to R