Recent Releases of box
box - box 1.2.0
Breaking changes
- Deprecation warning: in the next major version, ‘box’ will read the environment variable
R_BOX_PATHonly once, at package load time. Modifying its value afterwards will have no effect, unless the package is unloaded and reloaded. - ‘box’ no longer supports R 3.5 since the R build infrastructure (in particular ‘devtools’) no longer supports it.
Bug fixes
- Fix backports definitions so that they work in binary packages that were created using newer R versions (#347).
- Replace call to function that was added in R 4.0.0 to make package work again in R 3.6.3 (#335).
New and improved features
- Prevent accidental misuse by checking that arguments to
box::file()andbox::export()are unnamed (#334). - The
methodargument ofbox::register_S3_method()is now optional (#305).
This version corresponds to version 1.2.0 on CRAN.
- R
Published by klmr about 2 years ago
box - box 1.1.3
Bug fixes
- Silence warnings caused by an internal change of the R HTML help display functionality (#255, #278).
- Support loading modules inside RStudio even when ‘rstudioapi’ is not installed (#293).
- Do not crash in the presence of missing arguments in function calls inside modules (#266).
- Support trailing comma in in reexports via
box::use()(#263).
New and improved features
- Add
box::topenv()function, analogous tobase::topenv()(#310). - Support lazy loading data from packages (#219).
- Improve error messages for invalid
box::use()declarations (#253). - Add
box::purge_cache()function to force reloading all modules (@kamilzyla, #236).
This version corresponds to version 1.1.3 on CRAN.
- R
Published by klmr almost 3 years ago
box - box 1.1.2
This release contains the vignettes that were missing from the previous CRAN release. It contains no other changes.
This version corresponds to version 1.1.2 on CRAN
- R
Published by klmr almost 4 years ago
box - box 1.1.1
This version contains no changes. It merely fixes a bug inside a unit test that triggered a CRAN check failure.
This version corresponds to version 1.1.1 on CRAN.
- R
Published by klmr almost 4 years ago
box - box 1.1.0
Breaking changes
- Modules without any
@exportdeclarations now export all visible names (= names not starting with a dot); to obtain the previous semantics of a module without exports, add a call tobox::export()to the module source code. box::set_script_pathnow returns the full path previously set, as documented, not just its parent directory’s path. Existing code that relies on this function’s previously incorrect behaviour will need to be updated.
General
- Fix: work around broken
isRunningfunction in Shiny ≥1.6.0 (#237) - Fix: Return the full path from
box::set_script_path, not just the parent directory’s path;box::script_pathnow also returns that path without requiring the user to set a new path (#239) - Enhancement: More descriptive error messages when calling
box::unloadorbox::reloadwith an invalid argument (#232) - Enhancement: More descriptive error messages when a module cannot be found or when there’s a syntactic error in a
box::usedeclaration - Fix: Better detection of whether code is called from inside RStudio (#225)
- Fix: Work around R bug in path handling on non-Windows platforms when paths passed to the R binary contain spaces
- Enhancement: Support legacy modules (aka. R scripts) better by exporting all visible names (#207)
- Enhancement: Permit specifying exports via a function call instead of via
@exportdeclarations (#227) - Fix: Make interactive HTML module help work on Windows (#223)
- Fix: Prevent segfault in R ≤ 3.6.1 caused by missing declaration of internal R symbol (#213)
- Fix: Allow exporting modules that were previously imported using a different prefix (#211)
- Enhancement: Add standard module for core R packages (#200)
- Enhancement: Warn when legacy functions are imported inside modules (#206)
- Fix: Reload dependent modules (#39, #165, #195)
- Enhancement: Support empty modules
- Fix: Don’t crash in the presence of nested, expanded functions inside modules (#203)
This version corresponds to version 1.1.0 on CRAN.
- R
Published by klmr over 4 years ago
box - box 1.0.2
- Make
box::helpwork with attached objects (#170) - Allow trailing comma in attach list (#191)
- Make
box::use(.)syntax work (#192)
This version corresponds to version 1.0.2 on CRAN.
- R
Published by klmr almost 5 years ago
box - box 1.0.1
- Enhancement: Allow trailing comma in
box::use()(#172) - Enhancement: Support loading local modules from open files in RStudio (#187)
- Enhancement: improve error message and performance for module environment name
access via
$(#180) - Enhancement: Add explicit support for ‘testthat’ (#188)
- Fix: Attach names starting with a dot (#186)
This version corresponds to version 1.0.1 on CRAN.
- R
Published by klmr almost 5 years ago
box - box 1.0.0
This is a complete rewrite of the package formerly known as ‘modules’. See the migration guide for more information.
This version corresponds to version 1.0.0 on CRAN.
- R
Published by klmr almost 5 years ago
box - version-0.9.11
Changes since last release:
- 0.9.11:
- Fix
script_pathwhen R arguments contain certain valid patterns (#148) - Fix S3 modules on R 3.6.0 (#147)
- Fix
- R
Published by klmr over 6 years ago
box - version-0.9.10
Changes since last release:
0.9.10:
- Fix incompatibility with roxygen2 v6.1.0
0.9.9:
- Fix
module_fileargument check (#90) - Add clickable links to “See also” section in documentation (#56)
- Fix a regression in the “basic-usage” vignette (#122)
- Dispatch calls to
`?`andhelpto devtools, if necessary (#34) - Run
documenttwice to ensure S3 exports are correctly generated (#117, hadley/devtools#1585) - Make Shiny runtime test more robust (#69)
- Fix crash in S3 recognition when function bodies have been substituted at runtime (#125)
- Fix
- R
Published by klmr over 7 years ago
box -
Changes since last release:
0.9.8:
- Fix missing S3 methods bug (#117)
- Fix missing exported operators (#93)
0.9.7:
- Support rudimentary HTML help
- Fix
help(package = …)(#38, #73)
0.9.6:
- Fix broken interaction with Roxygen2 (#103)
0.9.5:
- Locally attach ‹modules› inside modules (#44)
0.9.4:
- Fix regression in 0.9 when ‹modules› package is not attached
- Fix
R CMD CHECKwarnings - Fix missing documentation of
import(#78)
- R
Published by klmr over 8 years ago