Keven, here is some more information. I can install the packages as you indicate, but RStudio doesn't see it.
packageVersion('RMarkdown')
[1] ‘2.11’
Installing 'markdown' for R Markdown...
Retrieving 'https://cran.rstudio.com/bin/windows/contrib/4.1/markdown_1.1.zip' ...
OK [downloaded 184.4 Kb in 0 secs]
Installing markdown [1.1] ...
FAILED
Error installing package 'markdown':
====================================
The system cannot find the path specified.
* installing to library 'D:/Research/health/renv/staging/1'
package 'markdown' successfully unpacked and MD5 sums checked
Error: install of package 'markdown' failed [error code 1]
Traceback (most recent calls last):
14: sourceWithProgress(script = "C:/Users/hnelson3/AppData/Local/Temp/2/e241-02a5-2426-7224",
encoding = "UTF-8", con = stdout(), importRdata = NULL, exportRdata = NULL)
13: eval(statements[[idx]], envir = sourceEnv)
12: eval(statements[[idx]], envir = sourceEnv)
11: renv::install("markdown")
10: renv_install_impl(records)
9: renv_install_staged(records)
8: renv_install_default(records)
7: handler(package, renv_install_package(record))
6: renv_install_package(record)
5: withCallingHandlers(renv_install_package_impl(record), error = function(e) {
vwritef("\tFAILED")
writef(e$output)
})
4: renv_install_package_impl(record)
3: r_cmd_install(package, path)
2: r_exec_error(package, output, "install", status)
1: stop(error)
Execution halted