mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 15:32:56 +00:00
Implement RPackagesManifest
This commit is contained in:
@@ -72,3 +72,15 @@ class AptPackagesManifest(ManifestInterface):
|
||||
"",
|
||||
quoted_output(container, "apt list --installed")
|
||||
])
|
||||
|
||||
|
||||
class RPackagesManifest(ManifestInterface):
|
||||
@staticmethod
|
||||
def markdown_piece(container) -> str:
|
||||
return "\n".join([
|
||||
"## R Packages",
|
||||
"",
|
||||
quoted_output(container, "R --version"),
|
||||
"",
|
||||
quoted_output(container, "R --silent -e 'installed.packages(.Library)[, c(1,3)]'")
|
||||
])
|
||||
|
Reference in New Issue
Block a user