Version 0.6
AcidBase 0.6.0 (2022-04-29)
Major changes:
- Updated minimum R dependency version to 4.2
- Reduced the number of strong dependencies, migrating AcidCLI, stats, and utils to
SuggestsfromImports.
Minor changes:
- Improved formatting consistency using styler package.
AcidBase 0.6.1 (2022-05-02)
New functions:
- Migrated
gitCurrentBranchandgitDefaultBranchfrom r-koopa here.
Minor changes:
-
shell: AddedreturnStdoutargument, which helps parse stdout. -
fileExt: Added option to override defaultextPatternmatch.
AcidBase 0.6.2 (2022-05-20)
Minor changes:
- Updated package to use testthat 3e and updated lintr checks.
-
fileExt: Addedpatternformal, which lets us override compressed file handling in other packages. -
compress: Improved handling of ZIP files, to no longer rely on internalsetwdcall. Now usingwithr::with_dirtemporary approach instead. -
compressanddecompress: Reformatted internal code to pass lintr checks. -
forceDetach: Simplify internal code using a for loop. - Now using
Mapinternally instead ofmapply.
AcidBase 0.6.3 (2022-05-31)
Minor changes:
- Improved internal consistency of
normalizePathcalls, using platformfsepforwinslash, similar to conventions used inrealpath. This helps improve consistency of messages and file path output on Windows. - Fixed unit test compatibility on Windows.
AcidBase 0.6.4 (2022-06-02)
New functions:
-
tempdir2: Temporary directory generator that improves upon base Rtempdirconventions, ensuring that a new unique directory is created per call. -
unlink2: Hardened variant ofunlinkthat provides better file system compatibility with Windows. Function will intentionally error if file or directory does not exist on disk.
AcidBase 0.6.5 (2022-06-08)
Minor changes:
-
unlink2: Added assert check to ensure files and/or directories are successfully deleted. Callsfile.existsinternally, which checks both files and directories.
AcidBase 0.6.6 (2022-08-24)
Minor changes:
-
requireNamespaces: Made error message regardingNAMESPACEmore informative. Now indicates that user needs to install a missing package. - Miscellaneous documentation updates, based on roxygen2 changes.
AcidBase 0.6.7 (2022-09-06)
Minor changes:
-
shell: Added support forenv, which allows for environment variable definition inside the child process. Refer toprocessx::runandsystem2for details.
AcidBase 0.6.8 (2022-10-20)
New functions:
-
truncateString: Simple utility function that smartly adds ellipsis (...) when necessary to a long character string. Don’t want to export this astruncate, which is defined in base R for connections.
Minor changes:
-
shell: Improved interactive printing and error message handling. The function now attempts to automatically handle~character, when defined at the beginning of an argument.
AcidBase 0.6.9 (2022-11-21)
New functions:
-
euclidean: Calculate Euclidean distance of two numeric vectors. -
zscore: Calculate Z score for an input numeric vector or matrix. Note that matrix method defaults to row-wise scaling, defined byMARGINargument. This convention is intended to match recommended R defaults, and also to work as expected with sample (columns) x gene (rows) matrix, commonly used for gene expression inSummarizedExperimentclass objects.
AcidBase 0.6.10 (2023-01-30)
Minor changes:
- Deprecated
minorVersionin favor ofmajorMinorVersion, which improves legibility. Added asserts against""andNAinput. Improved code coverage and support for input of a major version alone here (e.g."1"instead of"1.0"). - Now using
requireNamespacesinstead ofrequireNamespaceconsistently across the package, to improve error messages.
AcidBase 0.6.11 (2023-02-07)
Minor changes:
-
requireNamespaces: Migrated this function to goalie. Still reexporting this function in the NAMESPACE, but that likely will change with a future update.
AcidBase 0.6.13 (2023-04-12)
New functions:
-
matchNested: Match recursively across columns forDataFramemethod, and per element forlistmethod. This is very useful for quick matching of cancer cell line name variants (Cellosaurus) and gene name aliases (HGNC, NCBI in AcidGenomes).
Minor changes:
- Removed defunct
matchArgsToDoCallfromNAMESPACE.
AcidBase 0.6.16 (2023-05-16)
New functions:
-
cpus: Return the number of total CPUs available. -
ram: Return the amount of total or free ram, in GB by default.
Minor changes:
-
initDiris now vectorized and supports multiple directories.
AcidBase 0.6.17 (2023-07-27)
Minor changes:
-
pasteURLnow automatically encodes URLs viautils::URLencode. This is helpful for improving consistent handling of complex URLs. We ran into differences in handling between httr and httr2 for URLs containing spaces. Note that goalieisURLwill now returnFALSEfor non-encoded URLs.
AcidBase 0.6.18 (2023-08-01)
New functions:
-
randomString: Random string generator.
Minor changes:
-
tempdir2: Now callsrandomStringinternally to generate a unique temporary directory that is simpler and performs more consistently across platforms.
AcidBase 0.6.19 (2023-08-23)
Minor changes:
-
showHeader: Improved header for S4DFrame, which contains rows and columns. For classes that extendAnnotatedbut don’t supportdim, still returns legacy length information. - Removed
forceDetachfunction, as it is no longer used in any other Acid Genomics packages.
AcidBase 0.6.20 (2023-09-08)
New functions:
-
keepOnlyAtomicCols: New utility function that removes complex non-atomic columns (e.g.list) from aDFrameordata.frameclass object.
AcidBase 0.6.21 (2023-09-11)
Minor changes:
-
euclidean: Reworked so that generic no longer requiresy. We have modified this downstream in the pending DepMapAnalysis package update.
AcidBase 0.6.22 (2023-09-13)
New functions:
-
strsplit2: This function works like basestrsplitbut consistently splits into a character matrix for easier extraction of values. Works like stringi and stringr variants but designed to be as simple as possible without requiring a non-base R dependency.
AcidBase 0.6.23 (2023-09-19)
Minor changes:
-
pasteURL: Hardened against unwanted recycling, which is allowed in basepastebut undesirable here. Also added an assert check to ensure that URL is always returning, containing"://". This edge case can happen when user uses function withprotocolset to"none". Also added support for input of a character vector as the first argument alone, which can be useful for passing in variables.