While trying to knit a markdown file in the posit cloud workspace, it says it requires an updated version of the markdown package. When I tried to update the package, I was getting " installation of package ‘markdown’ had non-zero exit status." I'm still not able to knit the file. Every time I try, it says I need to update rmarkdown.
install.packages("rmarkdown")
Installing package into ‘/cloud/lib/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'http://rspm/default/__linux__/focal/latest/src/contrib/rmarkdown_2.24.tar.gz'
Content type 'application/x-gzip' length 2192010 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
- installing source package ‘rmarkdown’ ...
** package ‘rmarkdown’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
Error in rbind(info, getNamespaceInfo(env, "S3methods")) :
number of columns of matrices must match (see arg 2)
ERROR: lazy loading failed for package ‘rmarkdown’ - removing ‘/cloud/lib/x86_64-pc-linux-gnu-library/3.5/rmarkdown’
- restoring previous ‘/cloud/lib/x86_64-pc-linux-gnu-library/3.5/rmarkdown’
Warning in install.packages :
installation of package ‘rmarkdown’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpr4Qc8k/downloaded_packages’