[R] Tidyverse package error

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Mon Oct 20 20:04:07 CEST 2025


Hello,

Inline.

On 10/20/2025 7:50 AM, Eric Berger wrote:
> Try running
> dplyr::pivot_wider()

Actually, it's tidyr::pivot_wider().


Hope this helps,

Rui Barradas>
> Sent from my iPhone
> 
>> On 20 Oct 2025, at 9:37, Davis Willsie via R-help <r-help using r-project.org> wrote:
>>
>> I have the tidyverse and tidyr packages both installed and running on R
>> studio and I even ran the library command, and it worked, but there's when
>> I try and run a tidyverse command I get the error,
>> Error in pivot_wider(BirthData, names_from = OSHPDID, values_form = Rate) :
>> could not find function "pivot_wider"
>> Which shouldn't be possible because I have Tidyverse installed, and it runs
>> when I use the library function. I know that all of my inputs work because
>> I've tested the code amongst my peers, who packages do work and the code
>> works for them, just not for me. I believe it's an installation problem, is
>> there anyway I can fix this error?
>> Thank you!
>>
>>     [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list