{"action":"created","issue":{"url":"https://api.github.com/repos/r-lib/usethis/issues/408","repository_url":"https://api.github.com/repos/r-lib/usethis","labels_url":"https://api.github.com/repos/r-lib/usethis/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/r-lib/usethis/issues/408/comments","events_url":"https://api.github.com/repos/r-lib/usethis/issues/408/events","html_url":"https://github.com/r-lib/usethis/issues/408","id":338551252,"node_id":"MDU6SXNzdWUzMzg1NTEyNTI=","number":408,"title":"default to not running spell check tests on CRAN servers","user":{"login":"IndrajeetPatil","id":11330453,"node_id":"MDQ6VXNlcjExMzMwNDUz","avatar_url":"https://avatars1.githubusercontent.com/u/11330453?v=4","gravatar_id":"","url":"https://api.github.com/users/IndrajeetPatil","html_url":"https://github.com/IndrajeetPatil","followers_url":"https://api.github.com/users/IndrajeetPatil/followers","following_url":"https://api.github.com/users/IndrajeetPatil/following{/other_user}","gists_url":"https://api.github.com/users/IndrajeetPatil/gists{/gist_id}","starred_url":"https://api.github.com/users/IndrajeetPatil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IndrajeetPatil/subscriptions","organizations_url":"https://api.github.com/users/IndrajeetPatil/orgs","repos_url":"https://api.github.com/users/IndrajeetPatil/repos","events_url":"https://api.github.com/users/IndrajeetPatil/events{/privacy}","received_events_url":"https://api.github.com/users/IndrajeetPatil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-05T12:20:49Z","updated_at":"2018-07-05T12:56:43Z","closed_at":null,"author_association":"NONE","body":"I have been using `usethis::use_spell_check()` to check spellings. But this creates a test that is good to run locally but not suitable for CRAN. My package has been rejected twice because of the spelling tests with the following comment-\r\n\r\n> why do you run spell check in the tests?\r\n> \r\n> Spelling won't change, hence no need to run that daily on several \r\n> machines on CRAN. Just do it once prior to submission.\r\n> \r\n> In tests, the idea is to check whether your package is calculating \r\n> correctly which may change due to changes on the operating systems, in \r\n> R, or package dependencies.\r\n\r\nWhat can I do to not run this test on CRAN servers? I tried adding `tests\\^spelling` to `.Rbuildignore` file, but the test still runs on CRAN. It iwill be good to have defaults that avoid this issue altogether. Because, as pointed out by CRAN members, spellings are not changing on a daily basis and this is a waste computational resources. "},"comment":{"url":"https://api.github.com/repos/r-lib/usethis/issues/comments/402712808","html_url":"https://github.com/r-lib/usethis/issues/408#issuecomment-402712808","issue_url":"https://api.github.com/repos/r-lib/usethis/issues/408","id":402712808,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjcxMjgwOA==","user":{"login":"batpigandme","id":831732,"node_id":"MDQ6VXNlcjgzMTczMg==","avatar_url":"https://avatars0.githubusercontent.com/u/831732?v=4","gravatar_id":"","url":"https://api.github.com/users/batpigandme","html_url":"https://github.com/batpigandme","followers_url":"https://api.github.com/users/batpigandme/followers","following_url":"https://api.github.com/users/batpigandme/following{/other_user}","gists_url":"https://api.github.com/users/batpigandme/gists{/gist_id}","starred_url":"https://api.github.com/users/batpigandme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batpigandme/subscriptions","organizations_url":"https://api.github.com/users/batpigandme/orgs","repos_url":"https://api.github.com/users/batpigandme/repos","events_url":"https://api.github.com/users/batpigandme/events{/privacy}","received_events_url":"https://api.github.com/users/batpigandme/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T12:56:43Z","updated_at":"2018-07-05T12:56:43Z","author_association":"CONTRIBUTOR","body":"I believe that would keep R CMD Check from running it, but it would also not run automatically for you. \r\nHopefully someone else with more experience with this (so, anyone, really) will weigh in. Just thought Karl's tips were nice options!"}}
{"actor":{"display_login":"batpigandme"}}