metrumresearchgroup / expo1-nonmem-foce

An example population pharmacokinetic (pop PK) NONMEM analysis using a MetrumRG Ecosystem (MeRGE) workflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use all_of() in ys_select

kylebaron opened this issue · comments

https://merge.metrumrg.com/expo/expo1-nonmem-foce/posts/model-diagnostics.html#eta-vs-categorical-covariate

Warning: Using an external vector in selections was deprecated in tidyselect 1.1.0.
ℹ Please use all_of() or any_of() instead.

Was:

data %>% select(diagCatCov)

Now:

data %>% select(all_of(diagCatCov))

See https://tidyselect.r-lib.org/reference/faq-external-vector.html.