-
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.
Merge branch 'release-0.1.5' into github-main
- Loading branch information
Showing
22 changed files
with
566 additions
and
258 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 |
---|---|---|
@@ -1,5 +1 @@ | ||
source("renv/activate.R") | ||
|
||
if (Sys.getenv("LOAD_MONITOS_PACKAGE") == "true") { | ||
devtools::load_all(".") | ||
} |
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 |
---|---|---|
@@ -0,0 +1,97 @@ | ||
stages: # List of stages for jobs, and their order of execution | ||
- setup | ||
- check | ||
- coverage | ||
- rhub | ||
- shiny | ||
- deploy_pages | ||
|
||
before_script: ## Check this part | ||
|
||
- export http_proxy=http://proxy.eu.novartis.net:2010/ | ||
- export https_proxy=http://proxy.eu.novartis.net:2010/ | ||
- export NOT_CRAN=true | ||
- export CCACHE_DIR=/tmp | ||
- export PATH=/usr/lib/ccache:$PATH | ||
|
||
|
||
# <DON'T REMOVE!> | ||
variables: | ||
RENV_PATHS_CACHE: "~/.renv/cache" | ||
RENV_PATHS_LIBRARY_ROOT: "~/.renv/library" | ||
|
||
# <DON'T REMOVE!> | ||
cache: | ||
key: ${CI_JOB_NAME} | ||
paths: | ||
- ${RENV_PATHS_CACHE} | ||
- ${RENV_PATHS_LIBRARY} | ||
|
||
Setup: | ||
stage: setup | ||
script: | ||
- > | ||
if [ ! -d "$RENV_PATHS_CACHE" ]; then | ||
mkdir -p $RENV_PATHS_CACHE; | ||
echo "Installing RENV_PATHS_CACHE in ${RENV_PATHS_CACHE}..."; | ||
fi | ||
- Rscript -e "if (!requireNamespace('renv', quietly = TRUE)) install.packages('renv');" | ||
- Rscript -e "renv::restore();" | ||
|
||
Check: | ||
stage: check | ||
allow_failure: true | ||
script: | ||
- Rscript -e "if (!requireNamespace('devtools', quietly = TRUE)) install.packages('devtools');" | ||
- Rscript -e 'devtools::check()' | ||
|
||
Coverage: | ||
stage: coverage | ||
only: | ||
- main | ||
- dev | ||
allow_failure: true | ||
script: | ||
- Rscript -e "if (!requireNamespace('covr', quietly = TRUE)) install.packages('covr');" | ||
- Rscript -e "if (!requireNamespace('DT', quietly = TRUE)) install.packages('DT');" | ||
- Rscript -e 'covr::gitlab(quiet = FALSE)' | ||
|
||
RHUB: | ||
stage: rhub | ||
only: | ||
- main | ||
- dev | ||
script: | ||
- Rscript -e "if (!requireNamespace('devtools', quietly = TRUE)) install.packages('devtools');" | ||
- Rscript -e "if (!requireNamespace('rhub', quietly = TRUE)) install.packages('rhub');" | ||
- Rscript -e "rhub::validate_email(email = $RHUB_EMAIL, token = $RHUB_TOKEN);" | ||
- Rscript -e "devtools::check_rhub()" | ||
|
||
Shiny: | ||
stage: shiny | ||
only: | ||
- shiny | ||
allow_failure: true | ||
script: | ||
- Rscript -e 'source("inst/shiny/deploy.R"); deploy_app_rsc()' | ||
|
||
pages: | ||
stage: deploy_pages | ||
script: | ||
- echo "We are on branch $CI_COMMIT_REF_NAME" | ||
- mkdir -p public/$CI_COMMIT_REF_NAME | ||
- Rscript -e "if (!requireNamespace('pkgdown', quietly = TRUE)) install.packages('pkgdown');" | ||
- Rscript -e "if (!requireNamespace('devtools', quietly = TRUE)) install.packages('devtools');" | ||
- Rscript -e "devtools::build('.')" | ||
- export LOAD_MONITOS_PKG=TRUE | ||
- Rscript -e "pkgdown::build_site(override = list(destination = 'public/$CI_COMMIT_REF_NAME'))" | ||
artifacts: | ||
name: "$CI_COMMIT_REF_NAME" | ||
paths: | ||
- public | ||
expire_in: never | ||
only: | ||
- dev | ||
- main | ||
except: | ||
- schedules |
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,3 +1,3 @@ | ||
Version: 0.1.4 | ||
Date: 2024-03-05 15:50:18 UTC | ||
SHA: 1c522f9d25643b3a09c626ef648e0b56dc08c27a | ||
Version: 0.1.5 | ||
Date: 2024-03-21 19:08:12 UTC | ||
SHA: 0e0bf2cda5fea0dfd200beed7efd144d2f096ca8 |
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 +1,7 @@ | ||
Package: monitOS | ||
Title: Monitoring Overall Survival in Pivotal Trials in Indolent Cancers | ||
Version: 0.1.4 | ||
URL: https://opensource.nibr.com/monitOS/ | ||
Version: 0.1.5 | ||
Authors@R: c( | ||
person("Thomas", "Fleming", email = "[email protected]", role ="ctb"), | ||
person("Lisa", "Hampson", email = "[email protected]", role ="aut"), | ||
|
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,10 +1,18 @@ | ||
# monitOS 0.1.5 | ||
|
||
- Improved `DESCRIPTION`, added website URL, screenshot Shiny app | ||
- Improved `README` | ||
- Improved code style using `styler` | ||
- Fixed bug deploying `Shiny` app (relative import error) | ||
- Fixed package coverage by focusing only on statistical tool (no shiny app) | ||
|
||
# monitOS 0.1.4 | ||
|
||
- Added a `NEWS.md` file to track changes to the package. | ||
- Added `Shiny` section in `README.md` file. | ||
- Improved `monitOS::run_app()`: new layout, new descriptions, new use case. | ||
- Created `pkgdown` public website. | ||
|
||
# monitOS 0.1.3 | `2023-10-31` | ||
# monitOS 0.1.3 | ||
|
||
- Initial CRAN submission. |
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
Oops, something went wrong.