change inst/extdata to extdata in examples