I tried installing ggplot2 and it says successfully unpacked. However when I call the library function library ("ggplot2"), the following error message shows:
Error: package or namespace load failed for ‘ggplot2’ in namespaceExport(ns, exports):
undefined exports: align, colonnade, dim_desc, expect_known_display, extra_cols, format_type_sum, get_extent, get_max_extent, is_vector_s3, new_ornament, new_pillar_shaft, new_pillar_shaft_simple, new_pillar_title, new_pillar_type, obj_sum, pillar, pillar_shaft, squeeze, style_bold, style_na, style_neg, style_num, style_subtle, style_subtle_num, type_sum
In addition: Warning messages:
1: In loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
package ‘pillar’ has no 'package.rds' in Meta/
2: S3 methods ‘extra_cols.pillar_squeezed_colonnade’, ‘format.pillar’, ‘format.pillar_capital’, ‘format.pillar_colonnade’, ‘format.pillar_empty_shaft’, ‘format.pillar_rif_shaft’, ‘format.pillar_rif_title’, ‘format.pillar_rif_type’, ‘format.pillar_shaft’, ‘format.pillar_shaft_decimal’, ‘format.pillar_shaft_simple’, ‘format.pillar_squeezed_colonnade’, ‘format.pillar_title’, ‘format.pillar_type’, ‘format_type_sum.default’, ‘is_vector_s3.default’, ‘obj_sum.AsIs’, ‘obj_sum.POSIXlt’, ‘obj_sum.default’, ‘obj_sum.list’, ‘pillar_shaft.AsIs’, ‘pillar_shaft.Date’, ‘pillar_shaft.POSIXt’, ‘pillar_shaft.character’, ‘pillar_shaft.default’, ‘pillar_shaft.factor’, ‘pillar_shaft.list’, ‘pillar_shaft.logical’, ‘pillar_shaft.numeric’, ‘pillar_shaft.pillar_empty_col’, ‘pillar_shaft.pillar_vertical’, ‘pillar_shaft.vctrs_list_of’, ‘pillar_shaft.vctrs_vctr’, ‘print.pillar’, ‘print.pillar_colonnade’, ‘print.pillar_ornament’, ‘print.pillar_shaft’, ‘print.pillar_squeezed_colonnade’, ‘print.pillar_vertical’, ‘type_s [... truncated]
Can someone help out with this?