Skip to content

Commit 498e930

Browse files
authored
Add Tables as a test-dependency and docs-dependency (#31)
1 parent de905b3 commit 498e930

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ DataFrames = "0.21"
1313
DocStringExtensions = "0.8"
1414
PrettyPrint = "0.2"
1515
StructArrays = "0.4"
16+
Tables = "1"
1617
julia = "1.1"
1718

1819
[extras]
1920
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
2021
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
2122
PrettyPrint = "8162dcfd-2161-5ef2-ae6c-7681170c5f98"
2223
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
24+
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
2325
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2426

2527
[targets]
26-
test = ["DataFrames", "Documenter", "PrettyPrint", "StructArrays", "Test"]
28+
test = ["DataFrames", "Documenter", "PrettyPrint", "StructArrays", "Tables", "Test"]

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
44
OMOPCommonDataModel = "ba65db9e-6590-4054-ab8a-101ed9124986"
55
PrettyPrint = "8162dcfd-2161-5ef2-ae6c-7681170c5f98"
66
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
7+
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
78

89
[compat]
910
DataFrames = "0.21"
1011
PrettyPrint = "0.2"
1112
StructArrays = "0.4"
13+
Tables = "1"

docs/src/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CurrentModule = OMOPCommonDataModel
77
```jldoctest
88
julia> using OMOPCommonDataModel
99
10-
julia> using DataFrames, PrettyPrint, StructArrays
10+
julia> using DataFrames, PrettyPrint, StructArrays, Tables
1111
1212
julia> jack = Person(person_id = 1, gender_concept_id = 12, year_of_birth = 1900, race_concept_id = 21, ethnicity_concept_id = 31, gender_source_concept_id = 42, race_source_concept_id = 51, ethnicity_source_concept_id = 61)
1313
Person(1, 12, 1900, missing, missing, missing, 21, 31, missing, missing, missing, missing, missing, 42, missing, 51, missing, 61)

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ using DataFrames
44
using Documenter
55
using PrettyPrint
66
using StructArrays
7+
using Tables
78
using Test
89

910
@testset "OMOPCommonDataModel.jl" begin

0 commit comments

Comments
 (0)