createMDGallery
creates a summary for each artifact from Repository stored on a GitHub.
For each artifact tihd function creates a markdown file with: the download link, artifact's Tags (when addTags = TRUE
) and
miniature (addMiniature = TRUE
) if the artifact was archived with it's miniature and Tags
. The miniature is a print
or head over an artifact or it's png
when it was a plot. But this function only supports png
miniatures.
createMDGallery(output, repo = aoptions("repo"), user = aoptions("user"), branch = aoptions("branch"), subdir = aoptions("subdir"), repoType = aoptions("repoType"), addTags = FALSE, addMiniature = FALSE, maxTags = 100)
NULL
- see Note
.repo
is created.
By default set to NULL
- see Note
.branch
is master
.subdir = "/"
as default.output
.miniature/plots
to the output
.Tags
of artifact.Other archivist: Repository
,
Tags
, %a%
,
addHooksToPrint
, addTagsRepo
,
aformat
, ahistory
,
alink
, aoptions
,
archivist-package
, aread
,
asearch
, asession
,
atrace
, cache
,
copyLocalRepo
,
createLocalRepo
,
deleteLocalRepo
,
getRemoteHook
, getTagsLocal
,
loadFromLocalRepo
, md5hash
,
restoreLibs
, rmFromLocalRepo
,
saveToLocalRepo
,
searchInLocalRepo
,
setLocalRepo
,
shinySearchInLocalRepo
,
showLocalRepo
,
splitTagsLocal
,
summaryLocalRepo
,
zipLocalRepo
## Not run:
#
# createMDGallery(user = 'MarcinKosinski', repo = 'Museum',
# 'README_test1.md', addTags = TRUE)
# createMDGallery('graphGallery', 'pbiecek', addMiniature = TRUE,
# 'README_test2.md', addTags = TRUE)
#
# ## End(Not run)
Run the code above in your browser using DataLab