{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/devtools/issues/834","labels_url":"https://api.github.com/repos/hadley/devtools/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/hadley/devtools/issues/834/comments","events_url":"https://api.github.com/repos/hadley/devtools/issues/834/events","html_url":"https://github.com/hadley/devtools/issues/834","id":85446724,"number":834,"title":"install_local fails if package is not a git repository","user":{"login":"varadharajan","id":291096,"avatar_url":"https://avatars.githubusercontent.com/u/291096?v=3","gravatar_id":"","url":"https://api.github.com/users/varadharajan","html_url":"https://github.com/varadharajan","followers_url":"https://api.github.com/users/varadharajan/followers","following_url":"https://api.github.com/users/varadharajan/following{/other_user}","gists_url":"https://api.github.com/users/varadharajan/gists{/gist_id}","starred_url":"https://api.github.com/users/varadharajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varadharajan/subscriptions","organizations_url":"https://api.github.com/users/varadharajan/orgs","repos_url":"https://api.github.com/users/varadharajan/repos","events_url":"https://api.github.com/users/varadharajan/events{/privacy}","received_events_url":"https://api.github.com/users/varadharajan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-05T06:13:21Z","updated_at":"2015-06-06T10:46:42Z","closed_at":null,"body":"If i try to install \"some-module\" from a local directory, it fails with this error. I think git repository is not needed for those packages that are to be installed from local.\r\n\r\ndevtools version : 1.8.0\r\nR version : 3.1.2\r\n\r\n> install_local(\"some-module\")\r\nError in validObject(.Object) :\r\n  invalid class “git_repository” object: Invalid repository"},"comment":{"url":"https://api.github.com/repos/hadley/devtools/issues/comments/109563937","html_url":"https://github.com/hadley/devtools/issues/834#issuecomment-109563937","issue_url":"https://api.github.com/repos/hadley/devtools/issues/834","id":109563937,"user":{"login":"bachmeil","id":3101304,"avatar_url":"https://avatars.githubusercontent.com/u/3101304?v=3","gravatar_id":"","url":"https://api.github.com/users/bachmeil","html_url":"https://github.com/bachmeil","followers_url":"https://api.github.com/users/bachmeil/followers","following_url":"https://api.github.com/users/bachmeil/following{/other_user}","gists_url":"https://api.github.com/users/bachmeil/gists{/gist_id}","starred_url":"https://api.github.com/users/bachmeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bachmeil/subscriptions","organizations_url":"https://api.github.com/users/bachmeil/orgs","repos_url":"https://api.github.com/users/bachmeil/repos","events_url":"https://api.github.com/users/bachmeil/events{/privacy}","received_events_url":"https://api.github.com/users/bachmeil/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T10:46:42Z","updated_at":"2015-06-06T10:46:42Z","body":"I'm using version 1.8. install_local installs without issue for one directory:\r\n\r\n```\r\ninstall_local(\"path/to/package1\")\r\n```\r\n\r\nbut fails for another:\r\n\r\n```\r\ninstall_local(\"path/to/package2\")\r\n```\r\n\r\nreturning\r\n\r\n> Error in validObject(.Object) :\r\n> invalid class “git_repository” object: Invalid repository\r\n\r\nBoth are git repos, and both packages install without issue using older versions of devtools. I don't have a tarball in either directory."}}