{"action":"closed","issue":{"url":"https://api.github.com/repos/SymbolixAU/mapdeck/issues/71","repository_url":"https://api.github.com/repos/SymbolixAU/mapdeck","labels_url":"https://api.github.com/repos/SymbolixAU/mapdeck/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/SymbolixAU/mapdeck/issues/71/comments","events_url":"https://api.github.com/repos/SymbolixAU/mapdeck/issues/71/events","html_url":"https://github.com/SymbolixAU/mapdeck/issues/71","id":377803439,"node_id":"MDU6SXNzdWUzNzc4MDM0Mzk=","number":71,"title":"funtions crash when data has same name as deck.gl symbols","user":{"login":"mpadge","id":6697851,"node_id":"MDQ6VXNlcjY2OTc4NTE=","avatar_url":"https://avatars1.githubusercontent.com/u/6697851?v=4","gravatar_id":"","url":"https://api.github.com/users/mpadge","html_url":"https://github.com/mpadge","followers_url":"https://api.github.com/users/mpadge/followers","following_url":"https://api.github.com/users/mpadge/following{/other_user}","gists_url":"https://api.github.com/users/mpadge/gists{/gist_id}","starred_url":"https://api.github.com/users/mpadge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpadge/subscriptions","organizations_url":"https://api.github.com/users/mpadge/orgs","repos_url":"https://api.github.com/users/mpadge/repos","events_url":"https://api.github.com/users/mpadge/events{/privacy}","received_events_url":"https://api.github.com/users/mpadge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"SymbolixAU","id":18344164,"node_id":"MDQ6VXNlcjE4MzQ0MTY0","avatar_url":"https://avatars2.githubusercontent.com/u/18344164?v=4","gravatar_id":"","url":"https://api.github.com/users/SymbolixAU","html_url":"https://github.com/SymbolixAU","followers_url":"https://api.github.com/users/SymbolixAU/followers","following_url":"https://api.github.com/users/SymbolixAU/following{/other_user}","gists_url":"https://api.github.com/users/SymbolixAU/gists{/gist_id}","starred_url":"https://api.github.com/users/SymbolixAU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SymbolixAU/subscriptions","organizations_url":"https://api.github.com/users/SymbolixAU/orgs","repos_url":"https://api.github.com/users/SymbolixAU/repos","events_url":"https://api.github.com/users/SymbolixAU/events{/privacy}","received_events_url":"https://api.github.com/users/SymbolixAU/received_events","type":"User","site_admin":false},"assignees":[{"login":"SymbolixAU","id":18344164,"node_id":"MDQ6VXNlcjE4MzQ0MTY0","avatar_url":"https://avatars2.githubusercontent.com/u/18344164?v=4","gravatar_id":"","url":"https://api.github.com/users/SymbolixAU","html_url":"https://github.com/SymbolixAU","followers_url":"https://api.github.com/users/SymbolixAU/followers","following_url":"https://api.github.com/users/SymbolixAU/following{/other_user}","gists_url":"https://api.github.com/users/SymbolixAU/gists{/gist_id}","starred_url":"https://api.github.com/users/SymbolixAU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SymbolixAU/subscriptions","organizations_url":"https://api.github.com/users/SymbolixAU/orgs","repos_url":"https://api.github.com/users/SymbolixAU/repos","events_url":"https://api.github.com/users/SymbolixAU/events{/privacy}","received_events_url":"https://api.github.com/users/SymbolixAU/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-11-06T11:23:47Z","updated_at":"2018-11-09T08:00:05Z","closed_at":"2018-11-09T08:00:05Z","author_association":"NONE","body":"This currently generates an error\r\n```\r\n> lat <- capitals\r\n> mapdeck (token = mapbox_token,\r\n         style = 'mapbox://styles/mapbox/dark-v9',\r\n         pitch = 45) %>%\r\n    add_scatterplot (\r\n                     data = lat,\r\n                     lat = \"lat\",\r\n                     lon = \"lon\",\r\n                     radius = 1000000,\r\n                     fill_colour = \"country\",\r\n                     layer_id = \"scatter_layer\"\r\n    )\r\nError in vapply(dataArgs, function(x) objArgs[[x]], \"\") : \r\n  values must be type 'character',                                                                                                      \r\n but FUN(X[[1]]) result is type 'symbol'\r\n```\r\nThis example might seem contrived, but I encountered it in data which had `\"x\"` and `\"y\"` for lon-lat, while writing a function which named its input in the generic way, `\"x\"`. Cool work on the package - thanks heaps!"}}
{"actor":{"display_login":"mpadge"}}