Skip to content

Commit 6345f44

Browse files
authored
Add Examples in doc, change Project.toml, add tast and #43 (#43)
* Update Project.toml * Update CI.yml * doc example * remove strict
1 parent 725a6a6 commit 6345f44

File tree

11 files changed

+421
-65
lines changed

11 files changed

+421
-65
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
version:
13-
- '1.6.2'
13+
- '1.6.7'
1414
- '1' # automatically expands to the latest stable 1.x release of Julia
1515
- 'nightly'
1616
os:
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@v2
5353
- uses: julia-actions/setup-julia@v1
5454
with:
55-
version: '1.6.2'
55+
version: '1.6.7'
5656
- uses: julia-actions/julia-buildpkg@v1
5757
- run: |
5858
julia --project=docs -e '

Project.toml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
11
name = "ExperimentalDesign"
22
uuid = "4babbea4-9e7d-11e9-116f-e1ada04bd296"
33
authors = ["Pedro Bruel <pedro.bruel@gmail.com>"]
4-
version = "0.4.0"
4+
version = "0.4.1"
55

66
[deps]
77
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
88
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
99
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
1010
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
11-
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
12-
GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a"
1311
LatinHypercubeSampling = "a5e1c1ea-c99a-51d3-a14d-a9a37257b02d"
1412
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1513
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
1614
Primes = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae"
1715
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
18-
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1916
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
20-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2117

2218
[compat]
23-
Combinatorics = "1.0"
24-
DataFrames = "~1.2.0"
25-
Distributions = "~0.25.11"
26-
DocStringExtensions = "~0.8.5"
27-
Documenter = "~0.27"
28-
GLM = "~1.5"
19+
Combinatorics = "1"
20+
DataFrames = "1.2, 1.3, 1.4"
21+
Distributions = "0.25"
22+
DocStringExtensions = "0.8, 0.9"
2923
LatinHypercubeSampling = "1.8"
30-
Primes = "~0.5"
31-
StatsBase = "~0.33.8"
32-
StatsModels = "~0.6.23"
33-
julia = "~1.6"
24+
Primes = "0.5"
25+
StatsModels = "0.6"
26+
julia = "1.8"
27+
28+
[extras]
29+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
30+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
31+
GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a"
32+
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
33+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
34+
35+
[targets]
36+
test = ["DataFrames", "StatsBase", "Test", "GLM", "Documenter"]

docs/Project.toml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1111
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1212
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
1313
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
14+
StatsPlots = "f3b207a7-027a-5e70-b257-86293d7955fd"
1415

1516
[compat]
16-
DataFrames = "~1.2.0"
17-
Distributions = "~0.25.11"
18-
DocStringExtensions = "~0.8.5"
19-
Documenter = "~0.27"
20-
GLM = "~1.5"
21-
Primes = "~0.5"
22-
StatsBase = "~0.33.8"
23-
StatsModels = "~0.6.23"
24-
julia = "~1.6"
17+
DataFrames = "1"
18+
Distributions = "0.25"
19+
DocStringExtensions = "0.8"
20+
Documenter = "0.27"
21+
GLM = "1.5, 1.6, 1.7"
22+
Primes = "0.5"
23+
StatsBase = "0.33"
24+
StatsModels = "0.6"
25+
StatsPlots = "0.14, 0.15"
26+
julia = "1.6"

docs/make.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Documenter, ExperimentalDesign
1+
using Documenter, ExperimentalDesign, StatsModels, GLM, DataFrames, Distributions, Random, StatsPlots
22

33
random_seed = 443591
44

@@ -13,8 +13,7 @@ end
1313

1414
DocMeta.setdocmeta!(ExperimentalDesign,
1515
:DocTestSetup,
16-
:(using ExperimentalDesign, Distributions,
17-
Random, StatsModels, DataFrames;
16+
:(using ExperimentalDesign, StatsModels, GLM, DataFrames, Distributions, Random, StatsPlots;
1817
Random.seed!($random_seed););
1918
recursive = true)
2019

@@ -28,10 +27,11 @@ makedocs(
2827
sitename = "ExperimentalDesign.jl",
2928
authors = "Pedro Bruel and contributors.",
3029
linkcheck = !("skiplinks" in ARGS),
31-
strict = !("strict=false" in ARGS),
30+
#strict = !("strict=false" in ARGS),
3231
doctest = ("doctest=only" in ARGS) ? :only : true,
3332
pages = [
3433
"Home" => "index.md",
34+
"Examples" => "lib/examples.md",
3535
"Library" => Any[
3636
"Public" => "lib/public.md",
3737
"Internals" => "lib/internals.md"

0 commit comments

Comments
 (0)