Skip to content

Commit

Permalink
Add Examples in doc, change Project.toml, add tast and #43 (#43)
Browse files Browse the repository at this point in the history
* Update Project.toml

* Update CI.yml

* doc example

* remove strict
  • Loading branch information
PharmCat committed Oct 20, 2022
1 parent 725a6a6 commit 6345f44
Show file tree
Hide file tree
Showing 11 changed files with 421 additions and 65 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6.2'
- '1.6.7'
- '1' # automatically expands to the latest stable 1.x release of Julia
- 'nightly'
os:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.6.2'
version: '1.6.7'
- uses: julia-actions/julia-buildpkg@v1
- run: |
julia --project=docs -e '
Expand Down
33 changes: 18 additions & 15 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,36 @@
name = "ExperimentalDesign"
uuid = "4babbea4-9e7d-11e9-116f-e1ada04bd296"
authors = ["Pedro Bruel <pedro.bruel@gmail.com>"]
version = "0.4.0"
version = "0.4.1"

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

[compat]
Combinatorics = "1.0"
DataFrames = "~1.2.0"
Distributions = "~0.25.11"
DocStringExtensions = "~0.8.5"
Documenter = "~0.27"
GLM = "~1.5"
Combinatorics = "1"
DataFrames = "1.2, 1.3, 1.4"
Distributions = "0.25"
DocStringExtensions = "0.8, 0.9"
LatinHypercubeSampling = "1.8"
Primes = "~0.5"
StatsBase = "~0.33.8"
StatsModels = "~0.6.23"
julia = "~1.6"
Primes = "0.5"
StatsModels = "0.6"
julia = "1.8"

[extras]
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
GLM = "38e38edf-8417-5370-95a0-9cbb8c7f171a"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["DataFrames", "StatsBase", "Test", "GLM", "Documenter"]
20 changes: 11 additions & 9 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
StatsPlots = "f3b207a7-027a-5e70-b257-86293d7955fd"

[compat]
DataFrames = "~1.2.0"
Distributions = "~0.25.11"
DocStringExtensions = "~0.8.5"
Documenter = "~0.27"
GLM = "~1.5"
Primes = "~0.5"
StatsBase = "~0.33.8"
StatsModels = "~0.6.23"
julia = "~1.6"
DataFrames = "1"
Distributions = "0.25"
DocStringExtensions = "0.8"
Documenter = "0.27"
GLM = "1.5, 1.6, 1.7"
Primes = "0.5"
StatsBase = "0.33"
StatsModels = "0.6"
StatsPlots = "0.14, 0.15"
julia = "1.6"
8 changes: 4 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Documenter, ExperimentalDesign
using Documenter, ExperimentalDesign, StatsModels, GLM, DataFrames, Distributions, Random, StatsPlots

random_seed = 443591

Expand All @@ -13,8 +13,7 @@ end

DocMeta.setdocmeta!(ExperimentalDesign,
:DocTestSetup,
:(using ExperimentalDesign, Distributions,
Random, StatsModels, DataFrames;
:(using ExperimentalDesign, StatsModels, GLM, DataFrames, Distributions, Random, StatsPlots;
Random.seed!($random_seed););
recursive = true)

Expand All @@ -28,10 +27,11 @@ makedocs(
sitename = "ExperimentalDesign.jl",
authors = "Pedro Bruel and contributors.",
linkcheck = !("skiplinks" in ARGS),
strict = !("strict=false" in ARGS),
#strict = !("strict=false" in ARGS),
doctest = ("doctest=only" in ARGS) ? :only : true,
pages = [
"Home" => "index.md",
"Examples" => "lib/examples.md",
"Library" => Any[
"Public" => "lib/public.md",
"Internals" => "lib/internals.md"
Expand Down
Loading

2 comments on commit 6345f44

@phrb
Copy link
Owner

@phrb phrb commented on 6345f44 Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/70727

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.1 -m "<description of version>" 6345f44541e65f8c09af65af4c9cdf4fcbdd0f05
git push origin v0.4.1

Please sign in to comment.