{"action":"closed","issue":{"url":"https://api.github.com/repos/edwindj/daff/issues/5","labels_url":"https://api.github.com/repos/edwindj/daff/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/edwindj/daff/issues/5/comments","events_url":"https://api.github.com/repos/edwindj/daff/issues/5/events","html_url":"https://github.com/edwindj/daff/issues/5","id":58593393,"number":5,"title":"Handle NAs","user":{"login":"eusebe","id":30404,"avatar_url":"https://avatars.githubusercontent.com/u/30404?v=3","gravatar_id":"","url":"https://api.github.com/users/eusebe","html_url":"https://github.com/eusebe","followers_url":"https://api.github.com/users/eusebe/followers","following_url":"https://api.github.com/users/eusebe/following{/other_user}","gists_url":"https://api.github.com/users/eusebe/gists{/gist_id}","starred_url":"https://api.github.com/users/eusebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eusebe/subscriptions","organizations_url":"https://api.github.com/users/eusebe/orgs","repos_url":"https://api.github.com/users/eusebe/repos","events_url":"https://api.github.com/users/eusebe/events{/privacy}","received_events_url":"https://api.github.com/users/eusebe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edwindj/daff/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-23T14:37:26Z","updated_at":"2015-02-23T17:00:03Z","closed_at":"2015-02-23T17:00:03Z","body":"Hi, \r\n\r\nThank you for this very usefull package!\r\n\r\nI tried the following code:\r\n\r\n```{r}\r\n> y <- iris[1:3,]\r\n> x <- y\r\n> x$Sepal.Width[2] <- NA\r\n> y\r\n  Sepal.Length Sepal.Width Petal.Length Petal.Width Species\r\n1          5.1         3.5          1.4         0.2  setosa\r\n2          4.9         3.0          1.4         0.2  setosa\r\n3          4.7         3.2          1.3         0.2  setosa\r\n> x\r\n  Sepal.Length Sepal.Width Petal.Length Petal.Width Species\r\n1          5.1         3.5          1.4         0.2  setosa\r\n2          4.9          NA          1.4         0.2  setosa\r\n3          4.7         3.2          1.3         0.2  setosa\r\n> patch <- diff_data(y, x)\r\n> render_diff(patch)\r\n```\r\n<table>\r\n<tr><th>@@</th><th>Sepal.Length</th><th>Sepal.Width</th><th>Petal.Length</th><th>Petal.Width</th><th>Species</th></tr>\r\n<tr><td></td><td>5.1</td><td>3.5</td><td>1.4</td><td>0.2</td><td>setosa</td></tr>\r\n<tr class=\"modify\"><td class=\"modify\">-></td><td>4.9</td><td class=\"modify\">3->1.4</td><td class=\"modify\">1.4->0.2</td><td class=\"modify\">0.2->setosa</td><td class=\"modify\">setosa->NULL</td></tr>\r\n<tr><td></td><td>4.7</td><td>3.2</td><td>1.3</td><td>0.2</td><td>setosa</td></tr>\r\n</table>\r\n\r\nIs it expected?\r\n\r\nBest, \r\nDavid"}}