Skip to content

mvbutils

2.12.120Package record

General utilities, workspace organization, code and doc editing, live package maintenance, etc

1packages dependsuggested by 1
7.4Kdownloads / year
–test coverage
8/13flavors OK

Overview

About

Hierarchical workspace tree, code editing and backup, easy package prep, editing of packages while loaded, per-object lazy-loading, easy documentation, macro functions, and miscellaneous utilities. Needed by various packages including debug, offarray, and kinference.

Changes in 2.12.120
  • yet more fixes to pointless fixes

From NEWS in the release

Install

Health

CRAN checks
4ERROR1NOTE8OK
Check messages
ERRORexamplesr-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-release-macos-arm64, r-release-macos-x86_64

r-oldrel-macos-x86_64, r-release-macos-x86_64

Running examples in ‘mvbutils-Ex.R’ failed
The error most likely occurred in:

> ### Name: numvbderiv_parallel
> ### Title: Economy numerical derivatives
> ### Aliases: numvbderiv_parallel numvbderiv
> ### Keywords: misc
> 
> ### ** Examples
> 
> # Complex numbers are OK:
> numvbderiv( function( x) x*x, complex( real=1, imaginary=3))
[1] 2+6i
> # [1] 2+6i
> # Parallel example...  the whole point is to show speed and generality
> # Works fine on my machine
> # But if testing under CRAN, which I normally never do,
> # then CRAN's ludicrous 2-core limit, and deliberate inability to
> # check CRANality (or even number of cores _allowed_) while running,
> # makes this completely ridiculous
> # Not for the first time
> # I have used the function 'get_ncores_CRANal' to try to get round this...
> if( require( 'doParallel')){ # auto loads foreach, iterators, parallel thx2 "Depends"
+   ncores <- detectCores( logical=FALSE)
+   scatn( '%i cores really found', ncores)
+   if( ncores > 2 ){ # poin
...[truncated]...
s you do need to explicitly export stuff to the slave processes
+     # Here's a version that will get paroffset from datenv
+     # datenv must exist...
+     alt_fun2 <- function( pars){
+       environment( fun2) <- list2env( datenv)
+       fun2( pars)
+     }
+     scatn( 'With explicit data (in parallel)')
+     datenv <- as.list( e)
+     print( numvbderiv_parallel( alt_fun2, parstart,
+         FOREACH_ARGS=list(
+           .packages= 'mvbutils',
+           .export= cq( datenv, fun2) # stuff that alt_fun2 refers to
+           )
+       )
+     )
+     # Always tidy up your clusters once you have finished playing
+     stopImplicitCluster()
+     stopCluster( CLUSTO)
+     rm( CLUSTO)
+   } # if ncores>2
+ } # parallel
Loading required package: doParallel
Loading required package: foreach
Loading required package: iterators
Loading required package: parallel
6 cores really found
Error in stopCluster(CLUSTO) : CRANtidote
Calls: get_ncores_CRANal -> stopCluster
Execution halted

r-oldrel-macos-arm64

Running examples in ‘mvbutils-Ex.R’ failed
The error most likely occurred in:

> ### Name: numvbderiv_parallel
> ### Title: Economy numerical derivatives
> ### Aliases: numvbderiv_parallel numvbderiv
> ### Keywords: misc
> 
> ### ** Examples
> 
> # Complex numbers are OK:
> numvbderiv( function( x) x*x, complex( real=1, imaginary=3))
[1] 2+6i
> # [1] 2+6i
> # Parallel example...  the whole point is to show speed and generality
> # Works fine on my machine
> # But if testing under CRAN, which I normally never do,
> # then CRAN's ludicrous 2-core limit, and deliberate inability to
> # check CRANality (or even number of cores _allowed_) while running,
> # makes this completely ridiculous
> # Not for the first time
> # I have used the function 'get_ncores_CRANal' to try to get round this...
> if( require( 'doParallel')){ # auto loads foreach, iterators, parallel thx2 "Depends"
+   ncores <- detectCores( logical=FALSE)
+   scatn( '%i cores really found', ncores)
+   if( ncores > 2 ){ # poin
...[truncated]...
 you do need to explicitly export stuff to the slave processes
+     # Here's a version that will get paroffset from datenv
+     # datenv must exist...
+     alt_fun2 <- function( pars){
+       environment( fun2) <- list2env( datenv)
+       fun2( pars)
+     }
+     scatn( 'With explicit data (in parallel)')
+     datenv <- as.list( e)
+     print( numvbderiv_parallel( alt_fun2, parstart,
+         FOREACH_ARGS=list(
+           .packages= 'mvbutils',
+           .export= cq( datenv, fun2) # stuff that alt_fun2 refers to
+           )
+       )
+     )
+     # Always tidy up your clusters once you have finished playing
+     stopImplicitCluster()
+     stopCluster( CLUSTO)
+     rm( CLUSTO)
+   } # if ncores>2
+ } # parallel
Loading required package: doParallel
Loading required package: foreach
Loading required package: iterators
Loading required package: parallel
16 cores really found
Error in stopCluster(CLUSTO) : CRANtidote
Calls: get_ncores_CRANal -> stopCluster
Execution halted

