Skip to content

Commit

Permalink
Fixed missing docs and errors in roxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
azimov committed Jun 26, 2023
1 parent dc6b265 commit 61c56a7
Show file tree
Hide file tree
Showing 13 changed files with 121 additions and 15 deletions.
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export(cohortOverlapView)
export(compareCohortCharacterizationView)
export(conceptsInDataSourceView)
export(createCdDatabaseDataSource)
export(createCustomColDefList)
export(dataDiagnosticDrillServer)
export(dataDiagnosticDrillViewer)
export(dataDiagnosticHelperFile)
Expand Down Expand Up @@ -99,6 +100,10 @@ export(predictionSettingsViewer)
export(predictionValidationServer)
export(predictionValidationViewer)
export(predictionViewer)
export(readColDefsFromJSON)
export(resultTableServer)
export(resultTableViewer)
export(saveColDefsAsJSON)
export(sccsDiagnosticsSummaryServer)
export(sccsDiagnosticsSummaryViewer)
export(sccsHelperFile)
Expand Down
9 changes: 4 additions & 5 deletions R/heplers-componentsCreateCustomColDefList.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' @export
#'
#' @examples
#' createCustomColDefList(rawColNames = c("firstName", "lastName), niceColNames = c("First Name", "Last Name"), tooltipText = c("The person's first name", "The person's last name"))
#' createCustomColDefList(rawColNames = c("firstName", "lastName"), niceColNames = c("First Name", "Last Name"), tooltipText = c("The person's first name", "The person's last name"))
#'
createCustomColDefList <- function(rawColNames, niceColNames, tooltipText) {
withTooltip <- function(value, tooltip, ...) {
Expand Down Expand Up @@ -81,12 +81,11 @@ saveColDefsAsJSON <- function(colDefs, filename, path = "") {


#' Read reactable::colDefs froma JSON file
#'
#' @description Reads in a JSON file and saves it into the environment as a named list of colDefs
#' @param filename The dname of the input JSON file
#' @param path The path to where the JSON is located
#'
#' @return
#' @expors Reads in a JSON file and saves it into the environment as a named list of colDefs
#' @export
#' @return colDefs list
#'
readColDefsFromJSON <- function(filename, path = "") {
# Construct the file path
Expand Down
2 changes: 1 addition & 1 deletion inst/cohort-diagnostics-ref/migrations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ migrationFile,migrationOrder
Migration_1-v3_1_0_time_id.sql,1
Migration_2-v3_1_0_ir_person_years.sql,2
Migration_3-v3_2_0_suport_cohort_subsets.sql,3
Migration_4-v3_2_1_cohort_name_field.sql,4
Migration_4-v3_2_1_cohort_name_field.sql,4
2 changes: 1 addition & 1 deletion man/cohortGeneratorHelperFile.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/cohortGeneratorServer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/cohortGeneratorViewer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions man/createCustomColDefList.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions man/phevaluatorServer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/phevaluatorViewer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions man/readColDefsFromJSON.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions man/resultTableServer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions man/resultTableViewer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions man/saveColDefsAsJSON.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 61c56a7

Please sign in to comment.