This repository has been archived by the owner on May 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Fixes for 0.6 #235
Merged
Merged
Fixes for 0.6 #235
Changes from 9 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
91d3ce9
Updates for Julia 0.6
andreasnoack 3041382
Remove Compat code
andreasnoack 6fe6e13
Fix broadcast warnings and remove unused operator groups form operato…
andreasnoack 1c423b9
Use iteration instead of indexing into indices in setindex to avoid
andreasnoack af188c7
Adjust CI
andreasnoack 4dbce68
Reenable precompilation
andreasnoack a2bb139
Use @inline instead of @generate when possible
andreasnoack 1416606
Now, erf, erfc, and digamma are in SpecialFunctions instead of Base
andreasnoack 0c9184c
Intialize arrays with all NAs. Flip bits _unsafe_getindex.
andreasnoack a38a6f6
Define linearindexing for Type{T} instead of T
andreasnoack a75d440
Update ! -> .! and remove commented out tests
andreasnoack ed30192
Reenable Compat. Necessary for old @nsplat and @ngenerate macros
andreasnoack 937d396
Make broadcast work for scalar Strings
andreasnoack 9f68def
Update syntax for indexing traits
andreasnoack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
language: julia | ||
julia: | ||
- 0.4 | ||
- 0.5 | ||
# - 0.6 | ||
- nightly | ||
os: | ||
- linux | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
julia 0.4 | ||
julia 0.6- | ||
StatsBase 0.3 | ||
Compat 0.8.6 | ||
Reexport | ||
SpecialFunctions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
__precompile__() | ||
|
||
module DataArrays | ||
using Base: promote_op | ||
using Base.Cartesian, Compat, Reexport | ||
import Compat.String | ||
@reexport using StatsBase | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is tangential to the current changes, but it would make sense to me to stop reexporting StatsBase from this package. I'm not sure why we do it currently. If we do stop doing that, we could also drop the dependency on Reexport (not that it's a huge or problematic dependency, just saying). |
||
using SpecialFunctions | ||
|
||
const DEFAULT_POOLED_REF_TYPE = UInt32 | ||
|
||
import Base: ==, !=, >, <, >=, <=, +, -, *, !, &, |, $, ^, /, | ||
.==, .!=, .>, .<, .>=, .<=, .+, .-, .*, .%, ./, .\, .^ | ||
import Base: ==, !=, >, <, >=, <=, +, -, *, !, &, |, $, ^, / | ||
|
||
import StatsBase: autocor, inverse_rle, rle | ||
|
||
|
@@ -80,10 +80,4 @@ module DataArrays | |
include("predicates.jl") | ||
include("literals.jl") | ||
include("deprecated.jl") | ||
|
||
Base.@deprecate removeNA dropna | ||
Base.@deprecate each_failNA each_failna | ||
Base.@deprecate each_replaceNA each_replacena | ||
Base.@deprecate set_levels setlevels | ||
Base.@deprecate set_levels! setlevels! | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since Compat was removed from REQUIRE, it should be removed here too. (Not sure how this didn't cause CI to fail...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. I think it is installed by the dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah, probably installed by StatsBase.