R.utils icon indicating copy to clipboard operation
R.utils copied to clipboard

🔧 R package: R.utils (this is *not* the utils package that comes with R itself)

Results 42 R.utils issues
Sort by recently updated
recently updated
newest added

Is `Arguments$getWritablePath()` really parallel safe? What about `fileAccess()`? I certainly had that in mind they were written, e.g. there is code for trying multiple times. This has been tested thoroughly...

`install.packages("R.utils")` fails on Windows work computer due to access restrictions: ``` Warning in install.packages : cannot open URL 'https://cran.rstudio.com...' : HTTP status was '403 Forbidden' ``` Tried changing repository to...

Hello, The function `withTimeout` throws an error without considering the argument `onTimeout` (which can be `"error"`, `"warning"` or `"silent"`). Here are simple examples: ```r f

bug

When using the `"warning"` option, `withTimeout` returns the warning message string rather than `NULL` (as stated in the documentation). For example: ``` > x x [1] "reached elapsed time limit...

Issue #72, and other issues in other repos, suggest that it's hard to reliably infer existence of files and their file permissions on some cases (e.g. shared file systems and...

# Issue `utils::capture.output(expr)` and therefore also `R.utils::captureOutput(expr)` assumes that the evaluated expression `expr` closes any sinks it opens. However, if this is not the case, then `utils::capture.output()` fails to properly...

enhancement

From https://github.com/HenrikBengtsson/parallelly/issues/31#issuecomment-723466519: > Does `reg.finalizer(globalenv(), f, onexit = TRUE)` behave differently from `R.utils::onSessionExit()?` I never considered one could put a finalizer on the global environment; I thought that would removed...

# Issue The following works: ```r $ Rscript -e "suppressMessages(library(R.utils)); onSessionExit(function() message('bye'))" bye $ ``` but not: ```r $ Rscript -e "R.utils::onSessionExit(function() message('bye'))" $ ``` # Troubleshooting This is because...

bug
enhancement

Version 2.10.1 Windows 10 Assuming I'm in my home directory: ``` > setwd("~") > R.utils::getAbsolutePath(".") [1] "C:/Users/D/Documents" > R.utils::getAbsolutePath("./../../../..") [1] "" > R.utils::getAbsolutePath("./../../../../..") Error in if (components[pos] == ".." &&...

bug

`moveInSearchPath()` uses `attach()` etc. It might even trigger copies. Should be doable by using `parent.env()`.

enhancement