[R] Error in installing pbmcapply / WhatIf

Ashim Kapoor @@h|mk@poor @end|ng |rom gm@||@com
Thu Jun 27 09:18:50 CEST 2019


Dear All,

I am not able to install pbmcapply which I need for package WhatIf.

Here are my sessionInfo and the error message :-

> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 8 (jessie)

locale:
 [1] LC_CTYPE=en_IN       LC_NUMERIC=C         LC_TIME=en_IN
 [4] LC_COLLATE=en_IN     LC_MONETARY=en_IN    LC_MESSAGES=en_IN
 [7] LC_PAPER=en_IN       LC_NAME=C            LC_ADDRESS=C
[10] LC_TELEPHONE=C       LC_MEASUREMENT=en_IN LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_3.3.3 tcltk_3.3.3
> install.packages("pbmcapply")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/pbmcapply_1.4.1.tar.gz'
Content type 'unknown' length 8224 bytes
==================================================
downloaded 8224 bytes

* installing *source* package ‘pbmcapply’ ...
** package ‘pbmcapply’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2
-fdebug-prefix-map=/build/r-base-3.3.3=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c process.c -o
process.o
process.c:10:23: error: unknown type name ‘DllInfo’
 void R_init_pbmcapply(DllInfo* info) {
                       ^
/usr/lib/R/etc/Makeconf:132: recipe for target 'process.o' failed
make: *** [process.o] Error 1
ERROR: compilation failed for package ‘pbmcapply’
* removing ‘/usr/local/lib/R/site-library/pbmcapply’

The downloaded source packages are in
    ‘/tmp/RtmpgOn4Vx/downloaded_packages’
Warning message:
In install.packages("pbmcapply") :
  installation of package ‘pbmcapply’ had non-zero exit status
>


Thank you,
Ashim

	[[alternative HTML version deleted]]



More information about the R-help mailing list