Skip to content

Commit

Permalink
update noun phrase for derived task IDs
Browse files Browse the repository at this point in the history
This will fix #186
see also hubverse-org/hubDocs#222
  • Loading branch information
zkamvar committed Jan 2, 2025
1 parent def750c commit 00db9c5
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion R/check_tbl_values_required.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' @export
#' @details
#' Note that it is **necessary for `derived_task_ids` to be specified if any of
#' the task IDs a derived task ID depends on have required values**. If this is the
#' the task IDs with `required` values have dependent derived task IDs**. If this is the
#' case and derived task IDs are not specified, the dependent nature of derived
#' task ID values will result in **false validation errors when validating
#' required values**.
Expand Down
10 changes: 5 additions & 5 deletions R/validate_model_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
#' @inherit validate_model_file return
#' @export
#' @details
#' Note that it is **necessary for `derived_task_ids` to be specified if any of
#' the task IDs a derived task ID depends on have required values**. If this is the
#' case and derived task IDs are not specified, the dependent nature of derived
#' task ID values will result in **false validation errors when validating
#' required values**.
#' Note that it is **necessary for `derived_task_ids` to be specified if any
#' task IDs with `required` values have dependent derived task IDs**. If this
#' is the case and derived task IDs are not specified, the dependent nature of
#' derived task ID values will result in **false validation errors when
#' validating required values**.
#'
#' Details of checks performed by `validate_model_data()`
#'
Expand Down
10 changes: 5 additions & 5 deletions R/validate_pr.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
#' determined relative to a reference date and not when explicit submission
#' window start and end dates are provided in the config.
#'
#' Finally, note that it is **necessary for `derived_task_ids` to be specified if any of
#' the task IDs a derived task ID depends on have required values**. If this is the
#' case and derived task IDs are not specified, the dependent nature of derived
#' task ID values will result in **false validation errors when validating
#' required values**.
#' Finally, note that it is **necessary for `derived_task_ids` to be specified if any
#' task IDs with `required` values have dependent derived task IDs**. If this
#' is the case and derived task IDs are not specified, the dependent nature of
#' derived task ID values will result in **false validation errors when
#' validating required values**.
#'
#' ### Checks on model output files
#'
Expand Down
10 changes: 5 additions & 5 deletions R/validate_submission.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
#' provided in the hub's config.
#' @export
#' @details
#' Note that it is **necessary for `derived_task_ids` to be specified if any of
#' the task IDs a derived task ID depends on have required values**. If this is the
#' case and derived task IDs are not specified, the dependent nature of derived
#' task ID values will result in **false validation errors when validating
#' required values**.
#' Note that it is **necessary for `derived_task_ids` to be specified if any
#' task IDs with `required` values have dependent derived task IDs**. If this
#' is the case and derived task IDs are not specified, the dependent nature of
#' derived task ID values will result in **false validation errors when
#' validating required values**.
#'
#' Details of checks performed by `validate_submission()`
#'
Expand Down
2 changes: 1 addition & 1 deletion man/check_tbl_values_required.Rd

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

10 changes: 5 additions & 5 deletions man/validate_model_data.Rd

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

10 changes: 5 additions & 5 deletions man/validate_pr.Rd

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

10 changes: 5 additions & 5 deletions man/validate_submission.Rd

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

2 changes: 1 addition & 1 deletion vignettes/articles/validate-pr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ With standard validation, derived task IDs like `target_end_date` tend to pollut

<div class="alert alert-warning" role="alert">

Note that, **if any of the task IDs a derived task ID depends on have required values, it is essential for `derived_task_ids` to be specified**.
Note that, **if any task IDs with `required` values have dependent derived task IDs, it is essential for `derived_task_ids` to be specified**.
If this is the case and derived task IDs are not specified, the dependent nature of derived task ID values will result in **false validation errors when validating required values**.

</div>
Expand Down
2 changes: 1 addition & 1 deletion vignettes/articles/validate-submission.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Depending on config complexity, this **can often lead to a significant improveme

<div class="alert alert-warning" role="alert">

Note that, **if any of the task IDs a derived task ID depends on have required values, it is essential for `derived_task_ids` to be specified**.
Note that, **if any task IDs with `required` values have dependent derived task IDs, it is essential for `derived_task_ids` to be specified**.
If this is the case and derived task IDs are not specified, the dependent nature of derived task ID values will result in **false validation errors when validating required values**.

If you're unsure if this is the case for your hub or which task IDs are derived, please consult the hub documentation or contact the hub administrators.
Expand Down

0 comments on commit 00db9c5

Please sign in to comment.