{"action":"created","issue":{"url":"https://api.github.com/repos/pbiecek/archivist/issues/124","labels_url":"https://api.github.com/repos/pbiecek/archivist/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/pbiecek/archivist/issues/124/comments","events_url":"https://api.github.com/repos/pbiecek/archivist/issues/124/events","html_url":"https://github.com/pbiecek/archivist/issues/124","id":116155771,"number":124,"title":"Change `tempdir()` function to `tempfile()` in all examples","user":{"login":"MarcinKosinski","id":6773454,"avatar_url":"https://avatars.githubusercontent.com/u/6773454?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcinKosinski","html_url":"https://github.com/MarcinKosinski","followers_url":"https://api.github.com/users/MarcinKosinski/followers","following_url":"https://api.github.com/users/MarcinKosinski/following{/other_user}","gists_url":"https://api.github.com/users/MarcinKosinski/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcinKosinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcinKosinski/subscriptions","organizations_url":"https://api.github.com/users/MarcinKosinski/orgs","repos_url":"https://api.github.com/users/MarcinKosinski/repos","events_url":"https://api.github.com/users/MarcinKosinski/events{/privacy}","received_events_url":"https://api.github.com/users/MarcinKosinski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-10T17:19:11Z","updated_at":"2015-11-11T09:05:56Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/pbiecek/archivist/issues/comments/155709789","html_url":"https://github.com/pbiecek/archivist/issues/124#issuecomment-155709789","issue_url":"https://api.github.com/repos/pbiecek/archivist/issues/124","id":155709789,"user":{"login":"wchodor","id":15180983,"avatar_url":"https://avatars.githubusercontent.com/u/15180983?v=3","gravatar_id":"","url":"https://api.github.com/users/wchodor","html_url":"https://github.com/wchodor","followers_url":"https://api.github.com/users/wchodor/followers","following_url":"https://api.github.com/users/wchodor/following{/other_user}","gists_url":"https://api.github.com/users/wchodor/gists{/gist_id}","starred_url":"https://api.github.com/users/wchodor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wchodor/subscriptions","organizations_url":"https://api.github.com/users/wchodor/orgs","repos_url":"https://api.github.com/users/wchodor/repos","events_url":"https://api.github.com/users/wchodor/events{/privacy}","received_events_url":"https://api.github.com/users/wchodor/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T09:05:56Z","updated_at":"2015-11-11T09:05:56Z","body":"```\r\ncreateEmptyLocalRepo <- function( repoDir, force = TRUE, default = FALSE){\r\n  stopifnot( is.character( repoDir ) )\r\n  \r\n  if ( !file.exists( repoDir ) & !force ) \r\n    stop( paste0(\"Directory \", repoDir, \" does not exist. Try with force=TRUE.\") )\r\n```"}}