Open stefaniebutland opened 1 month ago
I realize this is likely a "me" issue.
yep. A "me" issue. Cohort name did not match what I had in CohortRegistry
Sean can you give a helpful error message for this scenario? (pls don't add to Main till I have completed making repos)
My error was CohortRegistry sheet said cohort_name = 2024-noaa-a
but I told kyber to look for params: cohort_name: "2024-nmfs-a"
. Would be ideal if error message indicated a mismatch between these
Hey sorry I am just getting here now! Can do.
Encountered another example error, this time when there's a mismatch between cohort_name
in CohortRegistry sheet and cohort_id
. Could there be a check at start that cohort_id
given to kyber matches a cohort name in registry?
Example with error in cohort_id
kyber::call_agenda(
registry_url = "link to registry",
cohort_id = "2021-nmfs-champions-a",
call_number = 1)
Error msg:
✔ Reading from OpenscapesChampionsCohortRegistry.
✔ Range ''cohort_metadata''.
New names:
• `` -> `...14`
• `` -> `...15`
• `` -> `...16`
• `` -> `...17`
• `` -> `...18`
• `` -> `...19`
• `` -> `...20`
• `` -> `...21`
✔ Reading from OpenscapesChampionsCohortRegistry.
✔ Range ''call_metadata''.
Error in `filter()`:
ℹ In argument: `cohort_type == cohort_type_`.
Caused by error:
! `..1` must be of size 4 or 1, not size 0.
Run `rlang::last_trace()` to see where the error occurred.
@seankross I got the following error msg when I tried to knit README.Rmd after
create_readme
. I'm stumped. Any help appreciated.Error msg
sessionInfo