fixes rdoc examples