I'm just following the shiny written tutorial.
And I get this error when running the app:
Warning: Error in as_mapper: argument ".f" is missing, with no default
I have copied the model answer exactly, and it still produces this error, so I am unsure what is wrong. Could anyone please help me out here?
The tutorial is not a complete working example. You have to fill in some values yourself. It even says so on the page.
You need to add suitable arguments to the percent_map() function, which is defined in the helper.R script. For example
percent_map(var = data, color = "darkgreen", legend.title = "USA")
Then it will work.
system
Closed
3
This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.