Warning in install.packages :
package ‘RDCOMClient’ is not available (for R version 3.4.0 Patched)
install_github('omegahat/RDCOMClient')
omegahat/RDCOMClient
NA
Warning messages:
1: running command '"D:/R/R-34~1.0PA/bin/x64/R" CMD INSTALL -l "D:\R\R-3.4.0patched\library" C:\Users\310677\AppData\Local\Temp\Rtmp4gpyGl/ghitdrat/src/contrib/RDCOMClient_0.93-0.tar.gz' had status 1
2: In utils::install.packages(to_install, type = type, repos = repos, :
installation of package ‘RDCOMClient’ had non-zero exit status
^
In file included from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/mm_malloc.h:27:0,
from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/xmmintrin.h:34,
from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/x86intrin.h:31,
from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1495,
from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
from RCOMObject.h:23,
from COMError.cpp:1:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stdlib.h:299:0: note: this is the location of the previous definition
^
In file included from COMError.cpp:1:0:
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 behaviour [-Wdelete-non-virtual-dtor]
delete this;
^
COMError.cpp: In function 'void GetScodeString(HRESULT, LPTSTR, int)':
COMError.cpp:371:39: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'HRESULT {aka long int}' [-Wformat=]
sprintf(buf, ("OLE error 0x%08x"), hr);
^
COMError.cpp: In function 'HRESULT checkErrorInfo(IUnknown*, HRESULT, SEXPREC*)':
COMError.cpp:409:51: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'HRESULT {aka long int}' [-Wformat=]
fprintf(stderr, " %X \n", status);
^
c:/Rtools/mingw_64/bin/gcc -I"D:/R/R-34~1.0PA/include" -DNDEBUG -DGNU -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -std=gnu99 -mtune=core2 -c RUtils.c -o RUtils.o
c:/Rtools/mingw_64/bin/g++ -I"D:/R/R-34~1.0PA/include" -DNDEBUG -DGNU -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/Compiler/gcc-4.9.3/local330/include" -Wno-deprecated -O2 -Wall -mtune=core2 -c connect.cpp -o connect.o
connect.cpp: In function 'HRESULT R_getCOMArgs(SEXP, DISPPARAMS, DISPID, int, int)':
connect.cpp:405:10: warning: variable 'hr' set but not used [-Wunused-but-set-variable]
HRESULT hr;
^
c:/Rtools/mingw_64/bin/g++ -I"D:/R/R-34~1.0PA/include" -DNDEBUG -DGNU -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/Compiler/gcc-4.9.3/local330/include" -Wno-deprecated -O2 -Wall -mtune=core2 -c converters.cpp -o converters.o
In file included from converters.cpp:1:0:
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 behaviour [-Wdelete-non-virtual-dtor]
delete this;
^
converters.cpp: In function 'SEXPREC R_convertDCOMObjectToR(VARIANT)':
converters.cpp:365:11: warning: variable 'hr' set but not used [-Wunused-but-set-variable]
HRESULT hr;
^
c:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o RDCOMClient.dll tmp.def COMError.o RUtils.o connect.o converters.o -lole32 -loleaut32 -luuid -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/R/R-34~1.0PA/bin/x64 -lR
COMError.o:COMError.cpp:(.rdata$.refptr._ZTV10RCOMObject[.refptr._ZTV10RCOMObject]+0x0): undefined reference to `vtable for RCOMObject'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'RDCOMClient'
Warning in install.packages : package ‘RDCOMClient’ is not available (for R version 3.4.0 Patched)
install_github('omegahat/RDCOMClient') omegahat/RDCOMClient NA Warning messages: 1: running command '"D:/R/R-34~1.0PA/bin/x64/R" CMD INSTALL -l "D:\R\R-3.4.0patched\library" C:\Users\310677\AppData\Local\Temp\Rtmp4gpyGl/ghitdrat/src/contrib/RDCOMClient_0.93-0.tar.gz' had status 1 2: In utils::install.packages(to_install, type = type, repos = repos, : installation of package ‘RDCOMClient’ had non-zero exit status
define _countof(array) (sizeof(array)/sizeof(array[0]))
^ In file included from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/mm_malloc.h:27:0, from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/xmmintrin.h:34, from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/x86intrin.h:31, from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1495, from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146, from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8, from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69, from RCOMObject.h:23, from COMError.cpp:1: C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stdlib.h:299:0: note: this is the location of the previous definition
define _countof(_Array) sizeof(*__countof_helper(_Array))
^ In file included from COMError.cpp:1:0: 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 behaviour [-Wdelete-non-virtual-dtor] delete this; ^ COMError.cpp: In function 'void GetScodeString(HRESULT, LPTSTR, int)': COMError.cpp:371:39: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'HRESULT {aka long int}' [-Wformat=] sprintf(buf, ("OLE error 0x%08x"), hr); ^ COMError.cpp: In function 'HRESULT checkErrorInfo(IUnknown*, HRESULT, SEXPREC*)': COMError.cpp:409:51: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'HRESULT {aka long int}' [-Wformat=] fprintf(stderr, " %X \n", status);
^
c:/Rtools/mingw_64/bin/gcc -I"D:/R/R-34~1.0PA/include" -DNDEBUG -DGNU -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -std=gnu99 -mtune=core2 -c RUtils.c -o RUtils.o
c:/Rtools/mingw_64/bin/g++ -I"D:/R/R-34~1.0PA/include" -DNDEBUG -DGNU -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/Compiler/gcc-4.9.3/local330/include" -Wno-deprecated -O2 -Wall -mtune=core2 -c connect.cpp -o connect.o
connect.cpp: In function 'HRESULT R_getCOMArgs(SEXP, DISPPARAMS , DISPID, int, int)':
connect.cpp:405:10: warning: variable 'hr' set but not used [-Wunused-but-set-variable]
HRESULT hr;
^
c:/Rtools/mingw_64/bin/g++ -I"D:/R/R-34~1.0PA/include" -DNDEBUG -DGNU -DNO_PYCOM_IPROVIDECLASSINFO -I. -I"d:/Compiler/gcc-4.9.3/local330/include" -Wno-deprecated -O2 -Wall -mtune=core2 -c converters.cpp -o converters.o
In file included from converters.cpp:1:0:
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 behaviour [-Wdelete-non-virtual-dtor]
delete this;
^
converters.cpp: In function 'SEXPREC R_convertDCOMObjectToR(VARIANT)':
converters.cpp:365:11: warning: variable 'hr' set but not used [-Wunused-but-set-variable]
HRESULT hr;
^
c:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o RDCOMClient.dll tmp.def COMError.o RUtils.o connect.o converters.o -lole32 -loleaut32 -luuid -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/R/R-34~1.0PA/bin/x64 -lR
COMError.o:COMError.cpp:(.rdata$.refptr._ZTV10RCOMObject[.refptr._ZTV10RCOMObject]+0x0): undefined reference to `vtable for RCOMObject'
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'RDCOMClient'