{"action":"created","issue":{"url":"https://api.github.com/repos/metacran/r-builder/issues/37","labels_url":"https://api.github.com/repos/metacran/r-builder/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/metacran/r-builder/issues/37/comments","events_url":"https://api.github.com/repos/metacran/r-builder/issues/37/events","html_url":"https://github.com/metacran/r-builder/issues/37","id":111028050,"number":37,"title":"make --as-cran flag optional","user":{"login":"goldingn","id":4450731,"avatar_url":"https://avatars.githubusercontent.com/u/4450731?v=3","gravatar_id":"","url":"https://api.github.com/users/goldingn","html_url":"https://github.com/goldingn","followers_url":"https://api.github.com/users/goldingn/followers","following_url":"https://api.github.com/users/goldingn/following{/other_user}","gists_url":"https://api.github.com/users/goldingn/gists{/gist_id}","starred_url":"https://api.github.com/users/goldingn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldingn/subscriptions","organizations_url":"https://api.github.com/users/goldingn/orgs","repos_url":"https://api.github.com/users/goldingn/repos","events_url":"https://api.github.com/users/goldingn/events{/privacy}","received_events_url":"https://api.github.com/users/goldingn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-12T18:21:09Z","updated_at":"2015-10-12T18:53:58Z","closed_at":"2015-10-12T18:53:58Z","body":"It would be great if checking with the `--as-cran` flag could be made optional. This would be helpful for projects that either aren't aimed at CRAN, or which have additional tests that `check --as-cran` can't handle.\r\n\r\nE.g. I have a fork which does this using a `NOT_CRAN` environment variable (the same variable is used in `testthat::skip_on_cran()`), but keeping the default behaviour the same: https://github.com/goldingn/r-builder/commit/8b5df1b095eba5b2f1f57c16a8b19c751452ea01. I'm sure there's a neater approach though.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/metacran/r-builder/issues/comments/147490483","html_url":"https://github.com/metacran/r-builder/issues/37#issuecomment-147490483","issue_url":"https://api.github.com/repos/metacran/r-builder/issues/37","id":147490483,"user":{"login":"gaborcsardi","id":660288,"avatar_url":"https://avatars.githubusercontent.com/u/660288?v=3","gravatar_id":"","url":"https://api.github.com/users/gaborcsardi","html_url":"https://github.com/gaborcsardi","followers_url":"https://api.github.com/users/gaborcsardi/followers","following_url":"https://api.github.com/users/gaborcsardi/following{/other_user}","gists_url":"https://api.github.com/users/gaborcsardi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborcsardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborcsardi/subscriptions","organizations_url":"https://api.github.com/users/gaborcsardi/orgs","repos_url":"https://api.github.com/users/gaborcsardi/repos","events_url":"https://api.github.com/users/gaborcsardi/events{/privacy}","received_events_url":"https://api.github.com/users/gaborcsardi/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T18:53:58Z","updated_at":"2015-10-12T18:53:58Z","body":"You can set the `R_CHECK_ARGS` environment variable with the options you want. https://github.com/metacran/r-builder/blob/master/pkg-build.sh#L58"}}