Releases: ices-tools-prod/TAF
CRAN release 3.2-0
-
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
-
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
-
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
-
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.
CRAN release 2.2-0
-
Added function file.encoding() to examine file encoding. Added functions latin1.to.utf8() and utf8.to.latin1() to convert file encoding.
-
Added function line.endings() to examine line endings.
-
Added arguments 'author', 'year', and 'title' to draft.software(), and improved it so it also handles software other than R packages.
-
Added argument 'clean' to taf.bootstrap().
-
Added argument 'create' to taf.library().
-
Improved process.bib() so it does not require taf.bootstrap() to create 'data' and 'software' directories.
-
Improved taf.skeleton() so every script starts with library(icesTAF) and mkdir() to create a working directory.
CRAN release 2.1-0
-
Added functions taf.bootstrap() and process.bib() to set up data files and software.
-
Added functions draft.data() and draft.software() to create initial draft versions of metadata files.
-
Added functions os(), os.linux() and os.macos() to detect more operating systems than before. Removed os.unix().
-
Updated colors (taf.green, taf.orange, taf.blue, taf.dark, taf.light) to make them equally intense and easy to distinguish.
-
This release introduces package dependencies to parse BibTeX files (bibtex) and install packages from GitHub (remotes), with further underlying package dependencies.
CRAN release 2.0-0
-
Added function taf.library() to work with packages in a local TAF library.
-
Added function rmdir() to remove an empty directory.
-
Added functions os.unix() and os.windows() to determine OS family.
-
Added function taf.unzip() to extract files from zip archives.
-
Moved functions read.dls() and write.dls() to the 'icesAdvice' package.
-
Changed clean(), makeAll(), makeTAF(), sourceAll(), and taf.skeleton() to align with new data-model workflow.
-
Renamed function tafpng() to taf.png().
-
Added argument 'destfile' to download().
CRAN release 1.6-2
-
Added argument 'underscore' to write.taf().
-
Added argument 'stringsAsFactors' to read.taf().
-
Improved multitable support for read.taf() and write.taf().
CRAN release 1.6-1
-
Changed sourceTAF(), sourceAll(), makeTAF(), and makeAll() so they never delete the 'begin' folder.
-
Changed sourceAll(), makeTAF(), makeAll() so they don't set the working directory.
-
Changed clean() so user can specify directories to remove.
-
Changed write.taf() to search in the global workspace if 'x' is a string.
-
Changed cp() to enforce safeguards when moving files.
CRAN release 1.6-0
-
Removed function upload(). Initial data and model files are now in the 'begin' folder of each assessment.
-
Added function plus() to rename plus group column.
-
Added argument 'dir' to write.taf().
-
Changed read.taf() and write.taf() so they can read/write many tables in one call.
-
Changed write.taf() so the name of the data frame is the default filename.
-
Changed cp() so it preserves the timestamp when copying a file.