Package: withr 3.0.2
withr: Run Code 'With' Temporarily Modified Global State
A set of functions to run code 'with' safely and temporarily modified global state. Many of these functions were originally a part of the 'devtools' package, this provides a simple package with limited dependencies to provide access to these functions.
Authors:
withr_3.0.2.tar.gz
withr_3.0.2.tar.gz(r-4.5-noble)withr_3.0.2.tar.gz(r-4.4-noble)
withr_3.0.2.tgz(r-4.4-emscripten)withr_3.0.2.tgz(r-4.3-emscripten)
withr.pdf |withr.html✨
withr/json (API)
NEWS
# Install 'withr' in R: |
install.packages('withr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/r-lib/withr/issues
Last updated 1 days agofrom:7563bb049e. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 28 2024 |
R-4.5-linux | OK | Oct 28 2024 |
Exports:deferdefer_parentdeferred_cleardeferred_runglobal_deferlocal_local_bmplocal_cairo_pdflocal_cairo_pslocal_collatelocal_connectionlocal_db_connectionlocal_dirlocal_environmentlocal_envvarlocal_filelocal_jpeglocal_languagelocal_libpathslocal_localelocal_makevarslocal_message_sinklocal_namespacelocal_optionslocal_output_sinklocal_packagelocal_parlocal_pathlocal_pdflocal_pnglocal_postscriptlocal_preserve_seedlocal_rng_versionlocal_seedlocal_svglocal_temp_libpathslocal_tempdirlocal_tempfilelocal_tifflocal_timezonelocal_xfigmakevars_userset_makevarswith_with_bmpwith_cairo_pdfwith_cairo_pswith_collatewith_connectionwith_db_connectionwith_dirwith_environmentwith_envvarwith_filewith_jpegwith_languagewith_libpathswith_localewith_makevarswith_message_sinkwith_namespacewith_optionswith_output_sinkwith_packagewith_parwith_pathwith_pdfwith_pngwith_postscriptwith_preserve_seedwith_rng_versionwith_seedwith_svgwith_temp_libpathswith_tempdirwith_tempfilewith_tiffwith_timezonewith_xfig
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Defer Evaluation of an Expression | defer deferred_clear deferred_run defer_parent |
Graphics devices | devices local_bmp local_cairo_pdf local_cairo_ps local_jpeg local_pdf local_png local_postscript local_svg local_tiff local_xfig with_bmp with_cairo_pdf with_cairo_ps with_dev with_device with_jpeg with_pdf with_png with_postscript with_svg with_tiff with_xfig |
Collation Order | local_collate with_collate |
Connections which close themselves | local_connection with_connection |
DBMS Connections which disconnect themselves. | local_db_connection with_db_connection |
Working directory | local_dir with_dir |
Environment variables | local_envvar with_envvar |
Files which delete themselves | local_file with_file |
Torture Garbage Collector | with_gctorture2 |
Language | local_language with_language |
Library paths | local_libpaths with_libpaths |
Locale settings | local_locale with_locale |
Makevars variables | local_makevars with_makevars |
Options | local_options with_options |
Execute code with a modified search path | local_environment local_namespace local_package with_environment with_namespace with_package |
Graphics parameters | local_par with_par |
PATH environment variable | local_path with_path |
RNG version | local_rng_version with_rng_version |
Random seed | local_preserve_seed local_seed with_preserve_seed with_seed |
Output redirection | local_message_sink local_output_sink with_message_sink with_output_sink with_sink |
Library paths | local_temp_libpaths with_temp_libpaths |
Temporary files and directories | local_tempdir local_tempfile with_tempdir with_tempfile |
Time zone | local_timezone with_timezone |
Execute code in temporarily altered environment | withr-package withr |