Skip to content

Releases: ices-tools-prod/icesTAF

CRAN release 3.5-0

16 May 14:49
Compare
Choose a tag to compare
  • Added function clean.data() to selectively clean the bootstrap data folder.

  • Added function detach.packages() to detach all packages.

  • Added argument 'overwrite' to cp().

  • Added arguments 'detach' and 'taf' to sourceTAF().

  • Added argument 'taf' to taf.bootstrap().

  • Added argument 'remove' to taf.libPaths().

  • Added argument 'details' to taf.session().

  • Changed taf.bootstrap() to skip download of files if they already exist, and skip bootstrap script if the destination folder already contains files.

  • Changed taf.png() to use 'res' rather than 'pointsize', improving consistency between base, lattice, and ggplot2 plots. Code contributed by Iago Mosqueira.

CRAN release 3.4-0

07 Apr 14:22
Compare
Choose a tag to compare
  • Added function is.r.package() to check if tar.gz file is an R package.

  • Added functions long2xtab() and xtab2long() to convert between table formats.

  • Added function taf.libPaths() to add TAF library to search path.

  • Added function taf.session() to show session information.

  • Added argument 'force' to clean(), clean.library(), and clean.software().

  • Added argument 'ignore' to cp().

  • Improved clean.software() to remove software folder, not just software files.

  • Improved download.github() to store GitHub metadata in the DESCRIPTION file, if the GitHub resource is an R package. Warn if the tar.gz file looks like an R package nested inside a repository.

  • Improved taf.bootstrap() to support GitHub references in DATA.bib. Runs taf.install() only when software from GitHub contains a DESCRIPTION file. Added source = {folder} as a special value, similar to source = {file}. Warn if source = {owner/repo@ref} entry is missing the '@ref' part.

  • Renamed internal function process.bib() to process.bibfile() and process.inner() to process.entry().

CRAN release 3.3-3

29 Jan 08:56
Compare
Choose a tag to compare

CRAN release 3.3-2

07 Jan 20:56
Compare
Choose a tag to compare
  • Improved process.bib() so it allows 'access' to be undefined.

CRAN release 3.3-1

11 Dec 12:22
Compare
Choose a tag to compare
  • Improved handling of SOFTWARE.bib GitHub entries that have owner/repo/subdir. Code contributed by Ibrahim Umar.

  • Improved process.bib() so it verifies that 'access' values match the allowed values.

CRAN release 3.3-0

03 Dec 14:00
Compare
Choose a tag to compare
  • Added function get.remote.sha() to look up a SHA reference code on GitHub. Fixed a bug introduced in 3.2-0.

  • Improved clean.library() and clean.software() to remove bootstrap/library and bootstrap/software when SOFTWARE.bib file does not exist. Improved clean.software() to remove software file when version does not match SOFTWARE.bib.

  • Improved download.github() to handle packages that are nested inside a repository. Set default to quiet=FALSE.

  • Changed write.taf() so it no longer converts line endings.

  • Removed 'remotes' package dependency.

CRAN release 3.2-0

03 Dec 13:59
Compare
Choose a tag to compare
  • Added functions clean.library() and clean.software() to selectively clean the TAF library and software folders.

  • Added function download.github() to download a GitHub repository.

  • Added function taf.install() to install a package in the local TAF library.

  • Changed taf.bootstrap() so bootstrap/initial/config is now deprecated. Instead, model configuration files can be processed as a DATA.bib entry. Removed argument 'config'. SOFTWARE.bib is now processed before DATA.bib.

  • Changed clean() so it uses clean.library() to clean bootstrap/library.

  • Improved draft.data() so it detects bootstrap/*.R scripts as source files to consider. Added arguments 'access' and 'data.scripts'. Removed argument 'data.dir'. Added support for file=TRUE as shorthand for file="bootstrap/DATA.bib".

  • Improved draft.software() so it first looks for packages in bootstrap/library. Added support for package="owner/repo@ref" to install package on the fly. Added support for file=TRUE as shorthand for file="bootstrap/SOFTWARE.bib".

  • Improved taf.library() so it works from a bootstrap data script.

  • Improved write.taf() so it gives an error if data frame contains comma.

  • Added argument 'quiet' to cp().

  • Added arguments 'force' and 'recon' to make().

  • Added argument 'clean' to process.bib(). Renamed argument 'data.source' to 'data.scripts'.

  • Added argument 'force' to taf.bootstrap().

  • Improved convert.spaces() so it allows 'sep' to be any number of characters, treats %20 as space, and allows spaces in parent directories.

  • Improved download() so it shaves off ?tail from the end of 'destfile', and converts spaces and %20 to underscores.

  • Improved zoom() so it handles legend text size.

  • Removed 'jsonlite' package dependency.

CRAN release 3.1-1

25 May 21:44
Compare
Choose a tag to compare
  • Added function convert.spaces() to convert spaces in filenames.

  • Added function sam2taf() to convert SAM tables to TAF format.

  • Added argument 'quiet' to process.bib() and support for source={script} and dir={TRUE}. Removed 'bundle' field.

  • Added argument 'quiet' to taf.bootstrap(). Improved taf.bootstrap() so it doesn't clean the corresponding bootstrap directories when arguments 'config', 'data', or 'software' are FALSE. Dropped support for custom bootstrap.R script, superseded by source={script}.

  • Improved draft.data() so it works in R versions older than 3.5. Code contributed by Alexandros Kokkalis.

  • Changed sourceTAF() so working directory is not changed before script is run.

CRAN release 3.0-0

28 Apr 07:43
Compare
Choose a tag to compare
  • Added function period() to paste period string for DATA.bib entries.
  • Removed argument 'name' from taf.skeleton(). The default behavior is now to create initial directories and scripts in the current working directory.
  • Changed taf.library() so it loads a package instead of changing the library path.
  • Changed default size of taf.png(). Changed text size in zoom() accordingly and renamed arguments. The zoom() function is now generic.
  • Changed write.taf() so it gives a warning if column names are duplicated.

CRAN release 2.3-0

15 Apr 16:10
Compare
Choose a tag to compare
  • Added function sourceDir() to read all *.R files from a directory.
  • Added function zoom() to change text size in a lattice plot.
  • Added arguments 'config', 'data', and 'software' to taf.bootstrap().
  • Added argument 'append' to draft.data() and draft.software(). Code contributed by Alexandros Kokkalis.
  • Added argument 'colname' to xtab2taf().
  • Improved draft.data() so the default value of 'year' is the current year and user can pass period=FALSE.
  • Improved file.encoding() so it handles spaces in filenames.
  • Improved os.unix() so it recognizes both Linux and macOS operating systems.
  • Improved process.bib() so it supports 'bundle' field and multiple filenames in 'source' field, separated by newlines.
  • Improved write.taf() so file="" prints to screen, regardless of dir.