r-release-macos-arm64

Running examples in ‘mvbutils-Ex.R’ failed
The error most likely occurred in:

> ### Name: numvbderiv_parallel
> ### Title: Economy numerical derivatives
> ### Aliases: numvbderiv_parallel numvbderiv
> ### Keywords: misc
> 
> ### ** Examples
> 
> # Complex numbers are OK:
> numvbderiv( function( x) x*x, complex( real=1, imaginary=3))
[1] 2+6i
> # [1] 2+6i
> # Parallel example...  the whole point is to show speed and generality
> # Works fine on my machine
> # But if testing under CRAN, which I normally never do,
> # then CRAN's ludicrous 2-core limit, and deliberate inability to
> # check CRANality (or even number of cores _allowed_) while running,
> # makes this completely ridiculous
> # Not for the first time
> # I have used the function 'get_ncores_CRANal' to try to get round this...
> if( require( 'doParallel')){ # auto loads foreach, iterators, parallel thx2 "Depends"
+   ncores <- detectCores( logical=FALSE)
+   scatn( '%i cores really found', ncores)
+   if( ncores > 2 ){ # poin
...[truncated]...
 you do need to explicitly export stuff to the slave processes
+     # Here's a version that will get paroffset from datenv
+     # datenv must exist...
+     alt_fun2 <- function( pars){
+       environment( fun2) <- list2env( datenv)
+       fun2( pars)
+     }
+     scatn( 'With explicit data (in parallel)')
+     datenv <- as.list( e)
+     print( numvbderiv_parallel( alt_fun2, parstart,
+         FOREACH_ARGS=list(
+           .packages= 'mvbutils',
+           .export= cq( datenv, fun2) # stuff that alt_fun2 refers to
+           )
+       )
+     )
+     # Always tidy up your clusters once you have finished playing
+     stopImplicitCluster()
+     stopCluster( CLUSTO)
+     rm( CLUSTO)
+   } # if ncores>2
+ } # parallel
Loading required package: doParallel
Loading required package: foreach
Loading required package: iterators
Loading required package: parallel
12 cores really found
Error in stopCluster(CLUSTO) : CRANtidote
Calls: get_ncores_CRANal -> stopCluster
Execution halted
NOTER code for possible problemsr-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
cd.load: possible error in mget("tasks", pos = 2, ifnotfound =
  list(character(0))): unused argument (pos = 2)
get.cd.from.menu: possible error in mget("tasks", pos = 1, ifnotfound =
  list(structure(character(0), names = character(0)))): unused argument
  (pos = 1)
make.new.cd.task: possible error in mget("tasks", pos = 2, ifnotfound =
  list(character(0))): unused argument (pos = 2)

CRAN check page ↗

Slowest check: 3.2 min · r-oldrel-macos-x86_64
Status changes
  • ERROR8 OK, 1 NOTE, 4 ERRORNow
  • ERROR7 OK, 2 NOTE, 4 ERROR2026-05-26
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.12.120
READMENoVignettesNoNEWSYes · 100% structured · mentions 2.12.120Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
91 (6 internal)includes a package overview page
Examples that run
63%45 run in a plain check · 26 never run
Exported functions with examples
81%
Documented parameters
83%
Return-value docs
63%
Help pages citing references
1%

Also includes 3 demo scripts (run with demo())

Downloads

7.4K
CRAN downloads in the past year
Rank #4,566 · ~20/day · ~617/mo
Daily download trend is not available in this view yet.
63230 days
1.8K90 days
7.4K1 year
Compare downloads with other packages →
Also on146 r2u5 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing mvbutils adds no packages beyond those that come with R.

Depends (1)
R >= 4.2
Imports (5)
utilstoolsstatsgrDevicesgraphics
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0 (2004)
Listed in earlier versions (1)
Bravington
no longer listed · 2.12.120
Releases (15)

