diff --git a/.Rbuildignore b/.Rbuildignore index b67d985..d0d8dae 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -11,4 +11,5 @@ readme.md ^compare_versions ^deploy.sh ^docs -^man-roxygen \ No newline at end of file +^man-roxygen +^cran-comments\.md$ diff --git a/DESCRIPTION b/DESCRIPTION index fe1c5a9..982d97d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: CohortExplorer Type: Package -Title: An R package with a Shiny viewer to explore profiles of patients in a cohort -Version: 0.0.14 -Date: 2022-05-27 +Title: An R Package with a Shiny Viewer to Explore Profiles of Patients in a Cohort +Version: 0.0.15 +Date: 2023-09-06 Authors@R: c( person("Gowtham", "Rao", email = "rao@ohdsi.org", role = c("aut", "cre")), person("Observational Health Data Science and Informatics", role = c("cph")) @@ -22,10 +22,10 @@ Imports: stats Suggests: rmarkdown, + SqlRender, testthat, knitr, - withr, - SqlRender + withr License: Apache License RoxygenNote: 7.2.3 VignetteBuilder: knitr diff --git a/NEWS.md b/NEWS.md index 64d9906..003b970 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,9 @@ -CohortExplorer 0.0.13 +CohortExplorer 0.0.15 +====================== +Destination CRAN + + +CohortExplorer 0.0.14 ====================== Reduces the need to move data into R diff --git a/cran-comments.md b/cran-comments.md new file mode 100644 index 0000000..d24ee9b --- /dev/null +++ b/cran-comments.md @@ -0,0 +1,17 @@ +This is new release. + +--- + +## Test environments +* Ubuntu 20.04, R 4.3.1 +* Microsoft Windows Server 2016, R 4.2.3 +* MacOS, 4.3.1 +* Windows 10, R 4.3.1 + +## R CMD check results + +There were no ERRORs or WARNINGs. + +## Downstream dependencies + +All dependencies are in CRAN. \ No newline at end of file diff --git a/docs/404.html b/docs/404.html index 6e8584b..bdfedfa 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@ CohortExplorer - 0.0.14 + 0.0.15 diff --git a/docs/articles/HowToUseCohortExplorer.html b/docs/articles/HowToUseCohortExplorer.html index fb9b3da..82ebc06 100644 --- a/docs/articles/HowToUseCohortExplorer.html +++ b/docs/articles/HowToUseCohortExplorer.html @@ -33,7 +33,7 @@ CohortExplorer - 0.0.14 + 0.0.15 @@ -85,7 +85,7 @@

How to use Cohort Explorer

Gowtham A. Rao

-

2023-05-27

+

2023-09-06

Source: vignettes/HowToUseCohortExplorer.Rmd @@ -150,8 +150,8 @@

Creating the shiny application -

CohortExplorerShiny

+
+CohortExplorerShiny
CohortExplorerShiny

Inside that folder is the

Shiny App..

@@ -164,8 +164,8 @@

How to run app locally -
-

Shiny::runApp()

+
+Shiny::runApp()
Shiny::runApp()
diff --git a/docs/authors.html b/docs/authors.html index 5874b75..8a8b670 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -17,7 +17,7 @@ CohortExplorer - 0.0.14 + 0.0.15 diff --git a/docs/index.html b/docs/index.html index 224eec6..899f341 100644 --- a/docs/index.html +++ b/docs/index.html @@ -33,7 +33,7 @@ CohortExplorer - 0.0.14 + 0.0.15 @@ -115,8 +115,8 @@

Features

Screenshot

-
-

CohortExplorer Shiny app screenshot

+
+CohortExplorer Shiny app screenshot
CohortExplorer Shiny app screenshot
diff --git a/docs/news/index.html b/docs/news/index.html index dfdaa98..0b88346 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -17,7 +17,7 @@ CohortExplorer - 0.0.14 + 0.0.15
@@ -61,11 +61,15 @@

Changelog

- + +

Destination CRAN

+
+
+

Reduces the need to move data into R

- +

Support temp cohort table Updates tests

diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index a67e37c..081d82f 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -1,7 +1,7 @@ -pandoc: 2.19.2 +pandoc: 3.1.1 pkgdown: 2.0.7 pkgdown_sha: ~ articles: HowToUseCohortExplorer: HowToUseCohortExplorer.html -last_built: 2023-05-27T11:27Z +last_built: 2023-09-06T10:21Z diff --git a/docs/pull_request_template.html b/docs/pull_request_template.html index 2cb239b..6681033 100644 --- a/docs/pull_request_template.html +++ b/docs/pull_request_template.html @@ -17,7 +17,7 @@ CohortExplorer - 0.0.14 + 0.0.15
diff --git a/docs/reference/CohortExplorer-package.html b/docs/reference/CohortExplorer-package.html index 049ffa0..d5ef74d 100644 --- a/docs/reference/CohortExplorer-package.html +++ b/docs/reference/CohortExplorer-package.html @@ -17,7 +17,7 @@ CohortExplorer - 0.0.14 + 0.0.15 diff --git a/docs/reference/createCohortExplorerApp.html b/docs/reference/createCohortExplorerApp.html index 4ab81e1..1836734 100644 --- a/docs/reference/createCohortExplorerApp.html +++ b/docs/reference/createCohortExplorerApp.html @@ -18,7 +18,7 @@ CohortExplorer - 0.0.14 + 0.0.15 diff --git a/docs/reference/exportCohortExplorerAppFiles.html b/docs/reference/exportCohortExplorerAppFiles.html index c4f9fac..672e704 100644 --- a/docs/reference/exportCohortExplorerAppFiles.html +++ b/docs/reference/exportCohortExplorerAppFiles.html @@ -17,7 +17,7 @@ CohortExplorer - 0.0.14 + 0.0.15 diff --git a/docs/reference/index.html b/docs/reference/index.html index 659e724..2cbe47e 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -17,7 +17,7 @@ CohortExplorer - 0.0.14 + 0.0.15 diff --git a/extras/CohortExplorer.pdf b/extras/CohortExplorer.pdf index 4b0fa3f..d9360bf 100644 Binary files a/extras/CohortExplorer.pdf and b/extras/CohortExplorer.pdf differ diff --git a/extras/PackageMaintenance.R b/extras/PackageMaintenance.R index 70c6b8a..252d5f3 100644 --- a/extras/PackageMaintenance.R +++ b/extras/PackageMaintenance.R @@ -19,9 +19,14 @@ styler::style_pkg() OhdsiRTools::checkUsagePackage("CohortExplorer") OhdsiRTools::updateCopyrightYearFolder() +# Devtools check ----------------------------------------------------------- +devtools::spell_check() +devtools::check() + # Create manual ----------------------------------------------------------- unlink("extras/CohortExplorer.pdf") shell("R CMD Rd2pdf ./ --output=extras/CohortExplorer.pdf") +dir.create(path = file.path("inst", "doc"), showWarnings = FALSE, recursive = TRUE) # Create Vignettes--------------------------------------------------------- rmarkdown::render("vignettes/HowToUseCohortExplorer.Rmd", @@ -32,5 +37,14 @@ rmarkdown::render("vignettes/HowToUseCohortExplorer.Rmd", # Build site--------------------------------------------------------- +devtools::document() pkgdown::build_site() OhdsiRTools::fixHadesLogo() + + + +# Release package to CRAN ------------------------------------------------------ +devtools::check_win_devel() +devtools::check_rhub() +devtools::release() +devtools::check(cran=TRUE) diff --git a/inst/doc/HowToUseCohortExplorer.pdf b/inst/doc/HowToUseCohortExplorer.pdf index d9c7269..9342abb 100644 Binary files a/inst/doc/HowToUseCohortExplorer.pdf and b/inst/doc/HowToUseCohortExplorer.pdf differ diff --git a/man/CohortExplorer-package.Rd b/man/CohortExplorer-package.Rd index 83fd6fa..5e08439 100644 --- a/man/CohortExplorer-package.Rd +++ b/man/CohortExplorer-package.Rd @@ -4,7 +4,7 @@ \name{CohortExplorer-package} \alias{CohortExplorer} \alias{CohortExplorer-package} -\title{CohortExplorer: An R package with a Shiny viewer to explore profiles of patients in a cohort} +\title{CohortExplorer: An R Package with a Shiny Viewer to Explore Profiles of Patients in a Cohort} \description{ An R package with a Shiny viewer to explore profiles of patients in a cohort. }