Skip to content

Commit

Permalink
Merge pull request #467 from katy-sadowski/katy__json_func
Browse files Browse the repository at this point in the history
Fix function reference in Shiny app; fix vignette build issues
  • Loading branch information
katy-sadowski authored Jul 26, 2023
2 parents f1a46fe + 17d8703 commit 1ce9925
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
17 changes: 9 additions & 8 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.github$
^LICENSE$
_pkgdown.yml/*
compare_versions
extras
^\.git
man-roxygen
_pkgdown.yml
deploy.sh
docs/*
extras/*
^doc$
^Meta$
compare_versions
.github
docs
^LICENSE$
^inst/doc/.*\.pdf$
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Authors@R: c(
Maintainer: Katy Sadowski <sadowski@ohdsi.org>
Description: An R package for assessing data quality in standardized OMOP Common Data Model data sources.
License: Apache License (>= 2)
Config/build/clean-inst-doc: FALSE
VignetteBuilder: knitr
Config/testthat/edition: 3
URL: https://github.com/OHDSI/DataQualityDashboard
Expand Down
3 changes: 1 addition & 2 deletions DataQualityDashboard.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ RnwWeave: Sweave
LaTeX: pdfLaTeX

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate,namespace,vignette
PackageRoxygenize: rd,collate,namespace
6 changes: 6 additions & 0 deletions extras/PackageMaintenance.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ rmarkdown::render("vignettes/Thresholds.Rmd",
number_sections = TRUE))
unlink("inst/doc/Thresholds.tex")

rmarkdown::render("vignettes/SqlOnly.Rmd",
output_file = "../inst/doc/SqlOnly.pdf",
rmarkdown::pdf_document(latex_engine = "pdflatex",
toc = TRUE,
number_sections = TRUE))
unlink("inst/doc/SqlOnly.tex")

pkgdown::build_site()
OhdsiRTools::fixHadesLogo()
Binary file added inst/doc/SqlOnly.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion inst/shinyApps/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ library(shiny)
server <- function(input, output, session) {
observe({
jsonPath <- Sys.getenv("jsonPath")
results <- convertJsonResultsFileCase(jsonPath, writeToFile = FALSE, targetCase = "camel")
results <- DataQualityDashboard::convertJsonResultsFileCase(jsonPath, writeToFile = FALSE, targetCase = "camel")
results <- jsonlite::parse_json(jsonlite::toJSON(results))
session$sendCustomMessage("results", results)
})
Expand Down

0 comments on commit 1ce9925

Please sign in to comment.