I have a similar issue--running on Windows 10. I have removed and reinstalled both digest and rmarkdown to no avail. When I hit knit I get told "Rendering R Markdown requires an updated version of the rmarkdown package." (I currently have version 2.8. I am running RStudio 1.4.1717 and R 4.0.5.)
The install fails with
Error in namespaceExport(ns, exports) :
undefined exports: Rcmd, Rscript, Rscript_call, as_strict_list, base64_decode, base64_encode, base64_uri, bg_process, broken_packages, bump_version, cache_rds, check_old_package, check_package_name, compare_Rcheck, del_empty_dir, dir_create, dir_exists, do_once, download_file, embed_dir, embed_file, embed_files, exit_call, file_exists, file_ext, file_string, format_bytes, from_root, github_releases, grep_sub, gsub_dir, gsub_ext, gsub_file, gsub_files, in_dir, install_dir, install_github, is_CRAN_incoming, is_R_CMD_check, is_abs_path, is_ascii, is_linux, is_macos, is_rel_path, is_sub_path, is_unix, is_web_path, is_windows, json_vector, loadable, magic_path, mark_dirs, msg_cat, n2w, native_encode, news2md, normalize_path, numbers_to_words, optipng, parse_only, pkg_attach, pkg_attach2, pkg_available, pkg_load, pkg_load2, proc_kill, process_file, proj_root, prose_index, protect_math, raw_string, read_bin, read_utf8, relative_path, rename_seq, retry, rev_check, root_rules, rstudio
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace -> namespaceExport
Execution halted
ERROR: lazy loading failed for package 'rmarkdown'
* removing 'C:/Users/Dick/Documents/R/win-library/4.0/rmarkdown'
Warning in install.packages :
installation of package ‘rmarkdown’ had non-zero exit status