Skip to content

Releases: pbiecek/archivist

Version 2.1 as on CRAN

27 Jul 23:47
Compare
Choose a tag to compare
  • New features:
    1. aread(), asearch(), searchInLocalRepo() and loadFromLocalRepo() are now handling URL addresses as well. This may be useful to access artifacts generated by the shiny app.
    2. %a% archives proper names of first object so does ahistory prints proper name of archived artifact instead of env[[nm]] [#269]
    3. addHooksToPrint() :
      1. Can now give links in latex format as it has new format argument. [#270].
      2. Archives artifacts with their original names instead md5hashes [#287]
  • New functions:
    1. The atrace() function is added. It call trace() function to store a selected object in the repository after each call to specified FUN (for example 'lm').

Version 2.0.3 as on CRAN

07 Mar 23:17
Compare
Choose a tag to compare

With fixes related to new version of ggplot2 (2.1)

v2.0 as on CRAN

13 Feb 00:13
Compare
Choose a tag to compare
#243 in import

version 1.8 in CRAN

28 Nov 18:44
Compare
Choose a tag to compare

from NEWS:

  • Archivist Integration With GitHub API: new functions:
    1. It is possible to create new GitHub repository with an empty archivist-like Repository with createEmptyGithubRepo function. We also added createEmptyLocalRepo to maintain consistency with other sister functions. createEmptyRepo is now a wrapper around createEmptyLocalRepo and createEmptyGithubRepo functions.
    2. One can now clone GitHub-archivist repo with new cloneGithubRepo function.
    3. Added manual page to enable easier usage of this integration: ?archivist-github-integration``.
  • New functions splitTagsLocal and splitTagsGithub enabling to split tag column in database into two separate columns: tagKey and tagValue.
  • Bugs fixed:
    1. 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.
    2. Changed dbDisconnect( conn ) call to the on.exit(dbDisconnect( conn )) in executeSingleQuery 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.
    3. %a% operator does react on default = TRUE in createEmpyRepo function.
    4. deleteRoot = TRUE argument of the deleteRepo function 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.db file when
        many = TRUE. They were not removed before.
      3. Artifacts' data files are now removed from gallery folder.
        They were not removed before.
      4. Invisible(NULL) is the result of the function evaluation.
    6. Some changes in copy*Repo's body:
      1. Invisible(NULL) is the result of the function evaluation
      2. repoFrom parameter in copyLocalRepo is set to NULL as default.
    7. copyFromLocalRepo and copyFromGithubRepo copies only distinct records for table tag and artifact in backpack.db file, that can be seen with show*Repo and copies all mentioned artifacts for local version.
    8. downloadDB in createEmptyRepo function gives a user-friendly error.
    9. 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.
    10. In setGithubRepo it is now possible to use repoDirGit parameter. Before there was wrong stopifnot condition.
    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.
      checkDirectory2 was completely removed as it is unnecessary now.
    13. Small change in test_base_functionalities.R due to changes in point 11 and 12.
    14. aoptions for user and repo will work properly with showGithubRepo and 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 the knitr::kable would.
    2. Examples for searchInGithubRepo now works for user='pbiecek' and repo='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. in loadFromRepo function - Loading artifacts from the repository which is built in the archivist package and saving them on the example repository.
      2. in createEmptyRepo function - creating a default local Repository in non existing directory.
      3. in rmFromRepo function - removing artifacts with many = TRUE argument.
      4. in deleteRepo function - using deleteRoot = TRUE argument.
      5. in copy*Repo function - using graphGallery local repository in copyLocalRepo function.
      6. in get*Tags function - additional example using getTagsLocal function.
    4. in aoptions function - added two new examples concerning usage of silent and repoDir parameters in this function.
    5. 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.
    6. Adding missing functions which are used in the archivist package now to ?Repository documentation page.
    7. tempdir() was replaced by tempfile() 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 calling deleteRepo( exampleRepoDir, deleteRoot=TRUE) removed important R files.
    8. New tests for the following functions: zip*Repo.
    9. In order to obtain cohesion with Tags in all functions there has been stated
      such an order:
    10. If we use Tags in the text of function's documentation, examples' comments, then Tags are considered as a proper name and they begin with capital letter.
    11. If we use tags in function's body, as parameters, as R object's atrributes, then they begin with small letter.
    12. 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

25 Sep 16:35
Compare
Choose a tag to compare

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 function loadSetFromRepo to the github.com/pbiecek/archivist2 repository.

CRAN 1.6

27 Aug 16:06
Compare
Choose a tag to compare

The version that went to CRAN as 1.6

useR release 1.5

30 Jun 11:21
Compare
Choose a tag to compare
v1.5

removing debug info

Pre useR release

22 May 15:40
Compare
Choose a tag to compare
Pre useR release Pre-release
Pre-release
v1.4

Update README.md

Final version of 1.3

02 Mar 00:03
Compare
Choose a tag to compare

Ready for CRAN guardians

22 Nov 21:25
Compare
Choose a tag to compare
Pre-release
1.3

sorting in shiny search is added, as requested in #51