I'm trying to run a complex (and confidential) package that I use for work. I've run the package many times in the past, but am not able to run it now (in the interim, I likely updated R Studio and/or my installed packages). My coworkers are able run the package on their machines while using previous versions of the packages.
Tidyverse is a required package for the package that I am trying to use and is attached when I run the custom package (that was developed by a contractor for my company long before I joined who has since left). I'm able to match/load previous versions of the all tidyverse packages except for dplyr. I'm using 1.0.10 and my coworkers are using 1.0.8, but I get a tidyverse error message that it is no longer supporting versions of dplyr before 1.0.10.
Any thoughts on how I might go about debugging? I know that it's difficult without example code, but unfortunately I am not able to create a synthetic version and share.
I've tried debugging if it's a masking issue by using the conflicted package (i.e. conflict_prefer("mutate", "dplyr") and incorporating syntax (i.e. dplyr::mutate) throughout the function/script that is getting the error.
The error that I'm getting is:
Error in
mutate()
:
! Problem while computing*calculatedfield*= pmap(...)
. Caused by error ingather()
: ! Can't subset columns that don't exist. x Columns2020
,2021
,2022
,2023
,2024
, etc. don't exist. (These columns are present when running the script line by line and unnesting the tibble)