{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/drake/issues/291","repository_url":"https://api.github.com/repos/ropensci/drake","labels_url":"https://api.github.com/repos/ropensci/drake/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/drake/issues/291/comments","events_url":"https://api.github.com/repos/ropensci/drake/issues/291/events","html_url":"https://github.com/ropensci/drake/issues/291","id":302012044,"number":291,"title":"Lonely single quotes confuse check_plan()","user":{"login":"krlmlr","id":1741643,"avatar_url":"https://avatars0.githubusercontent.com/u/1741643?v=4","gravatar_id":"","url":"https://api.github.com/users/krlmlr","html_url":"https://github.com/krlmlr","followers_url":"https://api.github.com/users/krlmlr/followers","following_url":"https://api.github.com/users/krlmlr/following{/other_user}","gists_url":"https://api.github.com/users/krlmlr/gists{/gist_id}","starred_url":"https://api.github.com/users/krlmlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krlmlr/subscriptions","organizations_url":"https://api.github.com/users/krlmlr/orgs","repos_url":"https://api.github.com/users/krlmlr/repos","events_url":"https://api.github.com/users/krlmlr/events{/privacy}","received_events_url":"https://api.github.com/users/krlmlr/received_events","type":"User","site_admin":false},"labels":[{"id":597948360,"url":"https://api.github.com/repos/ropensci/drake/labels/undecided:%20may%20or%20may%20not%20fix","name":"undecided: may or may not fix","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-03T16:32:46Z","updated_at":"2018-03-07T13:50:41Z","closed_at":"2018-03-05T21:44:50Z","author_association":"COLLABORATOR","body":"I haven't succeeded in replicating the error with using only `c()` instead of `buy()`.\r\n\r\n``` r\r\nlibrary(drake)\r\nlibrary(cooking)\r\nplan <- drake_plan(\r\n  meat = buy(\"meat\", from = \"the butcher's\")\r\n)\r\n#> Warning: Converting double-quotes to single-quotes because the\r\n#> `strings_in_dots` argument is missing. Use the file_in(), file_out(),\r\n#> and knitr_in() functions to work with files in your commands, and pass\r\n#> `strings_in_dots = \"literals\"` to remove this warning.\r\ncheck_plan(plan)\r\n#> cache /tmp/RtmpplXAkP/.drake\r\n#> connect 1 import: plan\r\n#> connect 1 target: meat\r\n#> Error in parse(text = command): <text>:1:33: unexpected symbol\r\n#> 1: buy('meat', from = 'the butcher's\r\n#>                                     ^\r\nplan <- drake_plan(\r\n  meat = buy(\"meat\", from = \"the butcher's\"),\r\n  strings_in_dots = \"literals\"\r\n)\r\ncheck_plan(plan)\r\n#> cache /tmp/RtmpplXAkP/.drake\r\n#> connect 1 import: plan\r\n#> connect 1 target: meat\r\n#> Warning: Files in a command declared with single-quotes:\r\n#>   s\")\r\n#> The way to declare files in drake is deprecated. Use file_in(), file_out(), and knitr_in() in your commands. See `?drake_plan` for examples.\r\n#> Warning: missing input files:\r\n#>   s\")\r\n```\r\n\r\n> Created on 2018-03-03 by the [reprex package](http://reprex.tidyverse.org) (v0.2.0)."},"comment":{"url":"https://api.github.com/repos/ropensci/drake/issues/comments/371143832","html_url":"https://github.com/ropensci/drake/issues/291#issuecomment-371143832","issue_url":"https://api.github.com/repos/ropensci/drake/issues/291","id":371143832,"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-07T13:50:41Z","updated_at":"2018-03-07T13:50:41Z","author_association":"COLLABORATOR","body":"Because users can still pass single-quoted filenames with the `list` argument to `drake_plan()`, and `drake` uses the same code analysis regardless of `strings_in_dots`."}}
{"actor":{"display_login":"wlandau"}}