Lots of warnings when `install.packages("Rserve")` in centos 7.4
Closed this issue · 1 comments
`websockets.c: At top level:
rserr.h:20:13: warning: ‘RSEprintf’ defined but not used [-Wunused-function]
static void RSEprintf(const char *format, ...) {
^
oc.c: In function ‘oc_new’:
oc.c:72:2: warning: pointer targets in passing argument 1 of ‘sha1hash’ differ in signedness [-Wpointer-sign]
sha1hash(rbuf, sizeof(rbuf) - 1, hash);
^
In file included from oc.c:4:0:
sha1.h:4:6: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
void sha1hash(const char buf, int len, unsigned char hash[20]);
^
rsio.c: In function ‘rsio_read_msg’:
rsio.c:159:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int)CMSG_DATA(cmsg_recv) = -1; / initialize recv FD to -1 */
^
rsio.c:208:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
res->fd = (int)CMSG_DATA(cmsg_recv);
^
rsio.c: In function ‘rsio_write’:
rsio.c:243:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int)CMSG_DATA(cmsg_send) = fd;
^
./mergefat Rserve "/usr/lib64/R/bin/Rserve"
./mergefat Rserve.dbg "/usr/lib64/R/bin/Rserve.dbg"
installing via 'install.libs.R' to /usr/lib64/R/library/Rserve
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘Rserve’
finding HTML links ... done
Rserv html
run.Rserve html
self html
** building package indices
** testing if installed package can be loaded
- DONE (Rserve)
Making 'packages.html' ... done
The downloaded source packages are in
‘/tmp/Rtmp58IGkM/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
`
I am not sure how to test whether install successfully?
Thank you but I'm not the maintainer of the Rserve package (server side in R) but only of the php client. I cannot help you on this question. For any question about the R package please post an issue at https://github.com/s-u/Rserve.
Best