[x] The use of .data$ in tidyselect functions have been deprecated since tidyselect v1.2.0. Initially, references were made due to Notes generated during devtools::check() for unknown global variables. The preference is to wrap the column name in quotes for select() statements. However, .data$ has not been deprecated in mutate() statements. The solution is to remove any .data$ references within select statements.
[x] An error arises when running generate_dr_ppt2() because some calls to fp_text() is not directly referencing the package officer. The solution is to replace these with officer::fp_text() instead.
There are two key issues addressed:
.data$
intidyselect
functions have been deprecated sincetidyselect v1.2.0
. Initially, references were made due to Notes generated duringdevtools::check()
for unknown global variables. The preference is to wrap the column name in quotes forselect()
statements. However,.data$
has not been deprecated inmutate()
statements. The solution is to remove any.data$
references within select statements.generate_dr_ppt2()
because some calls tofp_text()
is not directly referencing the package officer. The solution is to replace these withofficer::fp_text()
instead.