{"action":"opened","issue":{"url":"https://api.github.com/repos/cgrandin/hake-assessment/issues/136","repository_url":"https://api.github.com/repos/cgrandin/hake-assessment","labels_url":"https://api.github.com/repos/cgrandin/hake-assessment/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/cgrandin/hake-assessment/issues/136/comments","events_url":"https://api.github.com/repos/cgrandin/hake-assessment/issues/136/events","html_url":"https://github.com/cgrandin/hake-assessment/issues/136","id":135266072,"number":136,"title":"all.r fails with no \"models\" object","user":{"login":"allanhicks","id":6164069,"avatar_url":"https://avatars.githubusercontent.com/u/6164069?v=3","gravatar_id":"","url":"https://api.github.com/users/allanhicks","html_url":"https://github.com/allanhicks","followers_url":"https://api.github.com/users/allanhicks/followers","following_url":"https://api.github.com/users/allanhicks/following{/other_user}","gists_url":"https://api.github.com/users/allanhicks/gists{/gist_id}","starred_url":"https://api.github.com/users/allanhicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanhicks/subscriptions","organizations_url":"https://api.github.com/users/allanhicks/orgs","repos_url":"https://api.github.com/users/allanhicks/repos","events_url":"https://api.github.com/users/allanhicks/events{/privacy}","received_events_url":"https://api.github.com/users/allanhicks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-21T22:05:57Z","updated_at":"2016-02-21T22:05:57Z","closed_at":null,"body":"I thought we had this bug fixed (see issue #52 ). If you start with a blank R workspace, all.r will fail because it looks for a models object.  To reproduce this error, do the following\r\n\r\n1. Open R with nothing in the workspace\r\n2. change the doc/r working directory\r\n3. source all.r\r\n4. answer: y, n, n, n\r\n\r\nAnd, I get this error:\r\n\r\n`Loading all data tables (csv files) from  ../../data`\r\n`Error in file.path(model$path, wt.at.age.fn) : object 'models' not found`"}}