You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One is considered a hack: ## quiets concerns of R CMD check re: the .'s that appear in pipelines if(getRversion() >= "2.15.1") utils::globalVariables(c(".")).
The other is considered the proper fix by using @importfrom r lang .data. Then apply the .data to the expression (e.g., df %>% filter(.data$a > 5)).
Naturally we would want to use the hack, but it maybe best to take the long way out and use the proper fix.
https://www.r-bloggers.com/2019/08/no-visible-binding-for-global-variable/
Undefined global functions or variables:
. ..byvar_cols ..day_subset_cols ..n_idcols ..n_wtcols
..selected_cols ..subset_cols ..trip_subset_cols as.integer64 binned
data_type day day_id day_weight description est hh hh_id hts_data
i.description is_checkbox mode_1 mode_type num_checked num_trips
person person_id prop quantile shared_name str_extract_all
str_split_i trip trip_id trip_rate trip_weight value value_labels
variable variable_list variables_list vehicle vehicle_id weight
Consider adding
importFrom("stats", "quantile")
importFrom("utils", "person")
to your NAMESPACE file.
The text was updated successfully, but these errors were encountered: