Error: there is no package called ‘Matrix’
Call sequence:
14: doWithOneRestart(return(expr), restart)
13: withOneRestart(expr, restarts[[1L]])
12: withRestarts(stop(cond), retry_loadNamespace = function() NULL)
11: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
10: asNamespace(ns)
9: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, 
       .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
8: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
7: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()), 
       versionCheck = vI[[i]]), from = package)
6: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
5: asNamespace(ns)
4: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, 
       .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
3: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
2: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPa
Execution halted
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘Matrix’
Calls: <Anonymous>
Execution halted

Error: there is no package called ‘Matrix’
Call sequence:
14: doWithOneRestart(return(expr), restart)
13: withOneRestart(expr, restarts[[1L]])
12: withRestarts(stop(cond), retry_loadNamespace = function() NULL)
11: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
10: asNamespace(ns)
9: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, 
       .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
8: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
7: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()), 
       versionCheck = vI[[i]]), from = package)
6: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
5: asNamespace(ns)
4: namespaceImportFrom(ns, loadNamespace(j <- i[[1L]], c(lib.loc, 
       .libPaths()), versionCheck = vI[[j]]), i[[2L]], from = package)
3: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
2: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPa
Execution halted