Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"type = " missing with pm_prep() #15

Open
oguchihy opened this issue Sep 28, 2019 · 0 comments
Open

"type = " missing with pm_prep() #15

oguchihy opened this issue Sep 28, 2019 · 0 comments

Comments

@oguchihy
Copy link

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):

  • OS: [WIN]
  • Version of R [e.g. v3.60]
  • Version of RStudio [1.2.1335]

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

@oguchihy oguchihy changed the title type = missing witt pm_prep "type = " missing with pm_prep() Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant