Recently, the following error message(s) are printed in the R console window immediately after I open R-studio (v1.1.463).
Loading required package: sp
Error in if (more || nchar(output) > 80) { :
missing value where TRUE/FALSE needed
Error in if (more || nchar(output) > 80) { :
missing value where TRUE/FALSE needed
Error in if (more || nchar(output) > 80) { :
missing value where TRUE/FALSE needed
If I run R (v3.5.1) from the R Gui this error message doesn't appear, so it seems like this is an R-studio issue. This error also is generated when using the Object Explorer (e.g. for when you call View() on a list) on a spatial[points, line, polygon]dataframe objects.
I've tried uninstalling and reinstalling both R and R-studio, but the problem persists. I also tried uninstalling and reinstalling package 'sp', but this did not solve the problem either. Neither did updating all packages.
Anyone have any idea what is causing this problem and how to fix it?