pbiecek
released this
- New features:
aread(),asearch(),searchInLocalRepo()andloadFromLocalRepo()are now handling URL addresses as well. This may be useful to access artifacts generated by the shiny app.%a%archives proper names of first object so doesahistoryprints proper name of archived artifact instead ofenv[[nm]][#269]addHooksToPrint():
- New functions:
- The
atrace()function is added. It calltrace()function to store a selected object in the repository after each call to specified FUN (for example 'lm').
- The
Assets
2
pbiecek
released this
With fixes related to new version of ggplot2 (2.1)
Assets
2
pbiecek
released this
#243 in import
Assets
2
pbiecek
released this
from NEWS:
- Archivist Integration With GitHub API: new functions:
- It is possible to create new GitHub repository with an empty
archivist-likeRepositorywithcreateEmptyGithubRepofunction. We also addedcreateEmptyLocalRepoto maintain consistency with other sister functions.createEmptyRepois now a wrapper aroundcreateEmptyLocalRepoandcreateEmptyGithubRepofunctions. - One can now clone GitHub-archivist repo with new
cloneGithubRepofunction. - Added manual page to enable easier usage of this integration:
?archivist-github-integration``.
- It is possible to create new GitHub repository with an empty
- New functions
splitTagsLocalandsplitTagsGithubenabling to splittagcolumn in database into two separate columns:tagKeyandtagValue. - Bugs fixed:
checkDirectoryfunction is now immune to directories that don't exist. This made
showLocalRepofunction working properly when passed an argument to the directory
that do not exist.- Changed
dbDisconnect( conn )call to theon.exit(dbDisconnect( conn ))inexecuteSingleQueryfunction to prevent a situation in which during an error inside a function (which might be produced), the connection stays open, when it shouldn`t. %a%operator does react ondefault = TRUEincreateEmpyRepofunction.deleteRoot = TRUEargument of thedeleteRepofunction works properly and enables removing root directory of the Repository.- Some changes in
rmFromRepo's body:- Function will give a warning when a user uses wrong md5hash (that does not exist in the
Repository).
In case of wrong md5hash abbreviation a user will receive an error message. - Artifacts' data is now removed from tag table in
backpack.dbfile when
many = TRUE. They were not removed before. - Artifacts' data files are now removed from
galleryfolder.
They were not removed before. Invisible(NULL)is the result of the function evaluation.
- Function will give a warning when a user uses wrong md5hash (that does not exist in the
- Some changes in
copy*Repo's body:Invisible(NULL)is the result of the function evaluationrepoFromparameter incopyLocalRepois set toNULLas default.
copyFromLocalRepoandcopyFromGithubRepocopies only distinct records for tabletagandartifactinbackpack.dbfile, that can be seen withshow*Repoand copies all mentioned artifacts for local version.downloadDBincreateEmptyRepofunction gives a user-friendly error.- In
zipGithubRepounzipped file has the same name as zip file. Earlier it had a name of the temporary file that was difficult to notice. - In
setGithubRepoit is now possible to use repoDirGit parameter. Before there was wrongstopifnotcondition. paste0()was replaced byfile.path()in appropriate places of function's bodies in the following R scripts:archive.R,copyToRepo.R,createEmptyRepo.R,deleteRepo.R,
extractMiniature.R,loadFromRepo.R,rmFromRepo.R,saveToRepo.R,zipRepo.R.- Two crucial parts of
checkDirectory's function body were removed due to changes in point 11.
checkDirectory2was completely removed as it is unnecessary now. - Small change in
test_base_functionalities.Rdue to changes in point 11 and 12. aoptionsforuserandrepowill work properly withshowGithubRepoandsummaryGithubRepowhen set. It might have not been noticed in version 1.7, it might have been a bug that occured in the development between 1.7 and 1.8 version.
- New features:
print.ahistoryfunction can now print outputs of the artifact's history as theknitr::kablewould.- Examples for
searchInGithubReponow works foruser='pbiecek'andrepo='archivistparameters as we added new backpack.db file. The previous one was almost empty (for 7 months). - Additional examples to better understand usage of archivist package functions:
- in
loadFromRepofunction - Loading artifacts from the repository which is built in the archivist package and saving them on the example repository. - in
createEmptyRepofunction - creating a default local Repository in non existing directory. - in
rmFromRepofunction - removing artifacts withmany = TRUEargument. - in
deleteRepofunction - usingdeleteRoot = TRUEargument. - in
copy*Repofunction - using graphGallery local repository incopyLocalRepofunction. - in
get*Tagsfunction - additional example usinggetTagsLocalfunction.
- in
- in
aoptionsfunction - added two new examples concerning usage ofsilentandrepoDirparameters in this function. - Alterations in the text of:
?Tags,?Repository,?md5hash,archivist-package,?saveToRepo,loadFromRepo,summaryRepo,showRepo,?searchInRepo,?createEmptyRepo,?rmFromRepo,?deleteRepo,copyToRepo,zipRepo,setRepo,getTags,addTagsRepo,magrittr,archivistOptions,?areaddocumentation pages. - Adding missing functions which are used in the archivist package now to
?Repositorydocumentation page. tempdir()was replaced bytempfile()in examples sections of:?addTagsRepo,?cache,copyToRepo,createEmptyRepo,?deleteRepo,loadFromRepo,?rmFromRepo,?saveToRepo,setRepo,showRepo,summaryRepo,?Tags,zipRepodocumentation pages.tempdiris existing directory in which R works so callingdeleteRepo( exampleRepoDir, deleteRoot=TRUE)removed important R files.- New tests for the following functions:
zip*Repo. - In order to obtain cohesion with
Tagsin all functions there has been stated
such an order: - If we use
Tagsin the text of function's documentation, examples' comments, thenTagsare considered as a proper name and they begin with capital letter. - If we use
tagsin function's body, as parameters, as R object's atrributes, then they begin with small letter. - Added checking if parameters have appropriate lengths in the following function's bodies:
?addTagsRepo,asearch,?cloneGithubRepo,copy*Repo,createEmptyLocalRepo,getTags*,loadFrom*Repo,?rmFromRepo,?saveToRepo,searchIn*Repo,set*Repo,?shinySearchInLocalRepo,showRepo,summary*Repo,zip*Repo
Assets
2
From NEWS:
- The order of parameters in asearch has changed!
- Added graphGallery for self-contained examples
- aread allows for single MD5 hash (which will be read from the default repo)
- asearch allows for only patterns (will be searched in local repo)
- ahistory has now 'artifact' argument instead of 'obj'
- Added tests.
- Removed unnecessary dependencies - now archivist is free of dependencies.
- shiny package is in Suggests so you
should load that package before running shinySearchInLocalRepo function. - Moved
saveSetToRepowith a new functionloadSetFromRepoto thegithub.com/pbiecek/archivist2repository.
Assets
2
The version that went to CRAN as 1.6
Assets
2
pbiecek
released this
v1.5 removing debug info
Assets
2
pbiecek
released this
v1.4 Update README.md
Assets
2
pbiecek
released this
1.3 sorting in shiny search is added, as requested in #51

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
