generated from pharmaverse/admiraltemplate
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #1 replacing admiraltemplate files * #1 update more files * #1 chore: amend failed checks * #1 chore: failed checks * #1 fix styler check * Update inst/templates/ad_adxx.R Co-authored-by: Stefan Bundfuss <[email protected]> * #1 updates following review * #1 updated imported packages * #1 updated namespace * #1 updates to packages in description * #1 updated wordlist order * #1 updated namespace * Update _pkgdown.yml --------- Co-authored-by: Stefan Bundfuss <[email protected]>
- Loading branch information
1 parent
f8356a1
commit fe78d4e
Showing
18 changed files
with
112 additions
and
158 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
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,8 +2,9 @@ | |
# Validate Links | ||
|
||
https://packagemanager.rstudio.com/cran/linux/focal/latest | ||
https://github.com/pharmaverse/admiraltemplate/blob/main/ | ||
https://github.com/pharmaverse/admiralmetabolic/blob/main/ | ||
irongut/[email protected] | ||
insightsengineering/[email protected] | ||
https://packagemanager.rstudio.com/cran/__linux__/focal/latest | ||
tj-actions/[email protected] | ||
https://pharmaverse.github.io/admiralmetabolic |
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,4 +1,4 @@ | ||
# admiraltemplate 0.1.0 | ||
# admiralmetabolic 0.1.0 | ||
|
||
- Initial package release focused on `<<ADD INITIAL SCOPE>>` | ||
|
||
|
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,6 +0,0 @@ | ||
#' xx Dataset | ||
#' | ||
#' An xx test dataset for xx | ||
#' @keywords datasets | ||
#' @family datasets | ||
"xx" | ||
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,67 +1,74 @@ | ||
<!-- Please do not edit the README.md file as it is auto-generated after PR merges. Only edit the README.Rmd file --> | ||
<!-- The purpose of this is to enable dynamic links using dyn_link function above to access devel/main admiral homepage respectively --> | ||
<!-- To test this in your feature branch use code: rmarkdown::render("README.Rmd", output_format ="md_document") --> | ||
|
||
# admiral package extension Template <img src="man/figures/logo.png" align="right" width="200" style="margin-left:50px;"/> | ||
|
||
<!-- badges: start --> | ||
|
||
[<img src="http://pharmaverse.org/shields/admiral.svg">](https://pharmaverse.org) | ||
[![CRAN | ||
status](https://www.r-pkg.org/badges/version/admiral)](https://CRAN.R-project.org/package=admiral) | ||
[![Test | ||
Coverage](https://raw.githubusercontent.com/pharmaverse/admiraltemplate/badges/main/test-coverage.svg)](https://github.com/pharmaverse/admiraltemplate/actions/workflows/code-coverage.yml) | ||
<!-- badges: end --> | ||
|
||
## Table of Contents | ||
|
||
- [Extension Expectations](#extension-expectations) | ||
- [What is included in the | ||
template](#what-is-included-in-the-template) | ||
- [Package Extension Guidance](#package-extension-guidance) | ||
- [Quick Start Guide for Template](#quick-start-guide-for-template) | ||
|
||
## Extension Expectations | ||
|
||
To be included as an `{admiral}` package extension we expect developers | ||
to adhere to the following standards: | ||
|
||
- [Code of | ||
Conduct](https://pharmaverse.github.io/admiral/CODE_OF_CONDUCT.html) | ||
- [Manifesto](https://pharmaverse.github.io/admiral/index.html?q=manifest#admiral-manifesto) | ||
- [Programming | ||
Strategy](https://pharmaverse.github.io/admiraldev/articles/programming_strategy.html) | ||
- Follow consistent workflow checks | ||
- A CRAN Release means 90% or greater test coverage | ||
|
||
We have developed this repository template in order to reduce the burden | ||
on developers to follow these standards. This template will also help to | ||
harmonize the `{admiral}` family of R packages, to ensure a consistent | ||
user experience and ease of installing and adopting all the packages. | ||
With this in mind, we expect the same core package dependencies and | ||
versions as used for `{admiral}`. | ||
|
||
## What is included in the template | ||
|
||
The repository template includes the following: | ||
|
||
- License file (Apache 2.0 - but company co-developers need to be | ||
added to copyright section) | ||
- Required folders (R; test; templates; vignettes; etc) | ||
- Set-up files (DESCRIPTION; NAMESPACE; etc) | ||
- Issue Templates (Bug Template; Feature Request; Documentation | ||
Request/Update; Onboarding) | ||
- Pull Request Template | ||
- Workflow actions (a selection of generic and specific CI/CD | ||
auto-checks) | ||
- Package badges (Test coverage; etc) | ||
- Branch protection rules | ||
|
||
## Package Extension Guidance | ||
|
||
For detailed information regarding the ethos of `{admiral}` package | ||
extensions and how to decide if you should set your own one up, please | ||
see our [Package Extension | ||
Guidance](https://pharmaverse.github.io/admiraldev/articles/package_extensions.html). | ||
You will also find details about team setup, suggested workflow and | ||
lessons learned from past package extensions. | ||
# admiralmetabolic <img src="man/figures/logo.png" align="right" width="200" style="margin-left:50px;"/> | ||
|
||
Metabolism extension package for ADaM in R Asset Library `{admiral}` | ||
|
||
## Purpose | ||
|
||
To provide a complementary (to `{admiral}`) toolbox that enables users | ||
to develop specifics for metabolic clinical trials. | ||
|
||
## Installation | ||
|
||
To install the latest development version of the package directly from | ||
GitHub use the following code: | ||
|
||
```r | ||
if (!requireNamespace("remotes", quietly = TRUE)) { | ||
install.packages("remotes") | ||
} | ||
|
||
remotes::install_github("pharmaverse/admiraldev") # This is a required dependency of {admiralmetabolic} | ||
remotes::install_github("pharmaverse/admiral") # This is a required dependency of {admiralmetabolic} | ||
remotes::install_github("pharmaverse/admiralmetabolic") | ||
``` | ||
|
||
### Dependencies | ||
|
||
The latest version of the package works with the latest versions of the | ||
packages stated in `DESCRIPTION`. | ||
|
||
If a previous version of the package should be used, it is recommended | ||
to use latest version of the dependencies at the point of time when the | ||
previous version of `{admiralmetabolic}` was released. | ||
|
||
## Scope | ||
|
||
- Build a toolbox of re-usable functions and utilities to create | ||
metabolism-specific ADaM datasets in R in a modular manner. | ||
- All functions are created based upon the ADaM Implementation Guide | ||
and aim to facilitate the programming of ADaM dataset standards. | ||
- Initially the package will focus on <insert focus>. | ||
|
||
## Expectations | ||
|
||
`{admiralmetabolic}` is expected to complement `{admiral}` and provide | ||
functions to help with the creation of analyses required | ||
for metabolic trial ADaMs. | ||
|
||
## References and Documentation | ||
|
||
- Please refer to the [References and | ||
Documentation](https://pharmaverse.github.io/admiral/index.html#references-and-documentation) | ||
|
||
## R Versions | ||
|
||
Here’s a summary of our strategy for this package related to R versions: | ||
|
||
- R versions for developers and users will follow the same as | ||
`{admiral}` core package. | ||
- For development the `main` branch of `{admiral}` core is used as a | ||
dependency. For releasing a new `{admiralmetabolic}` version it must run | ||
using the latest released `{admiral}` core version. | ||
|
||
## Contact | ||
|
||
We use the following for support and communications between user and | ||
developer community: | ||
|
||
- [Slack](https://pharmaverse.slack.com/) - for | ||
informal discussions, Q&A and building our user community. If you | ||
don't have access, use this | ||
[link](https://join.slack.com/t/pharmaverse/shared_invite/zt-yv5atkr4-Np2ytJ6W_QKz_4Olo7Jo9A) | ||
to join the pharmaverse Slack workspace | ||
- [GitHub Issues](https://github.com/pharmaverse/admiralmetabolic/issues) - | ||
for direct feedback, enhancement requests or raising bugs |
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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
Oops, something went wrong.