trevorld / r-argparse

command-line optional and positional argument parser
GNU General Public License v2.0
103 stars 11 forks source link

namespace error #24

Closed mariellep closed 6 years ago

mariellep commented 6 years ago

I'm using R on a cluster, so my permissions are rather limited with regards to where and what I can install stuff. I haven't had any issues with installing packages prior to this, and I have no idea what the heck is going on:

install.packages("argparse",dependencies=TRUE) Installing package into ‘/home/mcpinhei/R/x86_64-pc-linux-gnu-library/3.4’ (as ‘lib’ is unspecified) trying URL 'https://cloud.r-project.org/src/contrib/argparse_1.1.1.tar.gz' Content type 'application/x-gzip' length 25572 bytes (24 KB) ================================================== downloaded 24 KB

* installing *source* package ‘argparse’ ... ** package ‘argparse’ successfully unpacked and MD5 sums checked ** R ** exec ** inst ** preparing package for lazy loading Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : namespace ‘proto’ 0.3-10 is being loaded, but >= 1.0.0 is required ERROR: lazy loading failed for package ‘argparse’ * removing ‘/home/mcpinhei/R/x86_64-pc-linux-gnu-library/3.4/argparse’

The downloaded source packages are in ‘/tmp/Rtmpu4Xvus/downloaded_packages’ Warning message: In install.packages("argparse", dependencies = TRUE) : installation of package ‘argparse’ had non-zero exit status

I tried googling this error but it was kind of over my head. Any insight?

mariellep commented 6 years ago

Whoops. I needed to update packages. Carry on!