Pick two releases to compare their code metrics.

  • 2.12.120Latest
    record
    2026-05-25 · current release · diff ↗ ·
    removed 10 exports
    add.flatdoc.to, full.path, load.refdb, make.arguments.section, make.usage.section, write.sourceable.function, yes.no") import( utils) import( tools) import( stats) import( graphics) S3method( "[, dull") S3method( "print, while") S3method( "plot, foodweb") S3method( "as.env
    added 64 exports
    %has.name%, %in.names.of%, %THAT.DONT.MATCH%, %that.end.with%, %THAT.MATCH%, %that.start.with%, A2D, add_list_defaults, atts, autodate, bugfix_Rd2roxygen, cat_strings_rawly, clamp, Clink_packages, compacto, compare_spack_code, compare_spacks, D2A, dedoc_namespace, disatt, docattr, dummy_PIBH, DYN.UNLOAD, eclone, find.scriptlets, get_ncores_CRANal, gitup_pkg, inv.logit, locally_import, logit and 34 more
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 2.8.232
    record
    2018-12-12 · diff ↗ ·
    removed 1 export
    yes.no
    added 51 exports
    %<-%, %not.in.range%, check.patch.versions, create.wrappers.for.dll, do.on, FOR, integ, ldyn.tester, ldyn.unload, library.dynam.reg, make_dull, max_pkg_ver, NEG, noice, print.(, print.{, print.<-, print.for, print.if, print.name, print.pagertemp, print.while, set.finalizer, sleuth, yes.no") import( utils) import( tools) import( stats) import( graphics) S3method( "[, dull") S3method( "rbind, data.frame") S3method( "close, selfdeleting.file") S3method( "format, dull") S3method( "print, (") S3method( "print and 21 more
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 2.7.4.1
    record
    2013-04-17 · diff ↗
Show 31 earlier eventsHide 31 earlier events
  • R
    R 3.0.0 released · 2013-04-03
  • 2.7.4
    record
    2013-02-07 · diff ↗ ·
    removed 8 exports
    exists.mvb, Hours, length<-.POSIXct, lib.pos, Minutes, mvb.sys.on.exit, my.package.path, Seconds
    added 21 exports
    ?, cull.old.builds, ditto.list, docotest, help, isF, isT, mvb.eval.parent, nscatn, plot.cdtree, plot.foodweb, print, print.call, print.cat, print.default, print.function, print.specialprint, rbdf, rbind, rbind.data.frame, spkg
  • R
    R 2.15.0 released · 2012-03-30
  • 2.5.101
    record
    2011-11-02 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 2.5.90
    record
    2011-10-27 · diff ↗ ·
    removed 2 exports
    as.data.frame.I, restore.all.backups
    added 21 exports
    %grepling%, %perling%, build.pkg, build.pkg.binary, changed.funs, check.pkg, env.name.string, everyth, fast.read.fwf, find.lurking.envs, generic.dll.loader, install.pkg, length<-.POSIXct, most.recent, my.package.path, nscat, read.bkind, scatn, set.rcmd.vars, unmaintain.package, warn.and.subset
  • R
    R 2.13.0 released · 2011-04-13
  • 2.5.4
    record
    2011-01-05 · diff ↗ ·
    added 3 exports
    %grepling%, %perling%, my.package.path
  • 2.5.3
    record
    2010-10-18 · diff ↗ ·
    removed 5 exports
    autoFF, docskel, restore.all.backups, unmaintain.packages, .Last.lib
    added 14 exports
    %that.dont.match%, %where.warn%, env.name.string, everyth, fast.read.fwf, find.lurking.envs, mcut, mintcut, most.recent, patch.install, read.bkind, unmaintain.package, unpackage, warn.and.subset
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 2.5.1
    record
    2010-04-12 · diff ↗ ·
    removed 9 exports
    %grepling%, %perling%, env.name.string, everyth, fast.read.fwf, most.recent, my.package.path, unmaintain.package, warn.and.subset
  • 2.5.0
    record
    2009-11-13 · diff ↗ ·
    removed 2 exports
    find.lurking.envs, read.bkind
    added 1 export
    restore.all.backups
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • 2.2.0
    record
    2008-11-06 · diff ↗ ·
    removed 3 exports
    formalize.package, mlibrary, README.mvbutils
    added 35 exports
    %**%, %not.in%, add.flatdoc.to, as.cat, assign.to.base, autoedit, cdregexpr, docskel, dont.lock.me, dont.lockBindings, fixtext, full.path, hack, help2flatdoc, Hours, localfuncs, lsize, maintain.packages, make.arguments.section, make.usage.section, massrep, Minutes, multinsert, multirep, patch.installed, pre.install, remove.from.package, rm.pkg, search.for.regexpr, search.task.trees and 5 more
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • R
    R 2.2.0 released · 2005-10-06
  • 1.1.1
    record
    2005-05-10 · diff ↗
  • R
    R 2.1.0 released · 2005-04-18
  • 1.1.0
    record
    2005-04-07 · diff ↗ ·
    added 102 exports
    %!in%, %&%, %downto%, %except%, %in.range%, %is.a%, %is.an%, %is.not.a%, %is.not.an%, %matching%, %such.that%, %SUCH.THAT%, %that.are.in%, %that.match%, %upto%, %where%, %without.name%, as.data.frame.I, attach.mlazy, autoFF, callees.of, callers.of, cd, cd.change.all.paths, cd.write.mvb.tasks, cdfind, cditerate, cdprompt, cdtree, clip and 72 more
  • R
    R 2.0.0 released · 2004-10-04
  • R
    R 1.9.0 released · 2004-04-12
  • 1.0.1
    record
    2004-02-20 · diff ↗
  • 1.0
    record
    2004-01-22
  • R
    R 1.8.0 released · 2003-10-08

Package metadata

First published
2004-01-22
Total releases
15 / 22 yrs
License
GPL (>= 2) OSI
Additional repositories
markbravington.r-universe.dev
Minimum R
≥ 4.2
Download size
436 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mvbutils")
Bravington, M. V. (2026). mvbutils: General utilities, workspace organization, code and doc editing, live package maintenance, etc (Version 2.12.120) [Computer software]. https://doi.org/10.32614/CRAN.package.mvbutils

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mvbutils version 2.12.120 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy