{"action":"opened","issue":{"url":"https://api.github.com/repos/eddelbuettel/digest/issues/32","repository_url":"https://api.github.com/repos/eddelbuettel/digest","labels_url":"https://api.github.com/repos/eddelbuettel/digest/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/eddelbuettel/digest/issues/32/comments","events_url":"https://api.github.com/repos/eddelbuettel/digest/issues/32/events","html_url":"https://github.com/eddelbuettel/digest/issues/32","id":136336235,"number":32,"title":"sha1.list() should allow vectors for the digits and zapsmall arguments","user":{"login":"ThierryO","id":446636,"avatar_url":"https://avatars.githubusercontent.com/u/446636?v=3","gravatar_id":"","url":"https://api.github.com/users/ThierryO","html_url":"https://github.com/ThierryO","followers_url":"https://api.github.com/users/ThierryO/followers","following_url":"https://api.github.com/users/ThierryO/following{/other_user}","gists_url":"https://api.github.com/users/ThierryO/gists{/gist_id}","starred_url":"https://api.github.com/users/ThierryO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThierryO/subscriptions","organizations_url":"https://api.github.com/users/ThierryO/orgs","repos_url":"https://api.github.com/users/ThierryO/repos","events_url":"https://api.github.com/users/ThierryO/events{/privacy}","received_events_url":"https://api.github.com/users/ThierryO/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-25T09:56:21Z","updated_at":"2016-02-25T09:56:21Z","closed_at":null,"body":"In case a list() we could allow digits and zapsmall to be either a single number or a vector with the same length as the list. The vector allows the user the specify a different value for digits and zapsmall for each element of the list. The current default remain.\r\n\r\nUse case: a list with e.g. a data element and a model. For the data we can use a high value for digits (e.g. 14). For the model we will need a smaller value for digits (e.g. 7). "}}