Installing package into ‘C:/Users/bha485/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/4.0:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/4.0/PACKAGES'
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘RDCOMClient’
installing the source package ‘RDCOMClient’
trying URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/RDCOMClient_0.93-0.2.tar.gz'
Content type 'application/x-gzip' length 48929 bytes (47 KB)
downloaded 47 KB
* installing *source* package 'RDCOMClient' ...
** using staged installation
** libs
*** arch - i386
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I. -Wno-deprecated -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c COMError.cpp -o COMError.o
In file included from COMError.cpp:1:
RCOMObject.h: In member function 'virtual ULONG RCOMObject::Release()':
RCOMObject.h:61:50: warning: deleting object of abstract class type 'RCOMObject' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete this;
^~~~
/mingw32/bin/gcc -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I. -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c RUtils.c -o RUtils.o
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I. -Wno-deprecated -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c connect.cpp -o connect.o
/mingw32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I. -Wno-deprecated -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c converters.cpp -o converters.o
In file included from converters.cpp:1:
RCOMObject.h: In member function 'virtual ULONG RCOMObject::Release()':
RCOMObject.h:61:50: warning: deleting object of abstract class type 'RCOMObject' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete this;
^~~~
/mingw32/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o RDCOMClient.dll tmp.def COMError.o RUtils.o connect.o converters.o -lole32 -loleaut32 -luuid -LC:/PROGRA~1/R/R-40~1.2/bin/i386 -lR
C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: converters.o:converters.cpp:(.text+0x16b6): undefined reference to `vtable for RCOMObject'
C:/rtools40/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.3.0/../../../../i686-w64-mingw32/bin/ld.exe: converters.o:converters.cpp:(.text$_ZN10RCOMObject7ReleaseEv+0x2b): undefined reference to `vtable for RCOMObject'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'RDCOMClient'
* removing 'C:/Users/bha485/Documents/R/win-library/4.0/RDCOMClient'
Warning in install.packages :
installation of package ‘RDCOMClient’ had non-zero exit status
Tried installing RDCOMClient in R-Studio 1.3.1056 and R 4.0.2 by issuing the following command:
I get the following output with the error:
Session Info: