Skip to content

Releases: ThinkR-open/attachment

attachment 0.4.2

02 Jul 11:05
b26fefd
Compare
Choose a tag to compare

attachment 0.4.2

  • create_renv_for_dev can work even outside of an R packages

attachment 0.4.1

22 Jan 13:00
f9bacdc
Compare
Choose a tag to compare

attachment 0.4.1

Bug fixes

  • Modification of unit tests following {roxygen2} changes. att_amend_desc and att_from_namespace return messages instead of warnings. (#107)

v0.4.0 - Breaking changes and configuration file for a better experience

01 Jun 08:27
a9a3810
Compare
Choose a tag to compare

attachment 0.4.0

Breaking changes

  • When using att_amend_desc() without the default parameters, like pkg_ignore = "x" will now require att_amend_desc(pkg_ignore = "x", update.config = TRUE), otherwise, it will fail. This allows for the use of parameters stored in the config file when running att_amend_desc() directly in the console.
    Recommendation: Run att_amend_desc(pkg_ignore = "x", update.config = TRUE) if you have to update your config, run att_amend_desc() daily as you'll want to use what is stored in the config file.

  • create_dependencies_file() gets parameter install_only_if_missing = FALSE by default to complete the installation instructions packages only if missing. (@MurielleDelmotte)

New features

  • att_amend_desc() can run with the last set of parameters stored in a configuration file, without having to call them all each time. See vignettes and documentation of parameters update.config = FALSE, use.config = FALSE and path.c = "dev/config_attachment.yaml". (@dagousket)
  • create_dependencies_file() now takes other sources into account (git, gitlab, github, bioc, local). (@MurielleDelmotte)
  • Use create_dependencies_file(to = NULL) to only get the output as character and do not create a file

Bug fixes

  • att_amend_desc() does not modify user options("warn") level anymore (#94)
  • att_amend_desc() allows "Remotes" field to contain @ref (#67)

v0.3.1

07 Feb 15:50
cf1fd15
Compare
Choose a tag to compare

attachment 0.3.1

New features

  • find_remotes() now informs when using "r-universe" repositories.

Minor changes

  • a new parameters check_if_suggests_is_installed in att_amend_desc() allow not to check if suggested package is installed. (thanks to @yogat3ch)
  • create_renv_for_prod() dont look anymore for suggested packages
  • Clean a maximum of temp directories after examples and unit tests

v0.3.0: Merge pull request #63 from ThinkR-open/att-rebase-0.3

19 Sep 14:15
4772336
Compare
Choose a tag to compare

attachment 0.3.0

New features

  • find_remotes() and set_remotes_to_desc() now detects github, gitlab, git, bitbucket, local installations to add automatically to the "Remotes:" part of the DESCRIPTION file (@MurielleDelmotte)
  • Quarto documents can be parsed with att_from_qmds() as an alias of att_from_rmds().

Minor changes

  • Documentation for bookdown and quarto dependencies extraction updated

Bug fixes

  • Allow to use dependencies after att_amend_desc() #52
  • Fix HTML5 issues with update to {roxygen2}

v0.2.5 - attachment - Develop with dependencies on {renv}

15 May 16:17
074a140
Compare
Choose a tag to compare

attachment 0.2.5

Major changes

  • add create_renv_for_dev() and create_renv_for_prod() function to create renv.lock file based on development project (@VincentGuyader and @statnmap).
  • Quarto documents can be parsed with att_from_rmds().
  • Documentation for bookdown and quarto dependencies extraction updated

Minor changes

  • att_amend_desc() now saves file before processing
  • Newline escape code \n will not interfere with package discovery

v0.2.4 (CRAN Release) - hotfix -

16 Nov 08:00
Compare
Choose a tag to compare

Breaking changes

  • (broken in 0.2.3) - att_to_desc_from_is() can now run with must.exist = FALSE to be used to fill
    DESCRIPTION file during bookdown CI process. CI YAML files must be updated with this parameter.

Major changes

  • Split vignette in two: package development and other dependencies management

Minor changes

  • Allow to clean remotes list before updating with set_remotes_to_desc(clean = TRUE)

attachment (v0.2.3 - CRAN Release): fill the Remotes field

11 Nov 15:51
Compare
Choose a tag to compare

attachment 0.2.3

Major changes

  • Allow to add Remotes field to DESCRIPTION with set_remotes_to_desc()

Minor changes

  • Check for packages names misspelled before filling DESCRIPTION.
  • Allow vector of R files in att_from_rscripts()
  • Move default git branch from master to main

Bug fixes

  • Add NAMESPACE if missing with att_amend_desc(document = TRUE)
  • Add DESCRIPTION with empty skeleton if missing with att_amend_desc()
  • Default to remove NAMESPACE before updating to get rid of corrupted ones in att_from_namespace()
  • Fix detection of multiple render outputs in Rmd YAML with att_from_rmd()

attachment (v0.2.1 - CRAN release): Find packages in inline code

14 Apr 12:49
Compare
Choose a tag to compare

Breaking changes

  • att_to_description() deprecated in favor of att_amend_desc() to be first in autocompletion list, as this is the most used function of this package.
  • att_from_rmd() gets parameter inline = TRUE by default to explore calls for packages in inline R code.
  • att_from_rmd() and att_from_rmds() are not anymore executed in separate R session by default. You must set inside_rmd = TRUE to do so.

Minor

  • Add find_remotes() to help fill Remotes field in DESCRIPTION
  • att_to_desc_from_is() add parameter normalize to avoid problem with {desc}. (See r-lib/desc#80)
  • Check for older pandoc version in tests

attachment (v0.2.0): Find packages in inline code

19 Jan 17:36
Compare
Choose a tag to compare