Releases: pbiecek/archivist
Releases · pbiecek/archivist
Version 2.1 as on CRAN
- 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 doesahistory
prints 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
Version 2.0.3 as on CRAN
With fixes related to new version of ggplot2 (2.1)
v2.0 as on CRAN
#243 in import
version 1.8 in CRAN
from NEWS:
- Archivist Integration With GitHub API: new functions:
- It is possible to create new GitHub repository with an empty
archivist
-likeRepository
withcreateEmptyGithubRepo
function. We also addedcreateEmptyLocalRepo
to maintain consistency with other sister functions.createEmptyRepo
is now a wrapper aroundcreateEmptyLocalRepo
andcreateEmptyGithubRepo
functions. - One can now clone GitHub-archivist repo with new
cloneGithubRepo
function. - 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
splitTagsLocal
andsplitTagsGithub
enabling to splittag
column in database into two separate columns:tagKey
andtagValue
. - Bugs fixed:
checkDirectory
function is now immune to directories that don't exist. This made
showLocalRepo
function working properly when passed an argument to the directory
that do not exist.- Changed
dbDisconnect( conn )
call to theon.exit(dbDisconnect( conn ))
inexecuteSingleQuery
function 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 = TRUE
increateEmpyRepo
function.deleteRoot = TRUE
argument of thedeleteRepo
function 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.db
file when
many = TRUE
. They were not removed before. - Artifacts' data files are now removed from
gallery
folder.
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 evaluationrepoFrom
parameter incopyLocalRepo
is set toNULL
as default.
copyFromLocalRepo
andcopyFromGithubRepo
copies only distinct records for tabletag
andartifact
inbackpack.db
file, that can be seen withshow*Repo
and copies all mentioned artifacts for local version.downloadDB
increateEmptyRepo
function gives a user-friendly error.- In
zipGithubRepo
unzipped file has the same name as zip file. Earlier it had a name of the temporary file that was difficult to notice. - In
setGithubRepo
it is now possible to use repoDirGit parameter. Before there was wrongstopifnot
condition. 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.
checkDirectory2
was completely removed as it is unnecessary now. - Small change in
test_base_functionalities.R
due to changes in point 11 and 12. aoptions
foruser
andrepo
will work properly withshowGithubRepo
andsummaryGithubRepo
when 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.ahistory
function can now print outputs of the artifact's history as theknitr::kable
would.- Examples for
searchInGithubRepo
now works foruser='pbiecek'
andrepo='archivist
parameters 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
loadFromRepo
function - Loading artifacts from the repository which is built in the archivist package and saving them on the example repository. - in
createEmptyRepo
function - creating a default local Repository in non existing directory. - in
rmFromRepo
function - removing artifacts withmany = TRUE
argument. - in
deleteRepo
function - usingdeleteRoot = TRUE
argument. - in
copy*Repo
function - using graphGallery local repository incopyLocalRepo
function. - in
get*Tags
function - additional example usinggetTagsLocal
function.
- in
- in
aoptions
function - added two new examples concerning usage ofsilent
andrepoDir
parameters 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
,?aread
documentation pages. - Adding missing functions which are used in the archivist package now to
?Repository
documentation page. tempdir()
was replaced bytempfile()
in examples sections of:?addTagsRepo
,?cache
,copyToRepo
,createEmptyRepo
,?deleteRepo
,loadFromRepo
,?rmFromRepo
,?saveToRepo
,setRepo
,showRepo
,summaryRepo
,?Tags
,zipRepo
documentation pages.tempdir
is 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
Tags
in all functions there has been stated
such an order: - If we use
Tags
in the text of function's documentation, examples' comments, thenTags
are considered as a proper name and they begin with capital letter. - If we use
tags
in 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
CRAN 1.7
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
saveSetToRepo
with a new functionloadSetFromRepo
to thegithub.com/pbiecek/archivist2
repository.
CRAN 1.6
useR release 1.5
v1.5 removing debug info
Pre useR release
v1.4 Update README.md
Final version of 1.3
1.3.0 fix
Ready for CRAN guardians
1.3 sorting in shiny search is added, as requested in #51