From 7eef80c2f1a2a2bc1cf7c75d02b1d1b4dda776fd Mon Sep 17 00:00:00 2001 From: PharmCat Date: Fri, 23 Apr 2021 01:21:27 +0300 Subject: [PATCH 1/7] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e32dd41..e3ff967 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ using Pkg; Pkg.add("ClinicalTrialUtilities"); - Clinical trial sample size calculation - Power calculation -- Confidence Intervals calculation +- Confidence Interval calculation - NCA Pharmacokinetics parameters calculation - Descriptive statistics and frequencies - Randomization From 2e921fbff8ebb5e0787aeddc6d6e8fa00904107f Mon Sep 17 00:00:00 2001 From: PharmCat Date: Fri, 23 Apr 2021 01:23:58 +0300 Subject: [PATCH 2/7] update --- .github/workflows/Tier1.yml | 2 +- Project.toml | 23 +++++++++++------------ cange.log | 4 +++- src/ClinicalTrialUtilities.jl | 8 ++------ 4 files changed, 17 insertions(+), 20 deletions(-) diff --git a/.github/workflows/Tier1.yml b/.github/workflows/Tier1.yml index c1e3a2a..3dbe297 100644 --- a/.github/workflows/Tier1.yml +++ b/.github/workflows/Tier1.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - julia-version: [1.4,1.5] + julia-version: [1.4,1.5, 1.6] julia-arch: [x64] os: [ubuntu-18.04, macos-10.15, windows-2019] steps: diff --git a/Project.toml b/Project.toml index 0c13b3a..726e04e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ClinicalTrialUtilities" uuid = "535c2557-d7d0-564d-8ff9-4ae146c18cfe" authors = ["Vladimir Arnautov (mail@pharmcat.net)"] -version = "0.5.0" +version = "0.5.1" [deps] DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" @@ -15,21 +15,20 @@ SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" [compat] -DataFrames = "0.19, 0.20, 0.21, 0.22" -Distributions = "0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24" -QuadGK = "2.0, 2.1, 2.2, 2.3, 2.4" -RecipesBase = "0.7, 0.8, 1" -Reexport = "0.1, 0.2, 1.0" -Roots = "0.7, 0.8, 1" -SpecialFunctions = "0.8, 0.9, 0.10, 1" -StatsBase = "0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33" -julia = "1.0, 1.1, 1.2, 1.3, 1.4, 1.5" +DataFrames = "0.22, 1" +Distributions = "0.20, 0.21, 0.22, 0.23, 0.24" +QuadGK = "2" +RecipesBase = "1" +Reexport = "1" +Roots = "1" +SpecialFunctions = "1" +StatsBase = "0.30, 0.31, 0.32, 0.33" +julia = "1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6" [extras] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" -StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" [targets] -test = ["CSV", "Test", "Plots", "StableRNGs"] +test = ["CSV", "Test", "Plots"] diff --git a/cange.log b/cange.log index 1715114..1d33ad6 100644 --- a/cange.log +++ b/cange.log @@ -1,4 +1,6 @@ -v 0.5.0 +v0.5.1 + +v0.5.0 - StableRNGs test - rng keyword for randomtable, randomseq - auc_sparse for PKSubject diff --git a/src/ClinicalTrialUtilities.jl b/src/ClinicalTrialUtilities.jl index 1cd7231..3fa353d 100644 --- a/src/ClinicalTrialUtilities.jl +++ b/src/ClinicalTrialUtilities.jl @@ -23,12 +23,8 @@ import Base: show, findfirst, getproperty, showerror, getindex, length, in, iter import StatsBase.confint import DataFrames: DataFrame, DataFrames, unstack -try - methods(SpecialFunctions.logabsgamma) - global lgamma(x) = SpecialFunctions.logabsgamma(x)[1] -catch - global lgamma(x) = SpecialFunctions.lgamma(x) -end + +lgamma(x) = SpecialFunctions.logabsgamma(x)[1] const ZDIST = Normal() const LOG2 = log(2) From d2807d7ad4b620a26d14ba86f918332e18dd5a63 Mon Sep 17 00:00:00 2001 From: PharmCat Date: Fri, 23 Apr 2021 01:26:31 +0300 Subject: [PATCH 3/7] update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3ff967..e32dd41 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ using Pkg; Pkg.add("ClinicalTrialUtilities"); - Clinical trial sample size calculation - Power calculation -- Confidence Interval calculation +- Confidence Intervals calculation - NCA Pharmacokinetics parameters calculation - Descriptive statistics and frequencies - Randomization From 670845d81d5419a02a09fae58da57c0e9bc9f632 Mon Sep 17 00:00:00 2001 From: PharmCat Date: Fri, 23 Apr 2021 01:31:59 +0300 Subject: [PATCH 4/7] update --- .github/workflows/Tier1.yml | 2 +- Project.toml | 2 -- src/ClinicalTrialUtilities.jl | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Tier1.yml b/.github/workflows/Tier1.yml index 3dbe297..690387c 100644 --- a/.github/workflows/Tier1.yml +++ b/.github/workflows/Tier1.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - julia-version: [1.4,1.5, 1.6] + julia-version: [1.4, 1.5, 1.6] julia-arch: [x64] os: [ubuntu-18.04, macos-10.15, windows-2019] steps: diff --git a/Project.toml b/Project.toml index 726e04e..96dd6d9 100644 --- a/Project.toml +++ b/Project.toml @@ -9,7 +9,6 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" -Reexport = "189a3867-3050-52da-a836-e630ba90ab69" Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665" SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" @@ -19,7 +18,6 @@ DataFrames = "0.22, 1" Distributions = "0.20, 0.21, 0.22, 0.23, 0.24" QuadGK = "2" RecipesBase = "1" -Reexport = "1" Roots = "1" SpecialFunctions = "1" StatsBase = "0.30, 0.31, 0.32, 0.33" diff --git a/src/ClinicalTrialUtilities.jl b/src/ClinicalTrialUtilities.jl index 3fa353d..7dbcbd9 100644 --- a/src/ClinicalTrialUtilities.jl +++ b/src/ClinicalTrialUtilities.jl @@ -14,9 +14,9 @@ __precompile__(true) module ClinicalTrialUtilities -using Distributions, Random, Roots, QuadGK, RecipesBase, Reexport +using Distributions, Random, Roots, QuadGK, RecipesBase -@reexport using StatsBase +using StatsBase import SpecialFunctions import Base: show, findfirst, getproperty, showerror, getindex, length, in, iterate, eltype, deleteat!, findall From e4416e2d27190a8cd3bb17116a6455a9af6fc951 Mon Sep 17 00:00:00 2001 From: PharmCat Date: Fri, 23 Apr 2021 01:38:27 +0300 Subject: [PATCH 5/7] update --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 88ac0c9..dbf15ec 100644 --- a/Project.toml +++ b/Project.toml @@ -30,4 +30,4 @@ StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["CSV", "Test", "Plots"] +test = ["CSV", "Test", "Plots", "StableRNGs"] From 8fa35ec108d7f04549cee6be556540ffe3277711 Mon Sep 17 00:00:00 2001 From: PharmCat Date: Fri, 23 Apr 2021 01:47:26 +0300 Subject: [PATCH 6/7] update --- .github/workflows/Documenter.yml | 3 +-- docs/Project.toml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documenter.yml index edf6c42..a234e87 100644 --- a/.github/workflows/Documenter.yml +++ b/.github/workflows/Documenter.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v2 - uses: julia-actions/setup-julia@latest with: - version: '1.4' + version: '1.6' - name: Install dependencies run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - name: Build and deploy @@ -32,4 +32,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key run: julia --project=docs/ docs/make.jl - diff --git a/docs/Project.toml b/docs/Project.toml index dca4fa8..94300d3 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -6,7 +6,7 @@ Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" [compat] -Documenter = "0.23, 0.24" -DataFrames = "0.19, 0.20" +Documenter = "0.23, 0.24, 0.25, 0.26" +DataFrames = "0.22, 1" CSV = "0.5, 0.6" Plots = "1.2, 1.3" From 4e9b2933246c169ef3acd5bfeb78e3614d6b2e72 Mon Sep 17 00:00:00 2001 From: PharmCat Date: Fri, 23 Apr 2021 01:51:16 +0300 Subject: [PATCH 7/7] update --- docs/Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 94300d3..6ab3c40 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -8,5 +8,5 @@ Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" Documenter = "0.23, 0.24, 0.25, 0.26" DataFrames = "0.22, 1" -CSV = "0.5, 0.6" -Plots = "1.2, 1.3" +CSV = "0.6, 0.7, 0.8" +Plots = "1"