Changelog
Source:NEWS.md
dipsaus 0.2.8
CRAN release: 2023-07-03
Changes
- Added
fancyFileInput
with customizedCSS
to originalshiny::fileInput
dipsaus 0.2.7
CRAN release: 2023-05-26
Changes
- Added more default shortcuts
- Used
system2
instead ofsystem
inrs_runjob_alt
for more controls - Upgraded
JavaScript
libraries - Fixed
lapply_async2
not respecting chunk size whencallback
is unspecified - Removed
cpp11
compiling 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
fastmap2
andfastqueue2
when subsetting with missing index resulting in errors - Re-exports some
cli
,rlang
functions - Using the most recent fixed version of
tinythread
that correctly joinpthread
- Allowed
rs_exec
to return as a promise object - Removed
base64url
from dependence and implemented equivalent functions usingbase64enc
- Removed
prepare_install2
- Removed
startup
from dependence - Fixed
Javascript
vulnerability issues
dipsaus 0.2.5
CRAN release: 2022-10-22
Changes
- Removed
RcppParallel
, usingTinyThread
only to avoidTBB
related installation issues - Removed
autoconf
script, using a much simpler way to generate compiler flags - Added keyboard shortcut to run debugging code easily
- Allowed
parse_svec
to have space around connectors - Added a new method to
baseline_array
for absolute contrast
dipsaus 0.2.4
CRAN release: 2022-08-24
dipsaus 0.2.3
CRAN release: 2022-08-06
Minor Changes
-
parse_svec
handles multiple lengths all together, andparse_svec(1:10)
is equivalent toparse_svec("1:10")
- Allowed
rs_exec
to 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
synchronicity
package from dependency -
dipsaus_lock
anddipsaus_unlock
is exclusive-only and will be deprecated in the future -
PersistContainer
is scheduled to be deprecated in the future - Re-export
detectCores
anddigest
- Added
get_credential
to 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
fastquantile
to estimate single quantile, which is faster than base R - Added
RStudio
shortcuts, allowing customized code from shortcuts - Added
shiny_alert2
that 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
fastcov2
to calculate covariance in parallel - Added
sumsquared
to calculate sum-squared faster - Added
sexp_type
to 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
Base64
string to its generating string - Soft-deprecate
lock
andunlock
functions - Soft remove the experimental function
make_async_evaluator
to embrace the newrestbatch
package
dipsaus 0.1.2
CRAN release: 2021-01-10
Major Changes
- Added
make_forked_clusters
andlapply_async2
now restores previous future strategy one exiting
dipsaus 0.1.1
CRAN release: 2020-10-09
Major Changes
- Added
async_works
to 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
rstudioapi
related 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_default
also uses ‘RStudio’ dialogue - other functions starting with
rs
-
-
add_to_session
stores key-value pairs in shiny reactive sessions -
clear_env
clear elements in environments orfastmap2
instances -
do_nothing
literally does nothing -
shiny_is_running
returns whether current context is within a shiny app -
test_farg
tests whether a function contains certain arguments -
capture_expr
captures outputs when evaluating expression and returns a string -
get_dev_attr
get attributes from graphic devices -
print_directory_tree
generates directory tree as text
dipsaus 0.0.7
CRAN release: 2020-05-12
Major Changes
- Removed dependency on
txtq
and functions related - Added
list_to_fastmap2
to 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_function2
to mask variables within function by adding one environment layer on top of the function -
new_function2
creates 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_create
to 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 originalfastmap
more 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 packageprogressr
is 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
DataURI
string to image -
cat2
now persist logger files on local drive, and can be exported viapackup_logger
-
set_shiny_input
to set shinyinput
object -
baselineArray
calculates baseline for arrays with internal parallel support -
shift_array
to fast shift array along certain dimension -
%+-%
plus-minus operator;%=>%
a “JavaScript” style of creating functions
Bug Fixes
- Fixed
compoundInput2
not 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
R6
classPersistContainer
, designed to cache key-value pairs on the local hard disk - Implemented function
make_async_evaluator
that 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
webpack
to manageJavaScript
libraries - Added new shiny widget
actionButtonStyled
- Implemented
sync_shiny_inputs
to synchronize among shiny inputs without causing dead-locks in UI changes -
progress2
allows debugging shiny progress instances in non- reactive context. It usesshiny::Progress
in 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, providing4x
speed-ups for large arrays; - Added
async_expr
functions usingfuture
package for parallel evaluation of R expressions. - Four cross-session queue types
qs_queue
,rds_queue
,txtq_queue
,redis_queue
allow pushing arbitrary R objects into queue in one session and pop them from another session.
R-language
-
eval_dirty
works asbase::eval
, but supports quosures generated fromrlang::quo
-
match_calls
match calls in a nested manner, and support changing the call arguments recursively -
%?<-%
to assign default values tolhs
Minor Changes
-
cat2
act as base functioncat
but provides different levels with different colored outputs; -
check_installed_packages
,package_installed
checks if package(s) are installed; -
col2hexStr
convert color to hex strings that are friendly toHTML
,CSS
andJavaScript
; -
parse_svec
converts a string into integer vectors,deparse_svec
converts integer vectors back into a compact string; -
drop_nulls
removes invalid items within lists; -
get_cpu
gets CPU types and chip-set names; -
get_ram
,mem_limit2
gets total RAM size as an alternatives formem.limits
in non-windows environment; -
to_ram_size
provides simple way to convert numbers to printable storage sizes in given units; -
time_delta
calculates time differences and returns a number in given units.