尝试library(tidyverse)
接收
Error: package or namespace load failed for ‘tidyverse’ in
library.dynam(lib, package, package.lib): shared object ‘rlang.so’ not found
类似的问题是mentioned here
答案 0 :(得分:0)
对于我来说,我一直在错误消息中重新安装软件包(例如,问题中错误消息中的@Override
public int compareTo(DiscountCounts cust) {
int last = this.getName().compareTo(cust.getName());
return last == 0 ? this.getDiscount().compareTo(cust.getDiscount()) : last;
}
Map<DiscountCounts, Long> result1 = customerList.stream().collect(Collectors.groupingBy(
c -> new DiscountCounts(c.getName(), c.getDiscount()), TreeMap::new, Collectors.counting()));
,还有rlang
等)
我在本地删除了所有现有的库,只是重新安装了jsonlite
和我需要的其他库,问题得以完全解决。