diff --git a/.Rbuildignore b/.Rbuildignore index f3b0ea8..6274d93 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -14,3 +14,4 @@ Rplots.pdf ^CRAN-RELEASE$ ^\.github$ ^codecov\.yml$ +.claude/ diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml deleted file mode 100644 index 2c5bb50..0000000 --- a/.github/workflows/test-coverage.yaml +++ /dev/null @@ -1,50 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: - push: - branches: [main, master] - pull_request: - branches: [main, master] - -name: test-coverage - -jobs: - test-coverage: - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - - steps: - - uses: actions/checkout@v3 - - - uses: r-lib/actions/setup-r@v2 - with: - use-public-rspm: true - - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::covr - needs: coverage - - - name: Test coverage - run: | - covr::codecov( - quiet = FALSE, - clean = FALSE, - install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package") - ) - shell: Rscript {0} - - - name: Show testthat output - if: always() - run: | - ## -------------------------------------------------------------------- - find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true - shell: bash - - - name: Upload test results - if: failure() - uses: actions/upload-artifact@v3 - with: - name: coverage-test-failures - path: ${{ runner.temp }}/package diff --git a/R/vpc-package.R b/R/vpc-package.R index 684acff..f9f0792 100644 --- a/R/vpc-package.R +++ b/R/vpc-package.R @@ -1,12 +1,7 @@ -#' VPC package -#' -#' Create Visual Predictive Checks in R -#' -#' @docType package -#' @name vpc-package -#' @author Ron Keizer \email{ronkeizer@@gmail.com} +#' @keywords internal #' @importFrom stats density median model.matrix na.omit quantile rnorm rweibull step time #' @importFrom utils head read.table tail +"_PACKAGE" ## to avoid warnings related to dplyr/ggplot usage: globalVariables(c(".", "comp", "strat", "strat2", "bin", "pred", "dv", "idv", "q5", "q50", diff --git a/man/vpc-package.Rd b/man/vpc-package.Rd index 5de04b1..c048ce4 100644 --- a/man/vpc-package.Rd +++ b/man/vpc-package.Rd @@ -2,12 +2,25 @@ % Please edit documentation in R/vpc-package.R \docType{package} \name{vpc-package} -\alias{-package} \alias{vpc-package} -\title{VPC package} +\title{vpc: Create Visual Predictive Checks} \description{ -Create Visual Predictive Checks in R +Visual predictive checks are a commonly used diagnostic plot in pharmacometrics, showing how certain statistics (percentiles) for observed data compare to those same statistics for data simulated from a model. The package can generate VPCs for continuous, categorical, censored, and (repeated) time-to-event data. +} +\seealso{ +Useful links: +\itemize{ + \item \url{https://github.com/ronkeizer/vpc} +} + } \author{ -Ron Keizer \email{ronkeizer@gmail.com} +\strong{Maintainer}: Ron Keizer \email{ronkeizer@gmail.com} + +Authors: +\itemize{ + \item Bill Denney \email{wdenney@humanpredictions.com} (\href{https://orcid.org/0000-0002-5759-428X}{ORCID}) +} + } +\keyword{internal}