{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/DataArrays.jl/issues/186","repository_url":"https://api.github.com/repos/JuliaStats/DataArrays.jl","labels_url":"https://api.github.com/repos/JuliaStats/DataArrays.jl/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/DataArrays.jl/issues/186/comments","events_url":"https://api.github.com/repos/JuliaStats/DataArrays.jl/issues/186/events","html_url":"https://github.com/JuliaStats/DataArrays.jl/pull/186","id":154705149,"number":186,"title":"Deprecate rep(), head() and tail()","user":{"login":"nalimilan","id":1120448,"avatar_url":"https://avatars.githubusercontent.com/u/1120448?v=3","gravatar_id":"","url":"https://api.github.com/users/nalimilan","html_url":"https://github.com/nalimilan","followers_url":"https://api.github.com/users/nalimilan/followers","following_url":"https://api.github.com/users/nalimilan/following{/other_user}","gists_url":"https://api.github.com/users/nalimilan/gists{/gist_id}","starred_url":"https://api.github.com/users/nalimilan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalimilan/subscriptions","organizations_url":"https://api.github.com/users/nalimilan/orgs","repos_url":"https://api.github.com/users/nalimilan/repos","events_url":"https://api.github.com/users/nalimilan/events{/privacy}","received_events_url":"https://api.github.com/users/nalimilan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-13T12:54:27Z","updated_at":"2016-05-13T13:09:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaStats/DataArrays.jl/pulls/186","html_url":"https://github.com/JuliaStats/DataArrays.jl/pull/186","diff_url":"https://github.com/JuliaStats/DataArrays.jl/pull/186.diff","patch_url":"https://github.com/JuliaStats/DataArrays.jl/pull/186.patch"},"body":"This package is not the place for utilities functions. Most cases\r\nare supported by repeat(). rep(::AbstractVector, ::AbstractVector)\r\nhas no replacement currently, but it is a less common form and\r\nshould be moved to Julia Base or another package.\r\n\r\nI'm trying to clean up DataFrames, and it extends this function. I figured we'd better prompt people to use Base's `repeat` ASAP. Though `repeat` does not support `AbstractArrays` until https://github.com/JuliaLang/julia/pull/14082 is merged and backported, which is why I kept the existing functions instead of calling it.\r\n\r\nI don't know what to do about `rep(::AbstractVector, ::AbstractVector)`: should Base offer this feature via `repeat`? Or via another function? Should it go to a utilities package?"},"comment":{"url":"https://api.github.com/repos/JuliaStats/DataArrays.jl/issues/comments/219037953","html_url":"https://github.com/JuliaStats/DataArrays.jl/pull/186#issuecomment-219037953","issue_url":"https://api.github.com/repos/JuliaStats/DataArrays.jl/issues/186","id":219037953,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T13:09:21Z","updated_at":"2016-05-13T13:09:21Z","body":"\n[![Coverage Status](https://coveralls.io/builds/6169278/badge)](https://coveralls.io/builds/6169278)\n\nCoverage decreased (-16.5%) to 67.508% when pulling **1c48deeddf57e54850af3c96742d85c350319a9f on nl/rep** into **44192cf6261d6eed476018fb2770c5ca8dc4e9f2 on master**.\n"}}