Releases: dipterix/dipsaus
Releases · dipterix/dipsaus
CRAN Release 0.3.3
✨ Highlights
- New fancyDirectoryInput – Upload entire directories in Shiny apps with streaming support for large folders and a built-in progress bar
- Cleaner dependencies – Removed magrittr, remotes, glue, base64url, and startup
- Better performance – Switched to Rcpp, improved lapply_async, and removed RcppParallel/TBB
🆕 New Features (since v0.2.3)
- fancyDirectoryInput – Directory upload widget with streaming & progress bar (v0.3.3)
- fancyFileInput – Styled file input with customized CSS (v0.2.8)
- is_from_namespace – Check if a function belongs to a namespace (v0.2.9)
- rs_set_repos – Set RStudio CRAN-like repository preferences (v0.2.4)
- maxSize argument for fancyFileInput and fancyDirectoryInput (v0.3.3)
- New baseline_array method for absolute contrast (v0.2.5)
- Keyboard shortcuts for debugging (v0.2.5, v0.2.7)
⚡ Performance & Architecture
- Removed RcppParallel/TBB in favor of TinyThread (v0.2.5)
- Switched to Rcpp to avoid internal API calls to ENCLOS/CLOSENV (v0.3.1–0.3.2)
- Improved lapply_async with automatic global variable size handling (v0.3.0)
- future::plan calls auto-cleaned by default (v0.3.1)
- rs_exec can now return as a promise object (v0.2.6)
🧹 Dependency Changes
- Removed: magrittr, remotes, glue, base64url, startup
- Re-exported: jsonlite, cli, rlang functions
- Using importFrom instead of importing entire shiny package
🐛 Bug Fixes
- Fixed race condition (v0.3.3) – thanks @HenrikBengtsson
- Fixed bslib compatibility with customized Shiny components (v0.3.1)
- Fixed TinyThread memory leak (v0.2.5)
- Fixed fastmap2/fastqueue2 missing index errors (v0.2.6)
- Fixed lapply_async2 not respecting chunk size (v0.2.7)
- Fixed quantile2 protection imbalance (v0.2.9)
- get_ip no longer throws warnings (v0.3.1)
🔒 Security
- Multiple JavaScript library upgrades to address vulnerability issues
Full Changelog: v0.2.3...v0.3.3
CRAN Release 0.2.3
See news.md for details.
Major Changes
- Added
rstudioapiwrapperrs_edit_fileto allow editing files directly inRStudio - Added a special
%OF%to make sure the result is constrained
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) - Replaced some functions from
stringrto self-implemented base-R functions, plan to removestringrin the future - Create
shiny_input_bindingslist on package load
Bug Fixes
- Fixed "offset-parent" issue in
compoundInput2when max-height is unset, but overflow is still hidden for the select inputs - Fixed
print_directory_treewhere anifcondition generates warning for vectors with lengths greater than1
CRAN Release 0.2.1
See news.md for details.
Major Changes
- Removed
synchronicitypackage from dependency dipsaus_lockanddipsaus_unlockis exclusive-only and will be deprecated in the futurePersistContaineris scheduled to be deprecated in the future- Re-export
detectCoresanddigest - Added
get_credentialto generate strong passwords for different services using one single master password
Enhancement
sync_shiny_inputsusesfastmapinstead of environmentssync_shiny_inputsuses the newbindEventscheme to replaceobserveEvent- Added
sortedargument toas.list.fastmap2 - Ignored
...argument inas.list.fastqueue2 rs_show_shortcutshows current shortcut expressions
Bug Fixes
compoundInput2now activates callback functions once usingupdateCompoundInput2- Fixed
get_ramnot working on windows when user has no access to runwmiccommand - Allow
lapply_asyncprogress bar to show inshinyapplications (with backward compatibility)
CRAN Release 0.2.0
Bump from 0.1.6:
See news.md for details.
Major Changes
- Allow
fastmap2toas.listrecursively - Added
mean_seto calculate mean and standard error of mean - Re-exported
digestfromdigestpackage - Added
combine_html_classandremove_html_classto manipulateHTMLclasses - Force enabled
ANSIcolor display forrs_execwhen the jobs run inRStudio compoundInput2now respects thepar(fg)and sets foreground accordingly- Added
lapply_callrto replaceasync_workerswith cleaner and more robust implementation - Added
as_pipeto make any functions to pipe-friendly - Added
rs_add_shortcutto allow customized shortcuts inRStudio - Added
missing_dotsto detect if dots are missing values - 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
Minor Changes
- Cleaned
get_osso it does not depend onstringranymore
Big Fixes
- Fixed
progress2not working properly in non-interactive sessions (butshinyis still running) - Fixed
missing_dotsfreezing the session when incorrectly called - Fixed
autoconfwarnings - Fixed a bug in
lapply_async2when 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
fastcov2to calculate covariance in parallel - Added
sumsquaredto calculate sum-squared faster - Added
sexp_typeto obtain internal data type code - Added function to convert
base64to its encoding characters - Added a wrapper for
fastmap::fastqueue(fastqueue2) that shows friendly messages and can query elements - Removed function
get_cpuas it's unstable - Soft-deprecate
lockandunlockfunctions - Soft remove the experimental function
make_async_evaluatorto embrace the newrestbatchpackage (experimental) - Added
make_forked_clustersto allow multicorefutureinRStudioin one function - Added
async_worksto allow scheduling works in the background using multiple sessions.
Bug Fixes from 0.0.9 to 0.1.6
- Robust
get_ramfunction. The function will returnNAonSolaris, and actual memories in byte on other platforms. - Fixed
rs_focus_consolenot doing its job - Fixed
rs_execwhenwaitis true but not actually waiting - Robust
get_ramfunction. The function will returnNAonSolaris, and actual memories in byte on other platforms. lapply_async2now restores previousfuturestrategy on exitingrs_execnow allows packages to be loaded before scripts
Enhancements from 0.0.9 to 0.1.6
- Updated
JavaScriptlibraries to fix vulnerability issues - Allow
rs_execto return to console after submitting jobs (RStudioversion 1.4 required) - Removed unused functions in
README.md. make_forked_clustersallows 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_packagesto detect attached packages
CRAN Release 0.0.9
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 namers_save_all: save all editing document when 'RStudio' is runningrs_exec: run job in 'RStudio', otherwise useRscriptask_yesno,ask_or_defaultalso uses 'RStudio' dialogue- other functions starting with
rs
add_to_sessionstores key-value pairs in shiny reactive sessionsclear_envclear elements in environments orfastmap2instancesdo_nothingliterally does nothingshiny_is_runningreturns whether current context is within a shiny apptest_fargtests whether a function contains certain argumentscapture_exprcaptures outputs when evaluating expression and returns a stringget_dev_attrget attributes from graphic devicesprint_directory_treegenerates directory tree as text
Minor Changes
dev_createcan now set attributes and those attributes can be obtained by functionget_dev_attror methoddev_attributes
Bug Fixes
- soft-deprecated
prepare_installthat might cause infinite loops
CRAN Release 0.0.8
Major Changes
- Removed dependency on
crayon, addedyaml - Added
shared_finalizerto finalize multiple objects only when last one is garbage collected - added
flex_divto generatedivwithflexlayout and calculate size automatically
CRAN Release 0.0.7
dipsaus 0.0.7
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 functionnew_function2creates function that supports 'quasi-quosure' syntax
Minor Changes
- Allow maximum height set for
compoundInput2 fastmap2now accept multi-assignment with single value
Bug Fixes
fastmap2subset 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_dotsthat can get variable from...without evaluating other variables - 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. - Added
prepare_installto install CRAN packages at next startup, avoiding restarting R session multiple times.
Minor Changes
lapply_async2now 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
DataURIstring to image cat2now persist logger files on local drive, and can be exported viapackup_loggerset_shiny_inputto set shinyinputobjectbaselineArraycalculates baseline for arrays with internal parallel supportshift_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