Hello!
I am using RStudio Cloud and am trying to run:
library(LMERConvenienceFunctions) but I get "there is no package called ‘httpuv’"
So, I tried installing "httpuv" and get this error:
> install.packages("httpuv")
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘later’
trying URL 'http://cran.rstudio.org/src/contrib/later_1.1.0.1.tar.gz'
Content type 'application/x-gzip' length 64221 bytes (62 KB)
==================================================
downloaded 62 KB
trying URL 'http://cran.rstudio.org/src/contrib/httpuv_1.5.4.tar.gz'
Content type 'application/x-gzip' length 1803508 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
* installing *source* package ‘later’ ...
** package ‘later’ successfully unpacked and MD5 sums checked
** using staged installation
Running configure script
-latomic linker flag not needed.
** libs
g++ -std=gnu++11 -I"/opt/R/4.0.0/lib/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/opt/R/4.0.0/lib/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/Rcpp/include' -I'/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include' -I/usr/local/include -fpic -g -O2 -c callback_registry.cpp -o callback_registry.o
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp:28:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/shared_ptr.hpp:17,
from callback_registry.cpp:2:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/detail/shared_count.hpp:356:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/shared_ptr.hpp:17:0,
from callback_registry.cpp:2:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp:256:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/shared_ptr.hpp:17:0,
from callback_registry.cpp:2:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp:471:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/shared_ptr.hpp:17:0,
from callback_registry.cpp:2:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp:484:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/shared_ptr.hpp:17:0,
from callback_registry.cpp:2:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp:567:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr<Y> & r )
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/shared_ptr.hpp:17:0,
from callback_registry.cpp:2:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp:576:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
shared_ptr & operator=( std::auto_ptr<Y> && r )
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
In file included from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/shared_ptr.hpp:17:0,
from callback_registry.cpp:2:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/smart_ptr/shared_ptr.hpp:578:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
^
In file included from /usr/include/c++/5/memory:81:0,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/config/no_tr1/memory.hpp:21,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/get_pointer.hpp:14,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/mem_fn.hpp:25,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/mem_fn.hpp:22,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind/bind.hpp:26,
from /home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/BH/include/boost/bind.hpp:22,
from callback_registry.cpp:1:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
/opt/R/4.0.0/lib/R/etc/Makeconf:176: recipe for target 'callback_registry.o' failed
make: *** [callback_registry.o] Error 4
ERROR: compilation failed for package ‘later’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/later’
Warning in install.packages :
installation of package ‘later’ had non-zero exit status
ERROR: dependency ‘later’ is not available for package ‘httpuv’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0/httpuv’
Warning in install.packages :
installation of package ‘httpuv’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpeggdnJ/downloaded_packages’
>
I have tried "devtools::install_github("rstudio/httpuv")" and that didn't work either.
Someone please help I have been at this for hours!