Releases: dipterix/dipsaus
Releases · dipterix/dipsaus
CRAN Release 0.2.3
See news.md for details.
Major Changes
- Added
rstudioapi
wrapperrs_edit_file
to allow editing files directly inRStudio
- Added a special
%OF%
to make sure the result is constrained
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) - Replaced some functions from
stringr
to self-implemented base-R functions, plan to removestringr
in the future - Create
shiny_input_bindings
list on package load
Bug Fixes
- Fixed "offset-parent" issue in
compoundInput2
when max-height is unset, but overflow is still hidden for the select inputs - Fixed
print_directory_tree
where anif
condition generates warning for vectors with lengths greater than1
CRAN Release 0.2.1
See news.md for details.
Major Changes
- Removed
synchronicity
package from dependency dipsaus_lock
anddipsaus_unlock
is exclusive-only and will be deprecated in the futurePersistContainer
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
Enhancement
sync_shiny_inputs
usesfastmap
instead of environmentssync_shiny_inputs
uses the newbindEvent
scheme to replaceobserveEvent
- Added
sorted
argument toas.list.fastmap2
- Ignored
...
argument inas.list.fastqueue2
rs_show_shortcut
shows current shortcut expressions
Bug Fixes
compoundInput2
now activates callback functions once usingupdateCompoundInput2
- Fixed
get_ram
not working on windows when user has no access to runwmic
command - Allow
lapply_async
progress bar to show inshiny
applications (with backward compatibility)
CRAN Release 0.2.0
Bump from 0.1.6
:
See news.md for details.
Major Changes
- Allow
fastmap2
toas.list
recursively - Added
mean_se
to calculate mean and standard error of mean - Re-exported
digest
fromdigest
package - Added
combine_html_class
andremove_html_class
to manipulateHTML
classes - Force enabled
ANSI
color display forrs_exec
when the jobs run inRStudio
compoundInput2
now respects thepar(fg)
and sets foreground accordingly- Added
lapply_callr
to replaceasync_workers
with cleaner and more robust implementation - Added
as_pipe
to make any functions to pipe-friendly - Added
rs_add_shortcut
to allow customized shortcuts inRStudio
- Added
missing_dots
to detect if dots are missing values - 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
Minor Changes
- Cleaned
get_os
so it does not depend onstringr
anymore
Big Fixes
- Fixed
progress2
not working properly in non-interactive sessions (butshiny
is still running) - Fixed
missing_dots
freezing the session when incorrectly called - Fixed
autoconf
warnings - Fixed a bug in
lapply_async2
when failing to restore plan
CRAN Release 0.1.6
Bump from 0.0.9
:
See news.md for details.
Major Changes from 0.0.9
to 0.1.6
- Added
fastcov2
to calculate covariance in parallel - Added
sumsquared
to calculate sum-squared faster - Added
sexp_type
to obtain internal data type code - Added function to convert
base64
to its encoding characters - Added a wrapper for
fastmap::fastqueue
(fastqueue2
) that shows friendly messages and can query elements - Removed function
get_cpu
as it's unstable - Soft-deprecate
lock
andunlock
functions - Soft remove the experimental function
make_async_evaluator
to embrace the newrestbatch
package (experimental) - Added
make_forked_clusters
to allow multicorefuture
inRStudio
in one function - Added
async_works
to allow scheduling works in the background using multiple sessions.
Bug Fixes from 0.0.9
to 0.1.6
- Robust
get_ram
function. The function will returnNA
onSolaris
, and actual memories in byte on other platforms. - Fixed
rs_focus_console
not doing its job - Fixed
rs_exec
whenwait
is true but not actually waiting - Robust
get_ram
function. The function will returnNA
onSolaris
, and actual memories in byte on other platforms. lapply_async2
now restores previousfuture
strategy on exitingrs_exec
now allows packages to be loaded before scripts
Enhancements from 0.0.9
to 0.1.6
- Updated
JavaScript
libraries to fix vulnerability issues - Allow
rs_exec
to return to console after submitting jobs (RStudio
version 1.4 required) - Removed unused functions in
README.md
. make_forked_clusters
allows to set a backup strategy once forked process fails (for example, on windows)- Instead of showing "finished", progress bar now shows square box once finished for cleaner output
- Internally added
attached_packages
to detect attached packages
CRAN Release 0.0.9
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 namers_save_all
: save all editing document when 'RStudio' is runningrs_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 sessionsclear_env
clear elements in environments orfastmap2
instancesdo_nothing
literally does nothingshiny_is_running
returns whether current context is within a shiny apptest_farg
tests whether a function contains certain argumentscapture_expr
captures outputs when evaluating expression and returns a stringget_dev_attr
get attributes from graphic devicesprint_directory_tree
generates directory tree as text
Minor Changes
dev_create
can now set attributes and those attributes can be obtained by functionget_dev_attr
or methoddev_attributes
Bug Fixes
- soft-deprecated
prepare_install
that might cause infinite loops
CRAN Release 0.0.8
Major Changes
- Removed dependency on
crayon
, addedyaml
- Added
shared_finalizer
to finalize multiple objects only when last one is garbage collected - added
flex_div
to generatediv
withflex
layout and calculate size automatically
CRAN Release 0.0.7
dipsaus 0.0.7
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 functionnew_function2
creates function that supports 'quasi-quosure' syntax
Minor Changes
- Allow maximum height set for
compoundInput2
fastmap2
now accept multi-assignment with single value
Bug Fixes
fastmap2
subset method now accept integers instead raising errors
CRAN Release 0.0.6
dipsaus 0.0.6
Major Changes
- Added support for R 3.5
- Added
%D%
a decorator function that works like python decorators - Added
get_dots
that can get variable from...
without evaluating other variables - 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. - Added
prepare_install
to install CRAN packages at next startup, avoiding restarting R session multiple times.
Minor Changes
lapply_async2
now supporting more load-balance settings
Bug Fixes
- 11 JavaScript library vulnerability bug fixed
CRAN Release 0.0.4
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
objectbaselineArray
calculates baseline for arrays with internal parallel supportshift_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
CRAN Release 0.0.3
Major Changes
- 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
Minor Changes
- Renamed
txtq_queue
totext_queue
- Added four vignettes
- Minor fixes