Error Information:
Description of issue - gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-V28x5H/r-base-3.6.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c attrutil.c -o attrutil.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
gcc: error: unrecognized command line option ‘-Wdate-time’
Installation path not writeable, unable to update packages: backports, caTools, cli, digest,
ellipsis, fansi, farver, ggplot2, glue, gtools, lifecycle, pillar, plyr, Rcpp, remotes,
reshape2, rlang, scales, stringi, tibble, vctrs, withr, nlme, spatial
Steps taken so far - i tried to install these packages with the new version of r (4.0) but then also it is showing the same error
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("DESeq2")
System Information:
- RStudio Edition: Desktop
- RStudio Version: 1.3.959
- OS Version: ubuntu 18
- R Version: 3.6