slu-openGIS / postmastr

R package for Processing and Parsing Untidy Street Addresses
https://slu-opengis.github.io/postmastr/
GNU General Public License v3.0
37 stars 8 forks source link

"type = " missing with pm_prep() #15

Open oguchihy opened 4 years ago

oguchihy commented 4 years ago

Before you open your issue:

Describe the bug A clear and concise description of what the bug is. Error on running code line Expected behavior A clear and concise description of what you expected to happen. No error should occur To Reproduce Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex. When you create your reprex, please use a data set available in a package.

# inset reprex here
sushi1_min <- pm_prep(sushi1, var = "address")
#> Error in pm_prep(sushi1, var = "address"): argument "type" is missing, with no default

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here. adding [type = "street"] resolves issue. Other option was "intersection", I believe