New functions:
inspectRow
: Quickly examine nested values in adata.frame
row. Supports any object that can be coerced to adata.frame
.
New functions:
rebuildBinary
: New function for updating problematic binary file in drat repo. Added this after I hit S4 subclass caching issues related to the change in AcidGenomes fromHumanToMouse
toJaxHumanToMouse
. This affected AcidSingleCell and DESeqAnalysis. Function is vectorized, supporting multiplepackageName
in a single call.
Minor changes:
view2
: Need to setoptional = TRUE
foras.data.frame
coercion.
Minor changes:
- No longer reexporting functions from remotes.
New functions:
cacheTestFiles
: New utility function used in other packages to quickly cache files for testthat build checks.longtest
: Variant oftest
that runs optional tests defined inlongtests
. This is useful for matching recommended Bioconductor conventions. These tests are run in a temporary directory.nonCamelArgs
: Check for documented arguments that are not correctly formatted in strict camel case.nonCamelExports
: Check for exported functions that are not correctly formatted in strict camel case.
Minor changes:
check
: Now returns the amount of time required to run checks.- Enforcing strict camel case in function names. As a result, we have renamed
pkgdownDeployToAWS
topkgdownDeployToAws
.
Minor changes:
check
: Don't check as CRAN by default. Can have issues withrequireNamespace
not finding packages as expected.
Minor changes:
check
: Check as CRAN by default. Also added tweaks toBiocCheck
settings.
Minor changes:
packageDependencies
: Can now disable recursion usingrecursive = FALSE
. Still recommended by default for true evaluation of package heaviness.
Minor changes:
catVec
: Now handles return of named vectors. This addition was very useful for improving code coverage against Sanger CellModelPassports in the recent Cellosaurus package update.
Minor changes:
check
: Ensure that testthattest
does not return successful if any errors or warnings are detected. This requires coercion oftestthat_results
to adata.frame
.
Minor changes:
- NAMESPACE fix for accidental
is
call.
Minor changes:
check
: Rework assert check for testthat results return.
Minor changes:
check
: Need to pass package location tostyle_pkg
.
New functions:
size
: Returns object size in a human readable format. Callsobject.size
andformat
internally.
Minor changes:
test
: Now usingtest_local
instead oftest_dir
internally, which plays nicer with testthat tests run in parallel.
check
: Now checking that all required and suggested packages are installed before proceeding. Otherwise we can run into NAMESPACE linter errors.
valid
: Improved checking of binary/source packages whenpkgType
is set to"both"
mode. This applies primarily to macOS.findAndReplace
now uses parallel instead of BiocParallel internally.
- Disabling error on warning during install and uninstall steps, to avoid current issues with Bioconductor 3.17 repos.
devinstall
: Improved install support of Bioconductor dependencies whendependencies = TRUE
is set.
- Renamed
drat
function topublish
, which is a better verb.
valid
: Bug fix for incorrect quoting of package names.
valid
: Improved singular/plural handling of package names.
valid
: Restricted internalold.packages
call to specifically check.Library.site
and ignore.Library
, so that we don't return unwanted messages about outdated system packages.
check
: Don't error on URL check failures. This is often too strict, and currently problematic when checking AcidGenomes package.
install
: Added backtype
argument, to install from source when required on macOS, as a lot of binaries are still not being built in a timely manner.- Removed unused
dev
function. - Reworked internal functions to rely less upon goalie package when possible.
Switched back to using
stopifnot
instead ofassert
, andmessage
instead ofalert
. - Added a simplified internal variant of
requireNamespaces
, which makes conditional loading of packages easier. Follows the conventions of the function defined in AcidBase, with the exception that our internal version here always returns a logical, instead of erroring on failure. This is intended to be called withinstopifnot
. updatePackages
: Simplified validity check after packages are installed.- Using styler instead of formatR for code formatting.
- Removed formatR, gh, and reticulate, rmarkdown, tibble as suggested packages.
- Removed pipette and syntactic functions (e.g.
loadData
,saveData
;camelCase
,snakeCase
, etc.) as reexports, to avoid unwanted NAMESPACE collision message when loading pipette package.
installRecommendedPackages
: Added base R recommended packages that are normally included with binary installs: KernSmooth, MASS, Matrix, boot, class, cluster, codetools, foreign, lattice, mgcv, nlme, nnet, rpart, spatial, survival.
migrateRecommendedPackages
: Fixed function export and final assert check that assesses whether migration was successful.
migrateRecommendedPackages
: Added new function to migrate recommended packages installed by default in system library for R CRAN binaries.
installRecommendedPackages
: Increased the priority of data.table package, to ensure it builds from source to enable multiple cores with OpenMP support on macOS. The binary package of data.table is currently compiled with support for single core mode only on macOS.
valid
: Improved checks for old built system packages, by callingold.packages
internally. Currently, BiocManagervalid
variant doesn't check if built system packages are out of date.- Removed internal usage of custom Makevars.
- Removed reexports from lobstr package.
installRecommendedPackages
: No longer recommending RDAVIDWebService, which was removed in Bioconductor 3.14 update.
check
: Hardened URL checker to error on failure.
installRecommendedPackages
: Simplified this function. No longer allowing selection of specific optional packages to install, as this is too confusing.
- Improved file path normalization consistency using
.realpath
internally, matching our conventions defined in AcidBase. This helps improve file path message consistency on Windows.
drat
: Bug fix for default branch handling in drat repo.
check
: Added automatic package style checking using styler.install
: Now using koopa GCC for gfortran by default.- Updated lintr and testthat checks.
- Updated minimum R dependency to 4.2.
- Migrated
drat
andpkgdownDeployToAWS
from r-koopa package to here. - Improved
drat
engine to useR CMD build
andR CMD INSTALL --build
instead of devtools, which handles vignettes inside of binary packages properly.
- Simplified R package configuration on macOS, enforcing binary installs for difficult to build packages, when possible.
- Added support for custom styler theme defined as
acid_style
. - Added wrapper support for
style_dir
,style_file
, andstyle_pkg
, which uses ouracid_style
styler theme by default, instead of tidyverse conventions. In particular, this enforces 4 spaces instead of 2.
Minor changes:
- Renamed
installGitHub
toinstallFromGitHub
. installFromGitHub
: Addedbranch
argument support.valid
: Updated recommended install call to use AcidDevTools. This helps avoid compilation issues with tricky packages, such as sf.
Major changes:
valid
: Reworked to separately return install calls for outdated and pre-release packages. This now extracts return fromBiocManager::valid
.
Minor changes:
installRecommendedPackages
: Added GGally.
Minor changes:
install
: Switched back todependencies = NA
by default, matching base R conventions.install
: Bug fix for incorrect handling of geospatial library checks on Linux machines using system GDAL, GEOS, and PROJ.install
: No longer checking for~/.R/Makevars
.
Minor changes:
- Updated R dependency to 4.1, matching Bioconductor 3.14.
install
: Now ensures that sf, and other r-spatial packages install from source, with specific pinning to GEOS, GDAL, and PROJ.
Minor changes:
- Bug fix for autoconfiguration detection of Homebrew install prefix on Linux,
when
HOMEBREW_PREFIX
variable is defined, but the directory doesn't exist. This is currently the case with our updated koopa Renviron config.
Minor changes:
installRecommendedPackages
: Need to removeparallel
from this list.
Minor changes:
coverage
: Default coverage threshold bumped from 80% to 95%.installRecommendedPackages
: Added spatialreg package.test
: Improved error message on unit test failure. Now using named argument instopifnot
call, which is supported in R 4.0.
Major changes:
- Finally added code coverage for the package, using testthat.
- Added working examples when feasible for all functions.
install
,installGitHub
,installedPackages
,updatePackages
now support alib
argument.installGitHub
: Switchedrelease
argument totag
argument. User must now declare a specific tag instead of supporting install from default branch.
Minor changes:
- Consolidated alias functions:
cd
,clear
,d
,la
. check
: Added support forlints
andurls
overrides. Still enabled by default (non-breaking change), and calls lintr, urlchecker packages internally.dev
: Reduced the number of packages loaded. Now calls magrittr, testthat, goalie, and basejump.findAndReplace
: Reworked internal code using BiocParallel instead of parallel package, and switched from readr to base R for line import/export.getCurrentGitHubVersion
: Now supports multiple version checks in a single call, defined by therepo
argument.installRecommendedPackages
: Updated default list.- Bioconductor validity with
valid
now passeslib
argument (see above). - Default path in formal arguments has been changed from
"."
togetwd()
. load_all
: Simplified default alias.
- Reworked
check
,dev
, andtest
functions. - Tweaked
test
to calltestthat::test_dir
directly again. - Reworked default handling of code coverage. Disabled automatic code
coverage report checking when calling
test
. - Simplified the number of default packages loaded in
dev
. - Cleaned up internal comments for
load_all
.
- Reorganized internal functions.
check
: Now always runstest
internally, sincercmdcheck
in some cases doesn't run unit tests in R 4.1.- Migrated from using pryr to lobstr.
- Removed unused
memfree
function.
check
: AddedbiocCheck
andcoverage
arguments. Now checking package coverage for at least 80% coverage by default.
installRecommendedPackages
: Added GRmetrics and dr4pl, for IC50 calculations.
- Fix for BiocManager / install.packages handling in R 4.1
- Removed magrittr as an import, now that base R supports pipe in 4.1.
check
: Made lintr, urlchecker, and BiocCheck checks optional if these packages are not installed. This can be the case inside Docker images.
- Removed
clearWarnings
from exports, which doesn't seem to be compatible with R 4.1 due to inability to assignlast.warning
to base environment. memfree
: Now using%s
instead of%d
internally insprintf
call, due to hardened change in R 4.1.
installRecommendedPackages
: Made this function more modular, allowing for the user to specify which types of extra packages should be installed. Applies primarily to Bioconductor (i.e. next-generation sequencing) analysis packages, which can often be quite large and inappropriate for a compact virtual machine instance.
install
: Bug fix forstopifnot
check onmakevarsFile
.- Updated references to available and urlchecker packages.
install
: Improvedautoconf
handling for data.table, now using~/.R/Makevars
dynamically to define gfortran GCC compiler options used to enable OpenMP support for parallel threads on macOS.
install
: Improvedautoconf
handling for data.table, geos, rgl, and sf packages. Refer to internal.autoconf
code for details.
install
now ensures data.table gets built from source automatically. Currently on macOS, the prebuilt CRAN binaries don't enable parallel threading by default due to improper OpenMP configuration, which is annoying. Since we install the fxcoudert GCC compiler by default, let's use this instead to enable OpenMP and parallel processing support. May want to consider a similar approach in the future for Rcpp, etc.
- Increased verbosity of
dyn.load
calls duringload_all
, which is very useful for debugging package load time and dependency chain.
install
: Added newautoconf
option, which will automatically set internal configuration overrides automatically for some problematic packages (e.g. rgl on macOS).
load_all
alias now hashelpers = FALSE
set by default, to speed up package loads significantly.
- Renamed package from "bb8" to "AcidDevTools".
- Added veloviz and liger to recommended packages.
check
: Improved package name detection, which doesn't always correspond to the directory name. Using desc package to harden this. Also a couple of bug fixes related to checking outside of package working directory.printComment
: Bug fix to better set the width.- Removed
pc
alias, which can get masked by Bioconductor.
- Added
pc
alias forprintComment
, to reduce the amount of typing required during an interactive scripting session.
check
: Hardened against lintr check failure.
- Fix for packages with dependency issues: Seurat and dendsort.
install
: Improved automatic definition oftype
internally for manual local package installs.
updatePackages
: Improved error message handling when internal BiocManager validity checks fail. Wrapped usingtryCatch
call to better show which packages are responsible for the check failure.
installRecommendedPackages
: Install all packages by default.
- Added
currentBiocVersion
, which checks for current Bioconductor release version. updatePackages
now automatically upgrades the Bioconductor release, when applicable.
- Renamed
installDefaultPackages
toinstallRecommendedPackages
. - Fixed internal Bioconductor installation code.
install
: Attempt to improve internal repository handling.updatePackages
: Attempt to improve internal repository handling.
- Migrated
installBioconductor
code into koopa package. - Hardened
uninstall
andupdatePackages
against warnings.
installBioconductor
: Also include automatic installation of BiocCheck.
install
: Setdependencies
argument toTRUE
by default instead ofNA
, which will automatically install suggested packages.
Migrated some install functions from koopa R package:
installAcidverse
: Install all Acid Genomics packages.installBioconductor
: Wrapper forBiocManager::install
.installDefaultPackages
: Install default recommended R packages.
install
: Improve support for direct installation from a local file.
install
: Added support for automatic installation from a Git repository. Callsremotes::install_git
internally.
- Bug fix, ensuring tibble
view
is reexported.
- Draft update adding
view
as a reexport, from tibble package.
updateDeps
: Hardened against missing packages.
updatePackages
: Only attempt to update GitHub packages ifGITHUB_PAT
environment variable is set.
- Renamed acidbase package to AcidBase, and updated import here.
- Removed GitHub remotes to Acid Genomics packages.
updatePackages
: Don't attempt to remove brio, as it's now on CRAN.
- Bug fix for Bioconductor and CRAN/RSPM package detection.
installedPackages
: Improved detection of Acid Genomics packages installed fromr.acidgenomics.com
instead of GitHub.
install
: Don't attempt to update old packages by default.
updatePackages
: Migrated automatic CRAN and GitHub removals here from code previously defined in koopa.- Migrated
isCleanSystemLibrary
to goalie package.
Minor changes:
- Renamed
cleanSystemLibrary
toisCleanSystemLibrary.
Minor changes:
install
: Bug fix for skipping install from tarball URLs if the package is already installed. Can override withreinstall = TRUE
.
Minor changes:
install
now supports direct installation of package tarballs from URLs.
Minor changes:
install
now internally treats all warnings as errors.
Minor changes:
- Removed reexport of
export
andimport
from pipette package. Theexport
function doesn't detectsym
class correctly. - Switched magrittr from Depends to Imports.
Minor changes:
- Removed internal references to patrick package, which provides parameterized
unit testing. Now falling back to simply using
for
ormapply
loops instead inside of packages.
Minor changes:
updateDeps
: Now callinginstall
internally rather than handing off toBiocManager::install
call.
Major changes:
install
andinstallGitHub
now default toreinstall = TRUE
.
Minor changes:
- Renamed
getCurrentVersion
function togetCurrentGitHubVersion
.
Minor changes:
printComment
: Addedwidth
parameter. This allows for improved automatic return of comments at a desired width. Currently defaults to 80 characters.
Minor changes:
install
: Another bug fix. Switching fromvapply
tolapply
internally to capture return from BiocManager, as this output can vary.
Minor changes:
install
: Bug fix for systems lacking BiocManager or remotes packages. These dependencies are now installed in the fly if missing.
Minor changes:
installGitHub
: Bug fix for JSON parsing compability across Linux and macOS.
Major changes:
- Revert back to approach where package doesn't import any dependencies via
Imports
, instead only usingSuggests
. This allows for package update calls inside Travis CI checks and Docker images to work more consistently.
New functions:
installGitHub
: Install function that allows for versioned package installs without requiringGITHUB_PAT
variable to be set. Intended for use inside Docker images. Otherwise, useremotes::install_github
for interactive installs.
Major changes:
- Attempted to rework and simplify internal code, using acidbase and goalie as dependnecies. May revert back to no import approach.
rcmdcheck
now uses--as-cran
flag automatically.- Updated import to use pipette instead of brio.
- Updated
BiocCheck
reexport to not require biocViews in DESCRIPTION by default. This makes CI checks on non-Bioconductor packages destined for CRAN not error.
- Removed lookup package from reexports, to avoid accidental installation of
GitHub versions that cause
BiocManager::valid()
check to fail.
install
andupdatePackages
no longer attempt to install and/or update suggested packages by default. I ran into some dependency issues with Seurat (SDMTools and adehabitat). See Seurat issue #2377.
- Updated package documentation to support roxygen2 7.0 update.
- Added useful gh, locate, and remotes reexports.
- Added more useful interactive reexports, including pipes.
- Added
killAll
function, which callspkill rsession
internally. updateDeps
: Now attempts to update "Enhances", "LinkingTo", and "Suggests" by default.- Consistently using
system2
instead ofsystem
internally. - Added
getPackageVersion
, which gets current version of a GitHub package. - Added
isInstalled
, which checks againstinstalled.packages
return.
- Added
install
, which wrapsBiocManager::install
with some improved defaults for Mike's usage. - Added
updatePackages
, which wrapsBiocManager::install
andremotes::update_packages
with some improved defaults. - Rexporting additional useful functions that get loaded by default in an
interactive R session. See Mike's corresponding
Rprofile
dotfile. - Package doesn't load any other additional packages as dependencies, to keep loading super fast in a new R session.
- Removed
lint_dir
, which is now exported in lintr package. - Added
installedPackages
, which returns a camelCase formatteddata.frame
containing a "source" column. This column includes whether the package was installed from CRAN, Biocondcutor, GitHub, GitLab, orNA
(if system, or is a local build).
- Updated R dependency to 3.6.
- Improved
updateDeps
handling for Rcheck on Travis CI.
- Removed goalie dependency.
- Fixed
updateDeps
so it can run on Travis CI.
Initial stable release.