what different variable type are you referring to ?
I can only reproduce your one line result if I entirely omit group_by from the code. otherwise, it is grouping.
> getAnywhere(group_by)
A single object matching ‘group_by’ was found
It was found in the following places
package:dplyr
namespace:dplyr
with value
function (.data, ..., .add = FALSE, .drop = group_by_drop_default(.data))
{
UseMethod("group_by")
}
<bytecode: 0x7fd68f036bc8>
<environment: namespace:dplyr>
your code is substantially different from my code, because brackets are extremely important.
if you want df to be a tibble close the bracket before the first pipe.
the fact that you are doing elaborate manipulations within a tibble creation call is producing anomalous outcomes.
I do not understand. I have now used the same brackets you used. But the result always remains different. my config produces a 1x1 df and doesn't report me the ID
I SOLVED THE PROBLEM.
for all users who will read this problem, I solved it by restarting the computer. I noticed that the software asked me to set the time system (in my case I set UTF-8). After the reboot everything worked.
thanks to #nirgrahamuk for helping me with this problem. I am available for anything