Installation of RNCEP package had non-zero exit status

Hello, I'm using Manjaro Cinnamon and I'm trying to install RNCEP package to rstudio but I'm getting same error.:

Console output is;

> install.packages("RNCEP")
Installing package into ‘/home/vokhirion/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/RNCEP_1.0.10.tar.gz'
Content type 'application/x-gzip' length 302209 bytes (295 KB)
==================================================
downloaded 295 KB

* installing *source* package ‘RNCEP’ ...
** package ‘RNCEP’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Warning: S3 methods ‘as.character.tclObj’, ‘as.character.tclVar’, ‘as.double.tclObj’, ‘as.integer.tclObj’, ‘as.logical.tclObj’, ‘as.raw.tclObj’, ‘print.tclObj’, ‘[[.tclArray’, ‘[[<-.tclArray’, ‘$.tclArray’, ‘$<-.tclArray’, ‘names.tclArray’, ‘names<-.tclArray’, ‘length.tclArray’, ‘length<-.tclArray’, ‘tclObj.tclVar’, ‘tclObj<-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’, ‘tclvalue.tclVar’, ‘tclvalue<-.default’, ‘tclvalue<-.tclVar’, ‘close.tkProgressBar’ were declared in NAMESPACE but not found
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: Tcl/Tk support is not available on this system
Execution halted
ERROR: lazy loading failed for package ‘RNCEP’
* removing ‘/home/vokhirion/R/x86_64-pc-linux-gnu-library/4.2/RNCEP’
Warning in install.packages :
  installation of package ‘RNCEP’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpCYYwmk/downloaded_packages’

and Background Jobs output is;

Installing 'RNCEP' ...
Installing package into ‘/home/vokhirion/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/RNCEP_1.0.10.tar.gz'
Content type 'application/x-gzip' length 302209 bytes (295 KB)
==================================================
downloaded 295 KB

* installing *source* package ‘RNCEP’ ...
** package ‘RNCEP’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Warning: S3 methods ‘as.character.tclObj’, ‘as.character.tclVar’, ‘as.double.tclObj’, ‘as.integer.tclObj’, ‘as.logical.tclObj’, ‘as.raw.tclObj’, ‘print.tclObj’, ‘[[.tclArray’, ‘[[<-.tclArray’, ‘$.tclArray’, ‘$<-.tclArray’, ‘names.tclArray’, ‘names<-.tclArray’, ‘length.tclArray’, ‘length<-.tclArray’, ‘tclObj.tclVar’, ‘tclObj<-.tclVar’, ‘tclvalue.default’, ‘tclvalue.tclObj’, ‘tclvalue.tclVar’, ‘tclvalue<-.default’, ‘tclvalue<-.tclVar’, ‘close.tkProgressBar’ were declared in NAMESPACE but not found
Error: .onLoad failed in loadNamespace() for 'tcltk', details:
  call: fun(libname, pkgname)
  error: Tcl/Tk support is not available on this system
Execution halted
ERROR: lazy loading failed for package ‘RNCEP’
* removing ‘/home/vokhirion/R/x86_64-pc-linux-gnu-library/4.2/RNCEP’

The downloaded source packages are in
	‘/tmp/RtmpPzEUVX/downloaded_packages’


✔ Package 'RNCEP' successfully installed.
Warning message:
In utils::install.packages("RNCEP", repos = "https://cran.rstudio.com/") :
  installation of package ‘RNCEP’ had non-zero exit status

I had the same issues some other packages but I can find them in aur and I installed them with yay, but I couldn't find anything for RNCEP. There is some solutions that solved same problem at other users' Ubuntu but when I tried them I only get a circled dependency problem. So is there any solution for arch-based please?

Are you working on a headless server? If so, nothing depending on X11 (like tcltk) will work.

1 Like

No no, it's on my own pc. (I hope I truly understood what you said.)

I changed my Operating System to EndeavourOS, there's no problem anymore, thank you for attention and effort. <3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.