Version 0.6
goalie 0.6.0 (2022-03-11)
Major changes:
-
assert: Engine will useAcidCLI::abortif installed, to return richer error messages in the console. Also improved named message handling, similar tostopifnotconventions. - Updated minimum R version dependency to 4.1, matching Bioconductor 3.14.
Minor changes:
- Improved some cause attributes to use better CLI formatting.
- Migrated some check functions from pointillism / AcidSingleCell packages:
hasClusters,hasMultipleSamples, andisBiocParallelParam. - Migrated
isDarkcheck here from AcidPlots package. - Updated pkgdown website to use bootstrap 5 template.
goalie 0.6.2 (2022-05-09)
Minor changes:
-
validateClasses: Reworked internal code to useisAny, to allowing “or” checking for multiple acceptable class types. Currently needed to update validity checks againstsessionInfo(utils package) vs.session_info(sessioninfo package) in our S4 classes that extendSummarizedExperiment.
goalie 0.6.3 (2022-05-13)
Minor changes:
- Reworked package to support new lintr and testthat releases.
- Now using
Mapinternally instead ofmapply, as recommended by lintr.
goalie 0.6.4 (2022-05-31)
Minor changes:
-
isGitRepo: Return with classed cause in the event that Git is not installed.
goalie 0.6.5 (2022-10-18)
Minor changes:
- Using
isSubsetin place of%in%where possible. -
isInstalled: Now calling.packagesinternally instead of checking rownames oninstalled.packagesreturn. -
hasDuplicates,hasNoDuplicates: Hardened internal calls toanyDuplicatedto check whether values return non-zero or not. -
isCleanSystemLibrary: NAMESPACE fix forinstalled.packagescall.
goalie 0.6.6 (2022-10-18)
New functions:
-
isVSCode: Check if R session is running inside of Visual Studio Code.
goalie 0.6.7 (2022-12-14)
New functions:
-
isIntegerish: New check function that will also return true for vector-like classes, includingfactorand S4Rle.
Minor changes:
-
hasRownames: Should now returnTRUEfordata.framewith integer row names out of order. This is useful formatrixexport method defined in pipette package. - Added support for S4
Rleclass handling inisSubset,areDisjointSets,areIntersectingSets,areSetEqual. - Removed unused
skip_on_dockertest function.
goalie 0.6.8 (2023-01-12)
New functions:
-
requireNamespaces: Migrated this useful base function from AcidBase package here to goalie instead, as this is often used inside of assert checks.
Minor changes:
-
hasNoDuplicates: Improve support for Rle handling. Note that S4Vectors currently doesn’t define aduplicatedmethod forRle, so we have to work around this at the moment.
goalie 0.6.9 (2023-04-26)
New functions:
-
quietly: Useful expression wrapper that suppresses all warnings, messages, and console output. Now used internally inrequireNamespacesto suppress unwanted warnings from some Bioconductor packages, such as AnnotationHub, which now masks utils in the 3.17 release.
Minor changes:
-
validateClasses: Improved assert check for input of empty list.
goalie 0.6.10 (2023-05-31)
Minor changes:
-
compressExtPattern: Updated to ensure that maching is case insensitive. - Relaxed suggested package dependencies.
goalie 0.6.11 (2023-07-13)
New functions:
-
isTempFile/isATempFile/allAreTempFiles: Check functions to determine if a file exists on disk as a temporary file, defined bytempfile. Checks directory path internally againsttempdirreturn. This function will be used in pipette update for compressed file cleanup duringimportcalls.
Minor changes:
- Now requiring R 4.3 / Bioconductor 3.17.
goalie 0.6.12 (2023-07-24)
New functions:
-
isTximport: New check function to perform validity checks on tximportlistreturn, which isn’t currently classed.
Minor changes:
- Updated lintr checks to be compatible with new release.
goalie 0.6.13 (2023-07-27)
Minor changes:
-
isURLnow returnsFALSEfor non-encoded URLs (e.g. containing spaces, other invalid characters). This helps protect against unwanted input into httr2 engine for REST API calls. Refer toutils::URLencodefor encoding checks.
goalie 0.6.14 (2023-08-10)
New functions:
-
hasCPU: Does the current machine have a sufficient number of CPU cores? -
hasRAM: Does the current machine have sufficient memory (in GB)?
goalie 0.6.15 (2023-08-24)
New functions:
- Added
isExistingURLvariants ofisURL, which check if the connection is active and that the URL actually exists, rather than whether it is merely formatted correctly. Also addedisAnExistingURLandallAreExistingURLsvariants, similar to the simplerisURLchecks. The internal logic of this check was ported from the previoushasInternetfunction, but speed up to use atrycall with a faster timeout.
Major changes:
-
hasInternethas been reworked to simply wrapisAnExistingURLwith a call to check if the Bioconductor website is up.
goalie 0.6.16 (2023-09-15)
Minor changes:
-
isAnExistingURL: Reworked internal code to use RCurl::url.exists instead of a direct connection check, as this is more reliable for returningFALSEfor some offline servers, such as the Ensembl FTP server, which has stability issues. - Now using
requireNamespacesinstead ofrequireNamespaceconsistently internally in the package.
goalie 0.6.17 (2023-09-15)
Minor changes:
-
isAnExistingURL: Reworked engine back to use base R viacurlGetHeadersfunction. ReturnsFALSEfor status codes >= 400 for both HTTP(S) and FTP. No longer need to include RCurl as a suggested package.
goalie 0.6.18 (2023-09-19)
New functions:
-
isDuplicate: Variant of baseduplicatedthat returnsTRUEfor all observed duplicated values in a vector. Differs from baseduplicated, which only starts to returnTRUEon the second observed value. -
allAreIntegerish: Added an additional scalar variant ofisIntegerish.
Minor changes:
-
hasDims,hasRows,hasCols: Now supportnargument for checking expected dimensions. Note that forhasDims, this needs to be length 2. Integerish values (e.g.1instead of1L) are supported, but direct input of integer is recommended. -
isExistingURL: Now checks forlibcurlsupport in R session.