knit fails in block starting in line 1272
Opened this issue · 2 comments
dicook commented
running manually it has a problem at:
smart_harmony <- smart_meter10 %>%
- filter(customer_id %in% c(10017936)) %>%
- rank_harmony(harmony_tbl = harmonies,response = "general_supply_kwh")%>%
- rename(
facet variable
= facet_variable, -
`x-axis variable` = x_variable,
-
`facet levels` = facet_levels,
-
`x-axis levels` = x_levels,
-
`average maximum variation` = mean_max_variation)
Values in general_supply_kwh
are not uniquely identified; output will contain list-cols.
- Use
values_fn = list(general_supply_kwh = list)
to suppress this warning.
....
Sayani07 commented
This chunk throws a warning message which implies it needs to be stated explicitly that each element of the tibble is a list while using pivot_wider. The warning is not there when I include values_fn = list( general_Supply_kwh = list)), but values_fn = list( x = list)) shows the warning message if x is the argument of a function. Working on it.
Does your knit fail or just show this warning?
dicook commented
It fails
… On 3 Apr 2020, at 9:29 am, Sayani Gupta ***@***.***> wrote:
This chunk throws a warning message which implies it needs to be stated explicitly that each element of the tibble is a list while using pivot_wider. The warning is not there when I include values_fn = list( general_Supply_kwh = list)), but values_fn = list( x = list)) shows the warning message if x is the argument of a function. Working on it.
Does your knit fail or just show this warning?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#25 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAB52B6JL2RN5O7G2CZTSR3RKUGVTANCNFSM4L27MPPQ>.
---------------------------
Di Cook
visnut@gmail.com