Package list error in Rstudio


Everytime I start or restart RStudio, I seem to have an error when it looks at the list of packages.
This text will be hidden

Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE,  : 
  arguments imply differing number of rows: 263, 262

This error shows up practically everytime I try install a package or look at the list of packages in the Rstudio "packages" frame. The only time I've been able to get rid of it is when I start with a fresh user library. This makes me suspect that there is some package that isn't being registered appropriately. I'm not even sure how to debug this.

How to recreate:



I've no idea about the cause of the error, but in terms of debugging, I would go down the following route:



to see the different directories that R looks at.

Then I would gradually build the number of directories checked up by using the R_LIBS environment variable in the .Renviron file. For example,


Unable to install olsrr in RStudio but I can install it in R

I was able to get a traceback on the error. And it looks like one of the packages that I have installed is missing a "Title" element. I'm not really sure how to adjudicate which!


I figured this out. Basically, one of my custom packages didn't have a Title field in it's desciption file. I fixed that and the error went away.