{"action":"created","issue":{"url":"https://api.github.com/repos/cboettig/knitcitations/issues/93","repository_url":"https://api.github.com/repos/cboettig/knitcitations","labels_url":"https://api.github.com/repos/cboettig/knitcitations/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/cboettig/knitcitations/issues/93/comments","events_url":"https://api.github.com/repos/cboettig/knitcitations/issues/93/events","html_url":"https://github.com/cboettig/knitcitations/issues/93","id":156832562,"number":93,"title":"citep() and caching chunks","user":{"login":"lfaller","id":7854149,"avatar_url":"https://avatars.githubusercontent.com/u/7854149?v=3","gravatar_id":"","url":"https://api.github.com/users/lfaller","html_url":"https://github.com/lfaller","followers_url":"https://api.github.com/users/lfaller/followers","following_url":"https://api.github.com/users/lfaller/following{/other_user}","gists_url":"https://api.github.com/users/lfaller/gists{/gist_id}","starred_url":"https://api.github.com/users/lfaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfaller/subscriptions","organizations_url":"https://api.github.com/users/lfaller/orgs","repos_url":"https://api.github.com/users/lfaller/repos","events_url":"https://api.github.com/users/lfaller/events{/privacy}","received_events_url":"https://api.github.com/users/lfaller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-25T19:36:29Z","updated_at":"2016-05-25T19:47:26Z","closed_at":null,"body":"Hi all,\r\n\r\nI usually set my global chunks in the beginning of the Rmarkdown document as follows:\r\n\r\n```\r\nknitr::opts_chunk$set(fig.width=12, fig.height=8, echo=FALSE, warning=FALSE, message=FALSE, cache=TRUE, results = 'hide')\r\n```\r\n\r\nI noticed that I sometimes get an error message for `citep()` when I try to compile a PDF document:\r\n\r\n```\r\nError in eval(expr, envir, enclos) : could not find function \"citep\" Calls: <Anonymous> ... in_dir -> inline_exec -> withVisible -> eval -> eval Execution halted\r\n```\r\n\r\nI double-checked and I definitely call `library(\"knitcitations\")` before I call `citep()`. \r\n\r\nThis error seems to go away when I manually delete the folder with cached files. \r\n\r\nIs this a coincidence, or does `knitcitations` not play well with cached files?\r\n\r\nThanks for any advice you might have!\r\n\r\nBest,\r\n~Lina"},"comment":{"url":"https://api.github.com/repos/cboettig/knitcitations/issues/comments/221685984","html_url":"https://github.com/cboettig/knitcitations/issues/93#issuecomment-221685984","issue_url":"https://api.github.com/repos/cboettig/knitcitations/issues/93","id":221685984,"user":{"login":"cboettig","id":222586,"avatar_url":"https://avatars.githubusercontent.com/u/222586?v=3","gravatar_id":"","url":"https://api.github.com/users/cboettig","html_url":"https://github.com/cboettig","followers_url":"https://api.github.com/users/cboettig/followers","following_url":"https://api.github.com/users/cboettig/following{/other_user}","gists_url":"https://api.github.com/users/cboettig/gists{/gist_id}","starred_url":"https://api.github.com/users/cboettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboettig/subscriptions","organizations_url":"https://api.github.com/users/cboettig/orgs","repos_url":"https://api.github.com/users/cboettig/repos","events_url":"https://api.github.com/users/cboettig/events{/privacy}","received_events_url":"https://api.github.com/users/cboettig/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T19:47:25Z","updated_at":"2016-05-25T19:47:25Z","body":"I believe knitr advice is not to ever cache your library calls"}}
{"actor":{"display_login":"cboettig"}}