Changelog
Source:NEWS.md
dipsaus 0.3.1
- Using
importFrominstead importing the wholeshinypackage - Fixed compatibility issue when using customized
shinycomponents inbslib -
get_ipno longer throw warnings - Added
sessionas argument toclose_alert2 - Using
Rcppinstead of native interface to avoid the internal API calls toENCLOSandCLOSENV -
future::plancalls is automatically cleaned by default
dipsaus 0.3.0
CRAN release: 2024-12-17
- Improved
lapply_asyncand tries to automatically set global variable sizes when large environment and variables need to be serialized - Removed
magrittr,remotes, andgluefrom ‘Suggests’
dipsaus 0.2.8
CRAN release: 2023-07-03
Changes
- Added
fancyFileInputwith customizedCSSto originalshiny::fileInput
dipsaus 0.2.7
CRAN release: 2023-05-26
Changes
- Added more default shortcuts
- Used
system2instead ofsysteminrs_runjob_altfor more controls - Upgraded
JavaScriptlibraries - Fixed
lapply_async2not respecting chunk size whencallbackis unspecified - Removed
cpp11compiling flags to use system defaults - Actively clear users cache directory when directories are empty
dipsaus 0.2.6
CRAN release: 2023-01-21
Changes
- Fixed
fastmap2andfastqueue2when subsetting with missing index resulting in errors - Re-exports some
cli,rlangfunctions - Using the most recent fixed version of
tinythreadthat correctly joinpthread - Allowed
rs_execto return as a promise object - Removed
base64urlfrom dependence and implemented equivalent functions usingbase64enc - Removed
prepare_install2 - Removed
startupfrom dependence - Fixed
Javascriptvulnerability issues
dipsaus 0.2.5
CRAN release: 2022-10-22
Changes
- Removed
RcppParallel, usingTinyThreadonly to avoidTBBrelated installation issues - Removed
autoconfscript, using a much simpler way to generate compiler flags - Added keyboard shortcut to run debugging code easily
- Allowed
parse_svecto have space around connectors - Added a new method to
baseline_arrayfor absolute contrast
dipsaus 0.2.4
CRAN release: 2022-08-24
dipsaus 0.2.3
CRAN release: 2022-08-06
Minor Changes
-
parse_svechandles multiple lengths all together, andparse_svec(1:10)is equivalent toparse_svec("1:10") - Allowed
rs_execto run nested. However, there is a risk of parent process ends before the nested child process finishes. In this case, parent temporary directory will be destroyed, and child process will become orphan (results will become unavailable)
dipsaus 0.2.2
CRAN release: 2022-06-18
dipsaus 0.2.1
CRAN release: 2022-05-29
Major Changes
- Removed
synchronicitypackage from dependency -
dipsaus_lockanddipsaus_unlockis exclusive-only and will be deprecated in the future -
PersistContaineris scheduled to be deprecated in the future - Re-export
detectCoresanddigest - Added
get_credentialto generate strong passwords for different services using one single master password
dipsaus 0.2.0
CRAN release: 2022-01-27
dipsaus 0.1.8
CRAN release: 2021-09-06
dipsaus 0.1.7
CRAN release: 2021-07-26
Major Changes
- Added
fastquantileto estimate single quantile, which is faster than base R - Added
RStudioshortcuts, allowing customized code from shortcuts - Added
shiny_alert2that launches large alerts in shiny applications - Added
%<-?%to only assign when right-hand side expression is valid and not null - Removed
qs_map,redis_map - Removed dependence
qs,RcppRedis,htmltools - Removed
make_async_evaluator
dipsaus 0.1.6
CRAN release: 2021-07-08
Major Changes
- Added
fastcov2to calculate covariance in parallel - Added
sumsquaredto calculate sum-squared faster - Added
sexp_typeto obtain internal data type code
dipsaus 0.1.3
CRAN release: 2021-02-13
Major Changes
- Added a wrapper for
fastmap::fastqueue(fastqueue2) that shows friendly messages and can query elements - Added wrapper method to convert any
Base64string to its generating string - Soft-deprecate
lockandunlockfunctions - Soft remove the experimental function
make_async_evaluatorto embrace the newrestbatchpackage
dipsaus 0.1.2
CRAN release: 2021-01-10
Major Changes
- Added
make_forked_clustersandlapply_async2now restores previous future strategy one exiting
dipsaus 0.1.1
CRAN release: 2020-10-09
Major Changes
- Added
async_worksto allow scheduling works in the background using multiple sessions.
dipsaus 0.1.0
CRAN release: 2020-08-12
dipsaus 0.0.9
CRAN release: 2020-07-17
Major Changes
- Added
rstudioapirelated functions. When running with ‘RStudio’, take advantages of ‘RStudio’ user interface; when running in console, or non-interactive context, use default methods.-
rs_active_project: ‘RStudio’ current active project name -
rs_save_all: save all editing document when ‘RStudio’ is running -
rs_exec: run job in ‘RStudio’, otherwise useRscript -
ask_yesno,ask_or_defaultalso uses ‘RStudio’ dialogue - other functions starting with
rs
-
-
add_to_sessionstores key-value pairs in shiny reactive sessions -
clear_envclear elements in environments orfastmap2instances -
do_nothingliterally does nothing -
shiny_is_runningreturns whether current context is within a shiny app -
test_fargtests whether a function contains certain arguments -
capture_exprcaptures outputs when evaluating expression and returns a string -
get_dev_attrget attributes from graphic devices -
print_directory_treegenerates directory tree as text
dipsaus 0.0.7
CRAN release: 2020-05-12
Major Changes
- Removed dependency on
txtqand functions related - Added
list_to_fastmap2to convert a list tofastmap2 - Exported
to_datauri, allowing any files, especially images to be translated to base-64 code and can be directly used in websites -
mask_function2to mask variables within function by adding one environment layer on top of the function -
new_function2creates function that supports ‘quasi-quosure’ syntax
dipsaus 0.0.6
CRAN release: 2020-04-05
dipsaus 0.0.5
CRAN release: 2020-03-12
Major Changes
- Added
dev_createto control switching among graphical devices - Added
use_shiny_dipsaus()to import all styles and JavaScript - Added a wrapper for
fastmap::fastmap-fastmap2, which provides several generic functions, making the originalfastmapmore like an environment - Added
lapply_async2, a naive version offuture.lapply, but with callbacks, which is useful if play-back message is required. This is experimental. In the future when packageprogressris online, this function will be adjusted.
dipsaus 0.0.4
CRAN release: 2020-01-20
Major Changes
- Canceled exporting queues because of strange behavior in windows. (plan to fix this for the next version)
- Implemented function to convert Base64
DataURIstring to image -
cat2now persist logger files on local drive, and can be exported viapackup_logger -
set_shiny_inputto set shinyinputobject -
baselineArraycalculates baseline for arrays with internal parallel support -
shift_arrayto fast shift array along certain dimension -
%+-%plus-minus operator;%=>%a “JavaScript” style of creating functions
Bug Fixes
- Fixed
compoundInput2not initialized when rendered inshiny::renderUI
dipsaus 0.0.3
CRAN release: 2019-11-18
Major Changes
Parallel
- Added four cross-session map types
qs_map,text_map,rds_map, andredis_map - Created
R6classPersistContainer, designed to cache key-value pairs on the local hard disk - Implemented function
make_async_evaluatorthat works as scheduler to queue arbitrary number of tasks without blocking main R session
dipsaus 0.0.2
CRAN release: 2019-11-05
Major Changes
Shiny
- Use
webpackto manageJavaScriptlibraries - Added new shiny widget
actionButtonStyled - Implemented
sync_shiny_inputsto synchronize among shiny inputs without causing dead-locks in UI changes -
progress2allows debugging shiny progress instances in non- reactive context. It usesshiny::Progressin shiny reactive context, and just print out messages when shiny reactive domain isNULL
Parallel
- Implemented
collapse, a parallel solution to calculate sum/mean along arrays, providing4xspeed-ups for large arrays; - Added
async_exprfunctions usingfuturepackage for parallel evaluation of R expressions. - Four cross-session queue types
qs_queue,rds_queue,txtq_queue,redis_queueallow pushing arbitrary R objects into queue in one session and pop them from another session.
R-language
-
eval_dirtyworks asbase::eval, but supports quosures generated fromrlang::quo -
match_callsmatch calls in a nested manner, and support changing the call arguments recursively -
%?<-%to assign default values tolhs
Minor Changes
-
cat2act as base functioncatbut provides different levels with different colored outputs; -
check_installed_packages,package_installedchecks if package(s) are installed; -
col2hexStrconvert color to hex strings that are friendly toHTML,CSSandJavaScript; -
parse_svecconverts a string into integer vectors,deparse_svecconverts integer vectors back into a compact string; -
drop_nullsremoves invalid items within lists; -
get_cpugets CPU types and chip-set names; -
get_ram,mem_limit2gets total RAM size as an alternatives formem.limitsin non-windows environment; -
to_ram_sizeprovides simple way to convert numbers to printable storage sizes in given units; -
time_deltacalculates time differences and returns a number in given units.