rdatsci / rtcl

R tools for the command line
65 stars 3 forks source link

rupdate errors #66

Closed pat-s closed 3 years ago

pat-s commented 5 years ago

Arch, r v3.6.1

rupdate                                                                 

Checking for outdated packages ...
Error: $ operator is invalid for atomic vectors
Warning messages:
1: In utils::packageDescription(name) :
  DESCRIPTION file of package 'mgcv' is missing or broken

~/.config/rt.packages:

rdatsci/rt
jakob-r commented 5 years ago

Can you check from within R running rupdate() and traceback()?

pat-s commented 5 years ago
traceback()
4: FUN(X[[i]], ...)
3: vapply(pkgs_installed$meta, getMetaType, character(1L))
2: rupdate2(x)
1: rt::rupdate()
jakob-r commented 5 years ago

ok. I might have to write a try then? Is mgcv installed in a weird way? Did something bad happen during the installation of mgcv? Reinstalling mgcv will likely resolve this issue but is obiously not the final solution if such a problem occurs more often.

pat-s commented 5 years ago

Didn't do anything to mgcv. Can be loaded without problems. Reinstalling did not help.

Let's debug local?