Skip to content

Commit

Permalink
Merge pull request #69 from PharmCat/Remove-NCA
Browse files Browse the repository at this point in the history
clean
  • Loading branch information
PharmCat authored Jan 17, 2025
2 parents e9daefd + fcdc272 commit 303af8e
Show file tree
Hide file tree
Showing 49 changed files with 103 additions and 4,902 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/CompatHelper.yml

This file was deleted.

11 changes: 5 additions & 6 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: "1"
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
version: "1.8"
- uses: julia-actions/cache@v1
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
Expand Down
24 changes: 17 additions & 7 deletions .github/workflows/Tier1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,36 @@ jobs:
strategy:
matrix:
version:
- '1.6'
- '1.7'
- '1.8'
- '1'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
if: ${{ matrix.os == 'ubuntu-latest' && matrix.version == '1' && matrix.arch == 'x64' }}
with:
files: lcov.info
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Distributions = "0.21, 0.22, 0.23, 0.24, 0.25"
QuadGK = "1, 2"
Roots = "1, 2"
SpecialFunctions = "1, 2"
StatsBase = "0.30, 0.31, 0.32, 0.33"
StatsBase = "0.30, 0.31, 0.32, 0.33, 0.34"
julia = "1"

[extras]
Expand Down
5 changes: 4 additions & 1 deletion change.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
V0.7.1
- Clean.

V0.7.0
- Stay only sample size, power and randomization. Other functions moved to another packages.
- Change licance.
- Change licence.

v0.6.2
- Minor fix
Expand Down
7 changes: 2 additions & 5 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

[compat]

Documenter = "0.23, 0.24, 0.25, 0.26"
Documenter = "0.26"
DataFrames = "0.22, 1"
CSV = "0.6, 0.7, 0.8"
Plots = "1"

4 changes: 2 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Documenter, ClinicalTrialUtilities, DataFrames, CSV, Plots
using Documenter, ClinicalTrialUtilities, DataFrames

makedocs(
modules = [ClinicalTrialUtilities],
Expand All @@ -17,4 +17,4 @@ makedocs(
],
)

deploydocs(repo = "github.com/PharmCat/ClinicalTrialUtilities.jl.git")
deploydocs(repo = "github.com/PharmCat/ClinicalTrialUtilities.jl.git", push_preview = true)
79 changes: 0 additions & 79 deletions docs/src/ci.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/src/ds.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/src/export.md

This file was deleted.

9 changes: 3 additions & 6 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@

## Description

The package is designed to perform calculations related to the planning of clinical trials.
The package is designed to perform sample size calculations for clinical trials.

## Installation
```
using Pkg; Pkg.add("ClinicalTrialUtilities");
```

### Pharmacodynamics
### Note

Further development of NCA PK/PD will be based on [MetidaNCA.jl](https://github.com/PharmCat/MetidaNCA.jl) package.

Expand All @@ -39,10 +40,6 @@ When ctpower/ctsamplen used:
- :ei - Equivalencens: two one-sided hypothesis;
- :ns - Non-Inferiority / Superiority: one-sided hypothesis, for some cases you should use two-sided hypothesis for Non-Inferiority/Superiority, you can use alpha/2 for this;

## Invalidated version v0.3.0 (removed from release page)

Wrong Equivalence Hypothesis alpha level! Use 0.2.7, 0.3.1 version or higher.

## Contents

```@contents
Expand Down
7 changes: 0 additions & 7 deletions docs/src/nca.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/src/pd.md

This file was deleted.

6 changes: 6 additions & 0 deletions docs/src/samplesize.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,9 @@ ClinicalTrialUtilities.ctsamplen
```@docs
ClinicalTrialUtilities.besamplen
```
## See also

### ctask
```@docs
ClinicalTrialUtilities.ctask
```
6 changes: 0 additions & 6 deletions docs/src/sim.md

This file was deleted.

15 changes: 15 additions & 0 deletions docs/src/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,26 @@
ClinicalTrialUtilities.cvfromci
```

### cvfromsd
```@docs
ClinicalTrialUtilities.cvfromsd
```

### cvfromvar
```@docs
ClinicalTrialUtilities.cvfromvar
```

### sdfromcv
```@docs
ClinicalTrialUtilities.sdfromcv
```

### varfromcv
```@docs
ClinicalTrialUtilities.varfromcv
```

### pooledcv
```@docs
ClinicalTrialUtilities.pooledcv
Expand Down
3 changes: 0 additions & 3 deletions docs/src/validation.md

This file was deleted.

Binary file removed docs/validation/Descriptive Stats Julia Test.spv
Binary file not shown.
Binary file removed docs/validation/Descriptive Stats Julia Test.xls
Binary file not shown.
Binary file removed docs/validation/Julia test.phxproj
Binary file not shown.
14 changes: 0 additions & 14 deletions docs/validation/PD.csv

This file was deleted.

Loading

2 comments on commit 303af8e

@PharmCat
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release notes:

Breaking changes

  • NCA, CI, DS, ets. removed to Metida* packages

@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/123165

Tagging

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.7.0 -m "<description of version>" 303af8ee5363627b9bfedcf0bb0487b669a4e0bb
git push origin v0.7.0

Please sign in to comment.