-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updating website and various minor corrections
- Loading branch information
1 parent
60bfeea
commit 18abe6e
Showing
14 changed files
with
217 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,22 @@ Package: chefStats | |
Title: Provide methods for different statistics | ||
Version: 0.1.1 | ||
Authors@R: | ||
c(person(given = "MEWP (Matthew Phelps)", | ||
c(person(given = "Matthew David Phelps", | ||
role = "aut", | ||
email = "[email protected]"), | ||
person(given = "NOSJ (Nicolai Skov Johnsen)", | ||
person(given = "Nicolai Skov Johnsen", | ||
role = "aut", | ||
email = "[email protected]"), | ||
person(given = "HSPU (Henrik Sparre Spiegelhauer)", | ||
person(given = "Henrik Sparre Spiegelhauer", | ||
role = "aut", | ||
email = "[email protected]"), | ||
person(given = "ABIU (Anders Bilgrau)", | ||
role = "aut", | ||
email = "[email protected]"), | ||
person(given = "SCQY (scqy)", | ||
person(given = "Simon Clancy", | ||
role = "aut", | ||
email = "[email protected]"), | ||
person(given = "CINO (Christian Haargaard Olsen)", | ||
person(given = "Christian Haargaard Olsen", | ||
role = c("aut", "cre"), | ||
email = "[email protected]"), | ||
person(given = "Novo Nordisk A/S", | ||
|
@@ -28,7 +28,8 @@ License: MIT + file LICENSE | |
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.3.1 | ||
Suggests: | ||
Suggests: | ||
testr, | ||
covr, | ||
pkgdown, | ||
testthat, | ||
|
@@ -48,10 +49,12 @@ Imports: | |
cli, | ||
usethis | ||
Remotes: | ||
hta-pharma/chef | ||
hta-pharma/chef, | ||
matthew-phelps/testr | ||
Config/testthat/edition: 3 | ||
VignetteBuilder: knitr | ||
Config/testthat/parallel: true | ||
URL: | ||
https://hta-pharma.github.io/chefStats/, | ||
https://github.com/hta-pharma/chefStats, | ||
https://app.codecov.io/github/hta-pharma/chefStats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,37 @@ | ||
|
||
<!-- README.md is generated from README.Rmd. Please edit that file --> | ||
|
||
# A library of statistical methods for chef-style AMNOG analyses <a href="https://hta-pharma.github.io/chefStats/"><img src="man/figures/logo.png" align="right" height="138" alt="chefStats website" /></a> | ||
# chefStats <a href="https://hta-pharma.github.io/chefStats/"><img src="man/figures/logo.png" align="right" height="138" alt="chefStats website" /></a> | ||
|
||
A library of statistical methods for chef-style AMNOG analyses | ||
|
||
# Aim | ||
|
||
The {chefStats} package aims to provide a library of fast, validated | ||
methods for use in AMNOG analysis created by the chef package. | ||
|
||
As the functions found in chefStats are designed to be used with chef, | ||
it may be unwieldy to use these functions independently. | ||
As the functions found in chefStats are designed to be used with | ||
[chef](https://hta-pharma.github.io/chef) in the context of the | ||
[ramnog](https://hta-pharma.github.io/ramnog) framework, it may be | ||
unwieldy to use these functions independently. | ||
|
||
# Installation | ||
|
||
The package is available to install from GitHub: | ||
|
||
``` r | ||
remotes::install_github("hta-pharma/chefStats") | ||
``` | ||
|
||
# How to contribute | ||
|
||
For information on how to contribute, please refer to [ramnog | ||
contributing | ||
documentation](https://hta-pharma.github.io/ramnog/articles/dev_contribute). | ||
|
||
# Developer Documentation | ||
# More information | ||
|
||
Please refer to {ramnog} for general [developer | ||
documentation](https://hta-pharma.github.io/ramnog/articles/#:~:text=Debugging-,Development,-Git%20Workflow). | ||
These site focuses on the functions of chefStats. For more context on | ||
how these functions should be utilized to produce an AMNOG-like | ||
analysis, please see the [ramnog](https://hta-pharma.github.io/ramnog) | ||
documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,8 @@ | ||
.navbar-inverse { | ||
background-color: #033572; | ||
.dropdown-header { | ||
font-size: 1.2rem; | ||
color: #494646; | ||
font-weight: 700; | ||
} | ||
.navbar-inverse .navbar-brand { | ||
color: #BDB5AB; | ||
} | ||
.navbar-inverse .navbar-nav>li>a { | ||
color: #BDB5AB; | ||
} | ||
.navbar-inverse .navbar-nav>.active>a { | ||
background-color: #033572; | ||
} | ||
.navbar-inverse .navbar-nav>.active:hover>a { | ||
background-color: #0069B4; | ||
} | ||
.list-group-item.active { | ||
background-color: #033572; | ||
border-color: #033572; | ||
} | ||
item.active, .list-group-item.active:hover { | ||
background-color: #0069B4; | ||
border-color: #0069B4; | ||
} | ||
|
||
|
||
.center { | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
width: 50%; | ||
.text-muted { | ||
color: #8f9c9d !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
test_that("use_chefStats errors when given function name that already exists", { | ||
testr::create_local_project() | ||
dump("n_subj", file = "R/test.R") | ||
expect_error(use_chefStats(fn_name = "n_subj",fn_type = "stat_by_strata_by_trt"),regexp = "The function name") | ||
|
||
}) |
Oops, something went wrong.