{"action":"created","issue":{"url":"https://api.github.com/repos/Rdatatable/data.table/issues/3056","repository_url":"https://api.github.com/repos/Rdatatable/data.table","labels_url":"https://api.github.com/repos/Rdatatable/data.table/issues/3056/labels{/name}","comments_url":"https://api.github.com/repos/Rdatatable/data.table/issues/3056/comments","events_url":"https://api.github.com/repos/Rdatatable/data.table/issues/3056/events","html_url":"https://github.com/Rdatatable/data.table/issues/3056","id":362374168,"node_id":"MDU6SXNzdWUzNjIzNzQxNjg=","number":3056,"title":"Bind package version into .dll/.so","user":{"login":"mattdowle","id":2779998,"node_id":"MDQ6VXNlcjI3Nzk5OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/2779998?v=4","gravatar_id":"","url":"https://api.github.com/users/mattdowle","html_url":"https://github.com/mattdowle","followers_url":"https://api.github.com/users/mattdowle/followers","following_url":"https://api.github.com/users/mattdowle/following{/other_user}","gists_url":"https://api.github.com/users/mattdowle/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdowle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdowle/subscriptions","organizations_url":"https://api.github.com/users/mattdowle/orgs","repos_url":"https://api.github.com/users/mattdowle/repos","events_url":"https://api.github.com/users/mattdowle/events{/privacy}","received_events_url":"https://api.github.com/users/mattdowle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-20T21:26:41Z","updated_at":"2018-09-21T06:15:41Z","closed_at":null,"author_association":"MEMBER","body":"So that R code in a package calling an old version of that package's .dll on Windows can't happen.  Almost every time we upgrade, someone somewhere on Windows hits this problem; e.g. #3055.\r\nThe worry is that it happens more than we know, but users get wrong results silently.  It's quite fortunate when a mismatch is severe enough to cause an error, so at least the user knows something is wrong.\r\n \r\nBut how to achieve this?  It might mean checking the version matches between R package and its .dll on each and every `.Call()` call, which might be expensive, involve a lot of code changes at every interface point, and might be insufficient if we miss some interface points either now or in the future.\r\n\r\nMaybe it's better to fix the issue upstream in R itself (`install.packages`) or RStudio if it's an RStudio-only problem.  Since it must affect other packages too.  We need someone with i) the will and ii) Windows, to solve it once and for all,  and we need precise information from users on Windows who hit this problem to tell us the conditions under which they upgraded and the problem happens.  (My guess is that they upgrade in one R session while another R session has the package loaded using the .dll).\r\n"},"comment":{"url":"https://api.github.com/repos/Rdatatable/data.table/issues/comments/423425358","html_url":"https://github.com/Rdatatable/data.table/issues/3056#issuecomment-423425358","issue_url":"https://api.github.com/repos/Rdatatable/data.table/issues/3056","id":423425358,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzQyNTM1OA==","user":{"login":"MichaelChirico","id":7606389,"node_id":"MDQ6VXNlcjc2MDYzODk=","avatar_url":"https://avatars1.githubusercontent.com/u/7606389?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelChirico","html_url":"https://github.com/MichaelChirico","followers_url":"https://api.github.com/users/MichaelChirico/followers","following_url":"https://api.github.com/users/MichaelChirico/following{/other_user}","gists_url":"https://api.github.com/users/MichaelChirico/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelChirico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelChirico/subscriptions","organizations_url":"https://api.github.com/users/MichaelChirico/orgs","repos_url":"https://api.github.com/users/MichaelChirico/repos","events_url":"https://api.github.com/users/MichaelChirico/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelChirico/received_events","type":"User","site_admin":false},"created_at":"2018-09-21T06:15:41Z","updated_at":"2018-09-21T06:15:41Z","author_association":"CONTRIBUTOR","body":"Is this not an issue for, say `Rcpp`? I don't really see anything in `Rcpp:::.onLoad`/`Rcpp:::.onAttach`... Any insights @eddelbuettel?"}}
{"actor":{"display_login":"MichaelChirico"}}