简体   繁体   English

S3 方法已在 NAMESPACE 中声明,但未在 R 中找到

[英]S3 methods were declared in NAMESPACE but not found for R

I am trying to install tidyverse and to load it.我正在尝试安装 tidyverse 并加载它。 While doing so facing the following issue of S3 methods were declared but not found in NAMESPACE这样做时面临以下 S3 方法的问题已声明但未在 NAMESPACE 中找到

library(tidyverse)
 undefined exports: abline, arrows, assocplot, axTicks, Axis, axis, axis.Date, axis.POSIXct, barplot, box, boxplot, bxp, cdplot, clip, close.screen, co.intervals, contour, coplot, curve, dotchart, erase.screen, filled.contour, fourfoldplot, frame, grconvertX, grconvertY, grid, hist, identify, image, layout, layout.show, lcm, legend, lines, locator, matlines, matplot, matpoints, mosaicplot, mtext, pairs, panel.smooth, par, persp, pie, plot.design, plot.function, plot.new, plot.window, plot.xy, points, polygon, polypath, rasterImage, rect, rug, screen, segments, smoothScatter, spineplot, split.screen, stars, stem, strheight, stripchart, strwidth, sunflowerplot, symbols, text, title, xinch, xspline, xyinch, yinch, .filled.contour, barplot.default, boxplot.default, boxplot.matrix, contour.default, hist.default, image.default, lines.default, pairs.default, plot.default, points.default, text.default
In addition: Warning message:
S3 methods ‘Axis.default’, ‘Axis.Date’, ‘Axis.POSIXt’, ‘Axis.table’, ‘barplot.default’, ‘barplot.formula’, ‘boxplot.default’, ‘boxplot.formula’, ‘boxplot.matrix’, ‘cdplot.default’, ‘cdplot.formula’, ‘contour.default’, ‘hist.Date’, ‘hist.default’, ‘hist.POSIXt’, ‘identify.default’, ‘image.default’, ‘lines.default’, ‘lines.formula’, ‘lines.histogram’, ‘lines.table’, ‘mosaicplot.default’, ‘mosaicplot.formula’, ‘pairs.default’, ‘pairs.formula’, ‘persp.default’, ‘plot.data.frame’, ‘plot.default’, ‘plot.factor’, ‘plot.formula’, ‘plot.function’, ‘plot.histogram’, ‘plot.raster’, ‘plot.table’, ‘points.default’, ‘points.formula’, ‘points.table’, ‘spineplot.default’, ‘spineplot.formula’, ‘stripchart.default’, ‘stripchart.formula’, ‘sunflowerplot.default’, ‘sunflowerplot.formula’, ‘text.default’, ‘text.formula’ were declared in NAMESPACE but not found

After long searching for an answer, it seemed better to uninstall R and RStudio once again.经过长时间的寻找答案,再次卸载 R 和 RStudio 似乎更好。 After that the problem was solved.之后问题就解决了。

Doesn't seem like the correct solution but worked anyhow.似乎不是正确的解决方案,但无论如何都有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM