{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/drake/issues/315","repository_url":"https://api.github.com/repos/ropensci/drake","labels_url":"https://api.github.com/repos/ropensci/drake/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/drake/issues/315/comments","events_url":"https://api.github.com/repos/ropensci/drake/issues/315/events","html_url":"https://github.com/ropensci/drake/issues/315","id":304131452,"number":315,"title":"Control optional columns via `drake_plan()`","user":{"login":"wlandau","id":1580860,"avatar_url":"https://avatars1.githubusercontent.com/u/1580860?v=4","gravatar_id":"","url":"https://api.github.com/users/wlandau","html_url":"https://github.com/wlandau","followers_url":"https://api.github.com/users/wlandau/followers","following_url":"https://api.github.com/users/wlandau/following{/other_user}","gists_url":"https://api.github.com/users/wlandau/gists{/gist_id}","starred_url":"https://api.github.com/users/wlandau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlandau/subscriptions","organizations_url":"https://api.github.com/users/wlandau/orgs","repos_url":"https://api.github.com/users/wlandau/repos","events_url":"https://api.github.com/users/wlandau/events{/privacy}","received_events_url":"https://api.github.com/users/wlandau/received_events","type":"User","site_admin":false},"labels":[{"id":543987609,"url":"https://api.github.com/repos/ropensci/drake/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":543987610,"url":"https://api.github.com/repos/ropensci/drake/labels/help%20or%20advice%20wanted","name":"help or advice wanted","color":"006b75","default":false},{"id":822807942,"url":"https://api.github.com/repos/ropensci/drake/labels/interface","name":"interface","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-11T05:16:55Z","updated_at":"2018-03-12T12:32:52Z","closed_at":null,"author_association":"COLLABORATOR","body":"From @krlmlr via #299.\r\n\r\n### Original suggestion\r\n\r\nThe following could be equivalent plans.\r\n\r\n```r\r\nplan1 <- drake_plan(x = {1; always()})\r\nplan2 <- tibble(target = \"x\", command = \"1\", trigger = \"always\")\r\n```\r\n\r\n### Do we want to optionally all triggers this way?\r\n\r\n- If so, we also need functions `any()`, `command()`, `depends()`, `file()`, and `missing()` (everything from `triggers()`).\r\n- Which trigger should be used for `tibble(target = \"x\", command = \"{1; always()`}\", trigger = \"depends\")`? I would think `\"depends\"`, but I want to make sure.\r\n\r\n### What about the other optional workflow plan columns?\r\n\r\nTriggers are not the only optional pieces of the workflow plan. We may want to consider something like\r\n\r\n```r\r\ndrake_plan(x = {1; column(\"trigger\", \"always\")})\r\n```\r\n\r\nA `drake::column()` would conflict with `shiny::column()`, so we would definitely need another name."},"comment":{"url":"https://api.github.com/repos/ropensci/drake/issues/comments/372294147","html_url":"https://github.com/ropensci/drake/issues/315#issuecomment-372294147","issue_url":"https://api.github.com/repos/ropensci/drake/issues/315","id":372294147,"user":{"login":"wlandau","id":1580860,"avatar_url":"https://avatars1.githubusercontent.com/u/1580860?v=4","gravatar_id":"","url":"https://api.github.com/users/wlandau","html_url":"https://github.com/wlandau","followers_url":"https://api.github.com/users/wlandau/followers","following_url":"https://api.github.com/users/wlandau/following{/other_user}","gists_url":"https://api.github.com/users/wlandau/gists{/gist_id}","starred_url":"https://api.github.com/users/wlandau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlandau/subscriptions","organizations_url":"https://api.github.com/users/wlandau/orgs","repos_url":"https://api.github.com/users/wlandau/repos","events_url":"https://api.github.com/users/wlandau/events{/privacy}","received_events_url":"https://api.github.com/users/wlandau/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T12:32:52Z","updated_at":"2018-03-12T12:32:52Z","author_association":"COLLABORATOR","body":"My inclination is to go with `differentName` with a warning, unless `command` has `file_out(\"filename\")`, in which case `\"filename\"` becomes the target name automatically. For R syntax highlighting, use\r\n\r\n<pre><code>```r\r\n```\r\n</code></pre>\r\n\r\nrather than \r\n\r\n<pre><code>```\r\n```\r\n</code></pre>\r\n"}}
{"actor":{"display_login":"wlandau"}}