-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: compilation failed for package ‘gridtext’ #7
Comments
No idea what the problem is. Can you compile other packages that use Rcpp? Does your C++ compiler support C++11? The package compiles fine on all supported platforms, so there must be something on your end that isn't set up correctly: |
I will check about the C++11 support asap, in general I can install the packages using Rcpp. |
I'm getting the same issue when trying to install gridtext from either CRAN or github. How do I check to see if my C++ compiler supports C++11? Also, @matteodefelice were you able to get it installed? |
From the error messages it doesn't look to me like it's a C++11 error. The problem seems to be that the compiler can't figure out which Rcpp functions I'm calling when creating vectors etc. I just don't understand why it compiles on all supported platforms but fails on CentOS. Could you let me know your versions of g++ and Rcpp? Maybe that helps. I'm still on R 3.6.0 myself, so that shouldn't be the problem. |
I'm also on R 3.6.0. Rcpp is 1.0.2. Not sure how to tell what version g++ is.. I do see this in the error code: g++ -m64 -std=gnu++11. My platform is x86_64-redhat-linux-gnu, and running under CentOS Linux 7. I'm loving the package by the way. The development version installed just fine on my local windows platform, but I would love to get it on our RS connect server as well, which is what is running under centos linux. |
Can you update to the latest version of Rcpp and see if that helps? |
Updated to Rcpp 1.0.4.6 but still getting the same error. Specific line of output where I'm seeing the error: |
I had the same error using both R/3.6.0 and R/4.0.0. I had no problem with a Mac. |
Sweet! Can I ask how you changed to gcc/6.1? I don't really understand that side of things. |
I am using the computing cluster, so all I need to do is running |
CentOS 7 was released in 2014. It likely ships with a compiler that is too old. You need C++ 11 support, and that wasn't widely available in 2014. You can either update to a more recent linux distribution or update your compiler. How that can be done will depend on your specific circumstances. If you're using a system maintained by somebody else, talk to them about updating the compiler. I'm going to close this issue because there's nothing I can do about compilers that are missing C++ 11 support. |
I specifically installed gcc 10.2 to work around this issue and I'm still having the same problem. [root@pxe ansible]# gcc -v Even installed the development version of rcpp CentOS 7 errors |
I was able to get it to compile finally Apparently the issue is a statically linked library/function in libstdc++.so.6 I compiled gcc 10.2
References
|
Can not sovle my problems after reinstall my system from Zero!!!!Here is my solution!Make .R files in you Rstudio home;
and add the following content in the Makevars
save your Makevars and restart your system or R and Rstudio. Reinstall "gridtext" again, you will make it! |
Just wanted to add my experience. This comment solved my problem: https://stackoverflow.com/a/66811910/7362046 |
For bugs wilkelab#22 and wilkelab#7 and wilkelab#11
I am trying to install
ggtext
on a CentOS machine (R 3.6.0) but I couldn't installgridtext
.When I try to install with
remotes::install_github("wilkelab/gridtext")
I get an error in the compilation phase.Click to expand
✓ checking for file ‘/tmp/RtmpfCSOHi/remotes6f2074dcec01/wilkelab-gridtext-5cc4b40/DESCRIPTION’ (509ms) ─ preparing ‘gridtext’: ✓ checking DESCRIPTION meta-information ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘gridtext_0.1.0.9000.tar.gz’ Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody'Installing package into ‘/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
** using staged installation
** libs
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I"/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include" -I"/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/testthat/include" -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h: In member function ‘void GridRenderer::raster(Rcpp::RObject, Length, Length, Length, Length, bool, const GraphicsContext&)’:
grid-renderer.h:61:94: error: no matching function for call to ‘Rcpp::Vector<10, Rcpp::PreserveStorage>::Vector(int, bool&, const GraphicsContext&)’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
grid-renderer.h:61:94: note: candidates are:
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:242:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(std::initializer_list<typename Rcpp::traits::init_type::type>) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage; typename Rcpp::traits::init_type::type = bool]
Vector( std::initializer_list<init_type> list ) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:242:5: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:234:5: note: template<class InputIterator, class Func, class T> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(InputIterator, InputIterator, Func, T, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*)
Vector( InputIterator first, InputIterator last, Func func, T n,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:234:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: deduced conflicting types for parameter ‘InputIterator’ (‘int’ and ‘bool’)
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:227:5: note: template<class InputIterator, class Func> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(InputIterator, InputIterator, Func)
Vector( InputIterator first, InputIterator last, Func func) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:227:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: deduced conflicting types for parameter ‘InputIterator’ (‘int’ and ‘bool’)
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:219:5: note: template<class InputIterator, class T> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(InputIterator, InputIterator, T, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*)
Vector( InputIterator first, InputIterator last, T n,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:219:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: deduced conflicting types for parameter ‘InputIterator’ (‘int’ and ‘bool’)
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:212:5: note: template Rcpp::Vector<RTYPE, StoragePolicy>::Vector(InputIterator, InputIterator)
Vector( InputIterator first, InputIterator last){
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:212:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: deduced conflicting types for parameter ‘InputIterator’ (‘int’ and ‘bool’)
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:203:5: note: template<class T, class U1, class U2, class U3> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const T&, Rcpp::Vector<RTYPE, StoragePolicy>::stored_type ()(U1, U2, U3), const U1&, const U2&, const U3&, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type)
Vector( const T& siz, stored_type (gen)(U1,U2,U3), const U1& u1, const U2& u2, const U3& u3,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:203:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘Rcpp::Vector<10, Rcpp::PreserveStorage>::stored_type ()(U1, U2, U3)’ and ‘bool’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:194:5: note: template<class T, class U1, class U2> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const T&, Rcpp::Vector<RTYPE, StoragePolicy>::stored_type ()(U1, U2), const U1&, const U2&, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type)
Vector( const T& siz, stored_type (gen)(U1,U2), const U1& u1, const U2& u2,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:194:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘Rcpp::Vector<10, Rcpp::PreserveStorage>::stored_type ()(U1, U2)’ and ‘bool’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:185:5: note: template<class T, class U1> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const T&, Rcpp::Vector<RTYPE, StoragePolicy>::stored_type ()(U1), const U1&, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type)
Vector( const T& siz, stored_type (gen)(U1), const U1& u1,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:185:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘Rcpp::Vector<10, Rcpp::PreserveStorage>::stored_type ()(U1)’ and ‘bool’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:178:5: note: template<bool NA, class T> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::sugar::SingleLogicalResult<NA, T>&)
Vector( const sugar::SingleLogicalResult<NA,T>& obj ) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:178:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘const Rcpp::sugar::SingleLogicalResult<NA, T>’ and ‘int’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:170:5: note: template<class T, class U> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const T&, const U&, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*)
Vector( const T& size, const U& u,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:170:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*’ and ‘Rcpp::Vector<19>’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:164:5: note: template<bool NA, class VEC> Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::VectorBase<RTYPE, NA_, T>&)
Vector( const VectorBase<RTYPE,NA,VEC>& other ) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:164:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘const Rcpp::VectorBase<10, LHS_NA, LHS_T>’ and ‘int’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:154:5: note: template Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::Dimension&, const U&)
Vector( const Dimension& dims, const U& u) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:154:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: candidate expects 2 arguments, 3 provided
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:147:5: note: template Rcpp::Vector<RTYPE, StoragePolicy>::Vector(T, typename Rcpp::traits::enable_if<(Rcpp::traits::is_bool::value && (RTYPE == 10)), void>::type*)
Vector(T value,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:147:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘typename Rcpp::traits::enable_if<(Rcpp::traits::is_bool::value && (10 == 10)), void>::type*’ and ‘bool’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:135:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::Dimension&) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage]
Vector( const Dimension& dims) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:135:5: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:130:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const int&) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage]
Vector( const int& size ) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:130:5: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:124:5: note: template Rcpp::Vector<RTYPE, StoragePolicy>::Vector(T, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*)
Vector(T size,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:124:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*’ and ‘bool’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:115:5: note: template Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const T&, Rcpp::Vector<RTYPE, StoragePolicy>::stored_type ()(), typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type)
Vector( const T& siz, stored_type (gen)(void),
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:115:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: cannot convert ‘interpolate’ (type ‘bool’) to type ‘Rcpp::Vector<10, Rcpp::PreserveStorage>::stored_type ()() {aka int ()()}’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:109:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const char) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage]
Vector( const char* st ) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:109:5: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:103:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const string&) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage; std::string = std::basic_string]
Vector( const std::string& st ){
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:103:5: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:96:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const int&, const stored_type&) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage; Rcpp::Vector<RTYPE, StoragePolicy>::stored_type = int]
Vector( const int& size, const stored_type& u) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:96:5: note: candidate expects 2 arguments, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:89:5: note: template Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const T&, const stored_type&, typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*)
Vector( const T& size, const stored_type& u,
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:89:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘typename Rcpp::traits::enable_if<Rcpp::traits::is_arithmetic::value, void>::type*’ and ‘Rcpp::Vector<19>’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:84:14: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::no_init_vector&) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage]
explicit Vector( const no_init_vector& obj) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:84:14: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:79:5: note: template Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::GenericProxy&)
Vector( const GenericProxy& proxy ){
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:79:5: note: template argument deduction/substitution failed:
In file included from gridtext_types.h:12:0,
from RcppExports.cpp:4:
grid-renderer.h:61:94: note: mismatched types ‘const Rcpp::GenericProxy’ and ‘int’
NumericVector(1, width), NumericVector(1, height), LogicalVector(1, interpolate, gp)
^
In file included from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/Vector.h:52:0,
from /home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp.h:40,
from layout.h:4,
from gridtext_types.h:11,
from RcppExports.cpp:4:
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:73:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(SEXP) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage; SEXP = SEXPREC*]
Vector( SEXP x ) {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:73:5: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:65:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector(const Rcpp::Vector<RTYPE, StoragePolicy>&) [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage]
Vector( const Vector& other){
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:65:5: note: candidate expects 1 argument, 3 provided
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:57:5: note: Rcpp::Vector<RTYPE, StoragePolicy>::Vector() [with int RTYPE = 10; StoragePolicy = Rcpp::PreserveStorage]
Vector() {
^
/home/felicma/R/x86_64-redhat-linux-gnu-library/3.6/Rcpp/include/Rcpp/vector/Vector.h:57:5: note: candidate expects 0 arguments, 3 provided
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘gridtext’
Error: Failed to install 'gridtext' from GitHub:
(converted from warning) installation of package ‘/tmp/RtmpfCSOHi/file6f203c74132d/gridtext_0.1.0.9000.tar.gz’ had non-zero exit status
EDIT: the same happens with the version on CRAN
The text was updated successfully, but these errors were encountered: