since I installed caTools that worked fine but now I am not able to install lubridate.
error is something like this:
R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages("lubridate")
Installing package into ‘/home/zummi/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/lubridate_1.7.4.tar.gz'
Content type 'application/x-gzip' length 449850 bytes (439 KB)
==================================================
downloaded 439 KB
* installing *source* package ‘lubridate’ ...
** package ‘lubridate’ successfully unpacked and MD5 sums checked
** libs
g++ -std=gnu++11 -I/usr/share/R/include -DNDEBUG -I. -I./cctz/include/ -I./cctz/src/ -I"/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
In file included from /home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/InternalFunction.h:52:0,
from /home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp.h:67,
from RcppExports.cpp:4:
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:18: warning: null character(s) ignored
set(XPtr< � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �U48, U49, U50, U51> >(new CppFunction52<RESULT_TYPE,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51>(fun), false));
^
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:9: error: stray ‘\377’ in program
set(XPtr< � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �U48, U49, U50, U51> >(new CppFunction52<RESULT_TYPE,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51>(fun), false));
^
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:22: warning: null character(s) ignored
set(XPtr< � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �U48, U49, U50, U51> >(new CppFunction52<RESULT_TYPE,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51>(fun), false));
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:270: warning: null character(s) ignored
set(XPtr< � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �U48, U49, U50, U51> >(new CppFunction52<RESULT_TYPE,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51>(fun), false));
^
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:9: error: stray ‘\377’ in program
set(XPtr< � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �U48, U49, U50, U51> >(new CppFunction52<RESULT_TYPE,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51>(fun), false));
^
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h: In constructor ‘Rcpp::InternalFunction_Impl<StoragePolicy>::InternalFunction_Impl(RESULT_TYPE (*)(U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51))’:
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:292: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, template<class> class StoragePolicy, void (* Finalizer)(T*), bool finalizeOnExit> class Rcpp::XPtr’
set(XPtr< � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �U48, U49, U50, U51> >(new CppFunction52<RESULT_TYPE,U0, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, U13, U14, U15, U16, U17, U18, U19, U20, U21, U22, U23, U24, U25, U26, U27, U28, U29, U30, U31, U32, U33, U34, U35, U36, U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51>(fun), false));
^
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:292: note: expected a class template, got ‘U49’
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:292: error: type/value mismatch at argument 3 in template parameter list for ‘template<class T, template<class> class StoragePolicy, void (* Finalizer)(T*), bool finalizeOnExit> class Rcpp::XPtr’
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:292: note: expected a constant of type ‘void (*)(T*)’, got ‘U50’
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:292: error: type/value mismatch at argument 4 in template parameter list for ‘template<class T, template<class> class StoragePolicy, void (* Finalizer)(T*), bool finalizeOnExit> class Rcpp::XPtr’
/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include/Rcpp/generated/InternalFunction__ctors.h:394:292: note: expected a constant of type ‘bool’, got ‘U51’
/usr/lib/R/etc/Makeconf:168: recipe for target 'RcppExports.o' failed
make: *** [RcppExports.o] Error 1
ERROR: compilation failed for package ‘lubridate’
* removing ‘/home/zummi/R/x86_64-pc-linux-gnu-library/3.4/lubridate’
Warning in install.packages :
installation of package ‘lubridate’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpwYVWth/downloaded_packages’
>
there is long list of such errors in between which i din't copied ...can u please help me?