New functions:
inspectRow
: Quickly examine nested values in a data.frame
row. Supports
any object that can be coerced to a data.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 from HumanToMouse
to JaxHumanToMouse
. This
affected AcidSingleCell and DESeqAnalysis. Function is vectorized, supporting
multiple packageName
in a single call.Minor changes:
view2
: Need to set optional = TRUE
for as.data.frame
coercion.Minor changes:
New functions:
cacheTestFiles
: New utility function used in other packages to quickly
cache files for testthat build checks.longtest
: Variant of test
that runs optional tests defined in longtests
.
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.pkgdownDeployToAWS
to pkgdownDeployToAws
.Minor changes:
check
: Don't check as CRAN by default. Can have issues with
requireNamespace
not finding packages as expected.Minor changes:
check
: Check as CRAN by default. Also added tweaks to BiocCheck
settings.Minor changes:
packageDependencies
: Can now disable recursion using recursive = 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 testthat test
does not return successful if any errors
or warnings are detected. This requires coercion of testthat_results
to
a data.frame
.Minor changes:
is
call.Minor changes:
check
: Rework assert check for testthat results return.Minor changes:
check
: Need to pass package location to style_pkg
.New functions:
size
: Returns object size in a human readable format. Calls object.size
and format
internally.Minor changes:
test
: Now using test_local
instead of test_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 when pkgType
is set
to "both"
mode. This applies primarily to macOS.findAndReplace
now uses parallel instead of BiocParallel internally.devinstall
: Improved install support of Bioconductor dependencies when
dependencies = TRUE
is set.drat
function to publish
, which is a better verb.valid
: Bug fix for incorrect quoting of package names.valid
: Improved singular/plural handling of package names.valid
: Restricted internal old.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 back type
argument, to install from source when required
on macOS, as a lot of binaries are still not being built in a timely manner.dev
function.stopifnot
instead of assert
, and message
instead
of alert
.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 within stopifnot
.updatePackages
: Simplified validity check after packages are installed.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 calling
old.packages
internally. Currently, BiocManager valid
variant doesn't
check if built system packages are out of date.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..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.drat
and pkgdownDeployToAWS
from r-koopa package to here.drat
engine to use R CMD build
and R CMD INSTALL --build
instead of devtools, which handles vignettes inside of binary packages
properly.acid_style
.style_dir
, style_file
, and style_pkg
, which
uses our acid_style
styler theme by default, instead of tidyverse
conventions. In particular, this enforces 4 spaces instead of 2.Minor changes:
installGitHub
to installFromGitHub
.installFromGitHub
: Added branch
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 from BiocManager::valid
.Minor changes:
installRecommendedPackages
: Added GGally.Minor changes:
install
: Switched back to dependencies = 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:
install
: Now ensures that sf, and other r-spatial packages install from
source, with specific pinning to GEOS, GDAL, and PROJ.Minor changes:
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 remove parallel
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
in stopifnot
call, which is supported in R 4.0.Major changes:
install
, installGitHub
, installedPackages
, updatePackages
now
support a lib
argument.installGitHub
: Switched release
argument to tag
argument. User must now
declare a specific tag instead of supporting install from default branch.Minor changes:
cd
, clear
, d
, la
.check
: Added support for lints
and urls
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 the repo
argument.installRecommendedPackages
: Updated default list.valid
now passes lib
argument (see above)."."
to getwd()
.load_all
: Simplified default alias.check
, dev
, and test
functions.test
to call testthat::test_dir
directly again.test
.dev
.load_all
.check
: Now always runs test
internally, since rcmdcheck
in some cases
doesn't run unit tests in R 4.1.memfree
function.check
: Added biocCheck
and coverage
arguments.
Now checking package coverage for at least 80% coverage by default.installRecommendedPackages
: Added GRmetrics and dr4pl, for
IC50 calculations.check
: Made lintr, urlchecker, and BiocCheck checks optional if these
packages are not installed. This can be the case inside Docker images.clearWarnings
from exports, which doesn't seem to be compatible
with R 4.1 due to inability to assign last.warning
to base environment.memfree
: Now using %s
instead of %d
internally in sprintf
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 for stopifnot
check on makevarsFile
.install
: Improved autoconf
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
: Improved autoconf
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.dyn.load
calls during load_all
, which is very
useful for debugging package load time and dependency chain.install
: Added new autoconf
option, which will automatically set internal
configuration overrides automatically for some problematic packages
(e.g. rgl on macOS).load_all
alias now has helpers = FALSE
set by default, to speed up
package loads significantly.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.pc
alias, which can get masked by Bioconductor.pc
alias for printComment
, to reduce the amount of typing required
during an interactive scripting session.check
: Hardened against lintr check failure.install
: Improved automatic definition of type
internally for manual
local package installs.updatePackages
: Improved error message handling when internal BiocManager
validity checks fail. Wrapped using tryCatch
call to better show which
packages are responsible for the check failure.installRecommendedPackages
: Install all packages by default.currentBiocVersion
, which checks for current Bioconductor release
version.updatePackages
now automatically upgrades the Bioconductor release, when
applicable.installDefaultPackages
to installRecommendedPackages
.install
: Attempt to improve internal repository handling.updatePackages
: Attempt to improve internal repository handling.installBioconductor
code into koopa package.uninstall
and updatePackages
against warnings.installBioconductor
: Also include automatic installation of BiocCheck.install
: Set dependencies
argument to TRUE
by default instead of NA
,
which will automatically install suggested packages.Migrated some install functions from koopa R package:
installAcidverse
: Install all Acid Genomics packages.installBioconductor
: Wrapper for BiocManager::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.
Calls remotes::install_git
internally.view
is reexported.view
as a reexport, from tibble package.updateDeps
: Hardened against missing packages.updatePackages
: Only attempt to update GitHub packages if GITHUB_PAT
environment variable is set.updatePackages
: Don't attempt to remove brio, as it's now on CRAN.installedPackages
: Improved detection of Acid Genomics packages installed
from r.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.isCleanSystemLibrary
to goalie package.Minor changes:
cleanSystemLibrary
to isCleanSystemLibrary.
Minor changes:
install
: Bug fix for skipping install from tarball URLs if the package
is already installed. Can override with reinstall = 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:
export
and import
from pipette package.
The export
function doesn't detect sym
class correctly.Minor changes:
for
or mapply
loops instead
inside of packages.Minor changes:
updateDeps
: Now calling install
internally rather than handing off to
BiocManager::install
call.Major changes:
install
and installGitHub
now default to reinstall = TRUE
.Minor changes:
getCurrentVersion
function to getCurrentGitHubVersion
.Minor changes:
printComment
: Added width
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 from vapply
to lapply
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:
Imports
, instead only using Suggests
. 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 requiring GITHUB_PAT
variable to be set. Intended for use inside
Docker images. Otherwise, use remotes::install_github
for interactive
installs.Major changes:
rcmdcheck
now uses --as-cran
flag automatically.BiocCheck
reexport to not require biocViews in DESCRIPTION by
default. This makes CI checks on non-Bioconductor packages destined for
CRAN not error.BiocManager::valid()
check to fail.install
and updatePackages
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.killAll
function, which calls pkill rsession
internally.updateDeps
: Now attempts to update "Enhances", "LinkingTo", and "Suggests"
by default.system2
instead of system
internally.getPackageVersion
, which gets current version of a GitHub package.isInstalled
, which checks against installed.packages
return.install
, which wraps BiocManager::install
with some improved
defaults for Mike's usage.updatePackages
, which wraps BiocManager::install
and
remotes::update_packages
with some improved defaults.Rprofile
dotfile.lint_dir
, which is now exported in lintr package.installedPackages
, which returns a camelCase formatted data.frame
containing a "source" column. This column includes whether the package was
installed from CRAN, Biocondcutor, GitHub, GitLab, or NA
(if system, or is
a local build).updateDeps
handling for Rcheck on Travis CI.updateDeps
so it can run on Travis CI.Initial stable release.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.