Skip to content

Commit

Permalink
v0.1.4 fix for Julia v1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
kongdd committed Oct 9, 2024
1 parent 8f99ca9 commit 42d3d5c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "RTableTools"
uuid = "76227a05-389e-44bd-84ad-996dde4b1834"
authors = ["Dongdong Kong <[email protected]>"]
version = "0.1.3"
version = "0.1.4"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
23 changes: 16 additions & 7 deletions src/data.table.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ DataFrames.ncol(x::AbstractArray) = size(x, 2)

## module: data ================================================================
module data
global table, frame

import DataFrames: DataFrame

const table = DataFrame
const frame = DataFrame

end
data.table = DataFrame
data.frame = DataFrame

const DT = data.table;
const DF = data.table;
Expand All @@ -29,12 +32,18 @@ const DF = data.table;
## module: as ==================================================================
module as


function matrix end


module data
global table
function frame end

global table # as.data.table
function frame end # as.data.frame

end


end

# only for vector
Expand Down Expand Up @@ -68,8 +77,8 @@ end

as.data.table = as.data.frame

as_DT = as.data.table
as_DF = as.data.frame
const as_DT = as.data.table
const as_DF = as.data.frame

## MODULE: IS ==================================================================
module is
Expand Down

0 comments on commit 42d3d5c

Please sign in to comment.