{"action":"opened","issue":{"url":"https://api.github.com/repos/ksawicka/spup/issues/3","repository_url":"https://api.github.com/repos/ksawicka/spup","labels_url":"https://api.github.com/repos/ksawicka/spup/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ksawicka/spup/issues/3/comments","events_url":"https://api.github.com/repos/ksawicka/spup/issues/3/events","html_url":"https://github.com/ksawicka/spup/issues/3","id":223760914,"number":3,"title":"makecrm stores numbers as character","user":{"login":"edzer","id":520851,"avatar_url":"https://avatars2.githubusercontent.com/u/520851?v=3","gravatar_id":"","url":"https://api.github.com/users/edzer","html_url":"https://github.com/edzer","followers_url":"https://api.github.com/users/edzer/followers","following_url":"https://api.github.com/users/edzer/following{/other_user}","gists_url":"https://api.github.com/users/edzer/gists{/gist_id}","starred_url":"https://api.github.com/users/edzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edzer/subscriptions","organizations_url":"https://api.github.com/users/edzer/orgs","repos_url":"https://api.github.com/users/edzer/repos","events_url":"https://api.github.com/users/edzer/events{/privacy}","received_events_url":"https://api.github.com/users/edzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-24T09:43:37Z","updated_at":"2017-04-24T09:43:37Z","closed_at":null,"body":"```r\r\n> str(makecrm(1/3, 300, \"Exp\"))\r\nClass 'SpatialCorrelogramModel'  Named chr [1:3] \"0.333333333333333\" \"300\" \"Exp\"\r\n  ..- attr(*, \"names\")= chr [1:3] \"acf0\" \"range\" \"model\"\r\n```\r\nthis is rather unusual, and not needed. In `makecrm`, instead of \r\n```r\r\ncrm <- c(acf0 = acf0, range = range, model = model, ...)\r\n```\r\nyou could use\r\n```r\r\ncrm <- list(acf0 = acf0, range = range, model = model, ...)\r\n```\r\nto prevent coercion to character. Also, currently arbitrary arguments like\r\n```r\r\n> makecrm(0.8, 300, \"Exp\", foo = \"bar\")\r\n acf0 range model   foo \r\n\"0.8\" \"300\" \"Exp\" \"bar\" \r\nattr(,\"class\")\r\n[1] \"SpatialCorrelogramModel\"\r\n```\r\nare now accepted, which probably cause problems later on."}}
{"actor":{"display_login":"edzer"}}