=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== r-cran-processx-3.4.4/tests/testthat/test-err.R-117- expect_true(is.integer(cond$parent$`_nframe`)) r-cran-processx-3.4.4/tests/testthat/test-err.R:118: expect_true(cond$`_nframe` < cond$parent$`_nframe`) r-cran-processx-3.4.4/tests/testthat/test-err.R-119-}) ############################################## r-cran-processx-3.4.4/tests/testthat/test-err.R-134- expect_true(is.integer(cond$parent$`_nframe`)) r-cran-processx-3.4.4/tests/testthat/test-err.R:135: expect_true(cond$`_nframe` < cond$parent$`_nframe`) r-cran-processx-3.4.4/tests/testthat/test-err.R-136-}) ############################################## r-cran-processx-3.4.4/src/cleancall.c-14- fn_ptr ptr; r-cran-processx-3.4.4/src/cleancall.c:15: ptr.p = R_ExternalPtrAddr(s); r-cran-processx-3.4.4/src/cleancall.c-16- return ptr.fn; ############################################## r-cran-processx-3.4.4/src/cleancall.c-30- ptr.fn = p; r-cran-processx-3.4.4/src/cleancall.c:31: R_SetExternalPtrAddr(s, ptr.p); r-cran-processx-3.4.4/src/cleancall.c-32-} ############################################## r-cran-processx-3.4.4/src/cleancall.c-103- void (*fn)(void*) = (void (*)(void*)) R_ExternalPtrAddrFn(CAR(cb)); r-cran-processx-3.4.4/src/cleancall.c:104: void *data = (void*) R_ExternalPtrAddr(CDR(cb)); r-cran-processx-3.4.4/src/cleancall.c-105- int early_handler = LOGICAL(R_ExternalPtrTag(CDR(cb)))[0]; ############################################## r-cran-processx-3.4.4/src/cleancall.c-152- cleancall_SetExternalPtrAddrFn(CAR(cb), (DL_FUNC) fn); r-cran-processx-3.4.4/src/cleancall.c:153: R_SetExternalPtrAddr(CDR(cb), data); r-cran-processx-3.4.4/src/cleancall.c-154- LOGICAL(R_ExternalPtrTag(CDR(cb)))[0] = early; ############################################## r-cran-processx-3.4.4/src/win/named_pipe.c-19- r-cran-processx-3.4.4/src/win/named_pipe.c:20: if (R_ExternalPtrAddr(pipe_ext) == NULL) r-cran-processx-3.4.4/src/win/named_pipe.c-21- return ScalarLogical(0); ############################################## r-cran-processx-3.4.4/src/win/named_pipe.c-27-SEXP processx_close_named_pipe(SEXP pipe_ext) { r-cran-processx-3.4.4/src/win/named_pipe.c:28: if (pipe_ext == R_NilValue || R_ExternalPtrAddr(pipe_ext) == NULL) r-cran-processx-3.4.4/src/win/named_pipe.c-29- return R_NilValue; r-cran-processx-3.4.4/src/win/named_pipe.c-30- r-cran-processx-3.4.4/src/win/named_pipe.c:31: HANDLE h = (HANDLE)R_ExternalPtrAddr(pipe_ext); r-cran-processx-3.4.4/src/win/named_pipe.c-32- DisconnectNamedPipe(h); ############################################## r-cran-processx-3.4.4/src/win/named_pipe.c-107- r-cran-processx-3.4.4/src/win/named_pipe.c:108: HANDLE hPipe = (HANDLE) R_ExternalPtrAddr(pipe_ext); r-cran-processx-3.4.4/src/win/named_pipe.c-109- if (hPipe == NULL) { ############################################## r-cran-processx-3.4.4/src/win/processx.c-830-void processx__finalizer(SEXP status) { r-cran-processx-3.4.4/src/win/processx.c:831: processx_handle_t *handle = (processx_handle_t*) R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/win/processx.c-832- ############################################## r-cran-processx-3.4.4/src/win/processx.c-963- result = PROTECT(processx__make_handle(private, ccleanup)); r-cran-processx-3.4.4/src/win/processx.c:964: handle = R_ExternalPtrAddr(result); r-cran-processx-3.4.4/src/win/processx.c-965- ############################################## r-cran-processx-3.4.4/src/win/processx.c-967- processx_connection_t *ccon = r-cran-processx-3.4.4/src/win/processx.c:968: R_ExternalPtrAddr(VECTOR_ELT(connections, i)); r-cran-processx-3.4.4/src/win/processx.c-969- extra_connections[i] = processx_c_connection_fileno(ccon); ############################################## r-cran-processx-3.4.4/src/win/processx.c-1089-void processx__collect_exit_status(SEXP status, DWORD exitcode) { r-cran-processx-3.4.4/src/win/processx.c:1090: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/win/processx.c-1091- handle->exitcode = exitcode; ############################################## r-cran-processx-3.4.4/src/win/processx.c-1097- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); r-cran-processx-3.4.4/src/win/processx.c:1098: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/win/processx.c-1099- DWORD err, err2, exitcode; ############################################## r-cran-processx-3.4.4/src/win/processx.c-1134-SEXP processx_is_alive(SEXP status, SEXP name) { r-cran-processx-3.4.4/src/win/processx.c:1135: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/win/processx.c-1136- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/win/processx.c-1160-SEXP processx_get_exit_status(SEXP status, SEXP name) { r-cran-processx-3.4.4/src/win/processx.c:1161: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/win/processx.c-1162- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/win/processx.c-1183-SEXP processx_signal(SEXP status, SEXP signal, SEXP name) { r-cran-processx-3.4.4/src/win/processx.c:1184: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/win/processx.c-1185- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/win/processx.c-1243-SEXP processx_get_pid(SEXP status) { r-cran-processx-3.4.4/src/win/processx.c:1244: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/win/processx.c-1245- ############################################## r-cran-processx-3.4.4/src/unix/childlist.c-89- processx_handle_t *handle = r-cran-processx-3.4.4/src/unix/childlist.c:90: isNull(status) ? 0 : (processx_handle_t*) R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/childlist.c-91- int wp, wstat; ############################################## r-cran-processx-3.4.4/src/unix/sigchld.c-49- processx_handle_t *handle = r-cran-processx-3.4.4/src/unix/sigchld.c:50: isNull(status) ? 0 : R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/sigchld.c-51- ############################################## r-cran-processx-3.4.4/src/unix/processx.c-315-void processx__finalizer(SEXP status) { r-cran-processx-3.4.4/src/unix/processx.c:316: processx_handle_t *handle = (processx_handle_t*) R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-317- pid_t pid; ############################################## r-cran-processx-3.4.4/src/unix/processx.c-462- result = PROTECT(processx__make_handle(private, ccleanup)); r-cran-processx-3.4.4/src/unix/processx.c:463: handle = R_ExternalPtrAddr(result); r-cran-processx-3.4.4/src/unix/processx.c-464- ############################################## r-cran-processx-3.4.4/src/unix/processx.c-481- processx_connection_t *ccon = r-cran-processx-3.4.4/src/unix/processx.c:482: R_ExternalPtrAddr(VECTOR_ELT(connections, i)); r-cran-processx-3.4.4/src/unix/processx.c-483- int fd = processx_c_connection_fileno(ccon); ############################################## r-cran-processx-3.4.4/src/unix/processx.c-596-void processx__collect_exit_status(SEXP status, int retval, int wstat) { r-cran-processx-3.4.4/src/unix/processx.c:597: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-598- ############################################## r-cran-processx-3.4.4/src/unix/processx.c-654-SEXP processx_wait(SEXP status, SEXP timeout, SEXP name) { r-cran-processx-3.4.4/src/unix/processx.c:655: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-656- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/unix/processx.c-763-SEXP processx_is_alive(SEXP status, SEXP name) { r-cran-processx-3.4.4/src/unix/processx.c:764: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-765- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/unix/processx.c-810-SEXP processx_get_exit_status(SEXP status, SEXP name) { r-cran-processx-3.4.4/src/unix/processx.c:811: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-812- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/unix/processx.c-875-SEXP processx_signal(SEXP status, SEXP signal, SEXP name) { r-cran-processx-3.4.4/src/unix/processx.c:876: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-877- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/unix/processx.c-944-SEXP processx_kill(SEXP status, SEXP grace, SEXP name) { r-cran-processx-3.4.4/src/unix/processx.c:945: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-946- const char *cname = isNull(name) ? "???" : CHAR(STRING_ELT(name, 0)); ############################################## r-cran-processx-3.4.4/src/unix/processx.c-1005-SEXP processx_get_pid(SEXP status) { r-cran-processx-3.4.4/src/unix/processx.c:1006: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/unix/processx.c-1007- ############################################## r-cran-processx-3.4.4/src/create-time.c-255-SEXP processx__proc_start_time(SEXP status) { r-cran-processx-3.4.4/src/create-time.c:256: processx_handle_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/create-time.c-257- ############################################## r-cran-processx-3.4.4/src/processx-connection.c-73-SEXP processx_connection_create(SEXP handle, SEXP encoding) { r-cran-processx-3.4.4/src/processx-connection.c:74: processx_file_handle_t *os_handle = R_ExternalPtrAddr(handle); r-cran-processx-3.4.4/src/processx-connection.c-75- const char *c_encoding = CHAR(STRING_ELT(encoding, 0)); ############################################## r-cran-processx-3.4.4/src/processx-connection.c-149- r-cran-processx-3.4.4/src/processx-connection.c:150: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-151- SEXP result; ############################################## r-cran-processx-3.4.4/src/processx-connection.c-168- r-cran-processx-3.4.4/src/processx-connection.c:169: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-170- SEXP result; ############################################## r-cran-processx-3.4.4/src/processx-connection.c-207-SEXP processx_connection_write_bytes(SEXP con, SEXP bytes) { r-cran-processx-3.4.4/src/processx-connection.c:208: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-209- Rbyte *cbytes = RAW(bytes); ############################################## r-cran-processx-3.4.4/src/processx-connection.c-223-SEXP processx_connection_is_eof(SEXP con) { r-cran-processx-3.4.4/src/processx-connection.c:224: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-225- if (!ccon) R_THROW_ERROR("Invalid connection object"); ############################################## r-cran-processx-3.4.4/src/processx-connection.c-229-SEXP processx_connection_close(SEXP con) { r-cran-processx-3.4.4/src/processx-connection.c:230: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-231- if (!ccon) R_THROW_ERROR("Invalid connection object"); ############################################## r-cran-processx-3.4.4/src/processx-connection.c-236-SEXP processx_connection_is_closed(SEXP con) { r-cran-processx-3.4.4/src/processx-connection.c:237: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-238- if (!ccon) R_THROW_ERROR("Invalid connection object"); ############################################## r-cran-processx-3.4.4/src/processx-connection.c-284-SEXP processx__connection_set_std(SEXP con, int which, int drop) { r-cran-processx-3.4.4/src/processx-connection.c:285: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-286- if (!ccon) R_THROW_ERROR("Invalid connection object"); ############################################## r-cran-processx-3.4.4/src/processx-connection.c-334-SEXP processx_connection_get_fileno(SEXP con) { r-cran-processx-3.4.4/src/processx-connection.c:335: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-336- if (!ccon) R_THROW_ERROR("Invalid connection object"); ############################################## r-cran-processx-3.4.4/src/processx-connection.c-1210-static void processx__connection_xfinalizer(SEXP con) { r-cran-processx-3.4.4/src/processx-connection.c:1211: processx_connection_t *ccon = R_ExternalPtrAddr(con); r-cran-processx-3.4.4/src/processx-connection.c-1212- processx_c_connection_destroy(ccon); ############################################## r-cran-processx-3.4.4/src/poll.c-22- SEXP pollconn = VECTOR_ELT(status, 1); r-cran-processx-3.4.4/src/poll.c:23: processx_handle_t *handle = R_ExternalPtrAddr(process); r-cran-processx-3.4.4/src/poll.c-24- processx_connection_t *cpollconn = isNull(pollconn) ? 0 : r-cran-processx-3.4.4/src/poll.c:25: R_ExternalPtrAddr(pollconn); r-cran-processx-3.4.4/src/poll.c-26- ############################################## r-cran-processx-3.4.4/src/poll.c-40- } else if (INTEGER(types)[i] == 2) { r-cran-processx-3.4.4/src/poll.c:41: processx_connection_t *handle = R_ExternalPtrAddr(status); r-cran-processx-3.4.4/src/poll.c-42- processx_c_pollable_from_connection(&pollables[j], handle); ############################################## r-cran-processx-3.4.4/R/io.R-2-process_has_input_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:3: "!DEBUG process_has_input_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-4- !is.null(private$stdin_pipe) ############################################## r-cran-processx-3.4.4/R/io.R-7-process_has_output_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:8: "!DEBUG process_has_output_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-9- !is.null(private$stdout_pipe) ############################################## r-cran-processx-3.4.4/R/io.R-12-process_has_error_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:13: "!DEBUG process_has_error_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-14- !is.null(private$stderr_pipe) ############################################## r-cran-processx-3.4.4/R/io.R-17-process_has_poll_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:18: "!DEBUG process_has_error_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-19- !is.null(private$poll_pipe) ############################################## r-cran-processx-3.4.4/R/io.R-22-process_get_input_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:23: "!DEBUG process_get_input_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-24- if (!self$has_input_connection()) ############################################## r-cran-processx-3.4.4/R/io.R-29-process_get_output_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:30: "!DEBUG process_get_output_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-31- if (!self$has_output_connection()) ############################################## r-cran-processx-3.4.4/R/io.R-36-process_get_error_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:37: "!DEBUG process_get_error_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-38- if (!self$has_error_connection()) ############################################## r-cran-processx-3.4.4/R/io.R-43-process_get_poll_connection <- function(self, private) { r-cran-processx-3.4.4/R/io.R:44: "!DEBUG process_get_poll_connection `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-45- if (!self$has_poll_connection()) throw(new_error("No poll connection")) ############################################## r-cran-processx-3.4.4/R/io.R-49-process_read_output <- function(self, private, n) { r-cran-processx-3.4.4/R/io.R:50: "!DEBUG process_read_output `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-51- con <- process_get_output_connection(self, private) ############################################## r-cran-processx-3.4.4/R/io.R-56-process_read_error <- function(self, private, n) { r-cran-processx-3.4.4/R/io.R:57: "!DEBUG process_read_error `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-58- con <- process_get_error_connection(self, private) ############################################## r-cran-processx-3.4.4/R/io.R-63-process_read_output_lines <- function(self, private, n) { r-cran-processx-3.4.4/R/io.R:64: "!DEBUG process_read_output_lines `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-65- con <- process_get_output_connection(self, private) ############################################## r-cran-processx-3.4.4/R/io.R-72-process_read_error_lines <- function(self, private, n) { r-cran-processx-3.4.4/R/io.R:73: "!DEBUG process_read_error_lines `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-74- con <- process_get_error_connection(self, private) ############################################## r-cran-processx-3.4.4/R/io.R-124-process_write_input <- function(self, private, str, sep) { r-cran-processx-3.4.4/R/io.R:125: "!DEBUG process_write_input `private$get_short_name()`" r-cran-processx-3.4.4/R/io.R-126- con <- process_get_input_connection(self, private) ############################################## r-cran-processx-3.4.4/R/errors.R-21-# common for the whole error hierarchy.) The trace is accessible within r-cran-processx-3.4.4/R/errors.R:22:# the error, e.g. `.Last.error$trace`. The trace of the last error is r-cran-processx-3.4.4/R/errors.R-23-# also at `.Last.error.trace`. ############################################## r-cran-processx-3.4.4/R/errors.R-157- cond$call <- cond$parent$`_childcall` r-cran-processx-3.4.4/R/errors.R:158: cond$`_nframe` <- cond$parent$`_childframe` r-cran-processx-3.4.4/R/errors.R:159: cond$`_ignore` <- cond$parent$`_childignore` r-cran-processx-3.4.4/R/errors.R-160- } ############################################## r-cran-processx-3.4.4/R/run.R-21-#' object. You can manipulate this object, for example you can call r-cran-processx-3.4.4/R/run.R:22:#' `$kill()` on it to terminate it, as a response to a message on the r-cran-processx-3.4.4/R/run.R-23-#' standard output or error. ############################################## r-cran-processx-3.4.4/R/run.R-95-#' the process has finished. r-cran-processx-3.4.4/R/run.R:96:#' @param ... Extra arguments are passed to `process$new()`, see r-cran-processx-3.4.4/R/run.R-97-#' [process]. Note that you cannot pass `stout` or `stderr` here, ############################################## r-cran-processx-3.4.4/R/run.R-160- ) r-cran-processx-3.4.4/R/run.R:161: "#!DEBUG run() Started the process: `pr$get_pid()`" r-cran-processx-3.4.4/R/run.R-162- ############################################## r-cran-processx-3.4.4/R/run.R-184- interrupt = function(e) { r-cran-processx-3.4.4/R/run.R:185: "!DEBUG run() process `pr$get_pid()` killed on interrupt" r-cran-processx-3.4.4/R/run.R-186- resenv$stdout <- paste0(resenv$stdout, pr$read_output(), pr$read_output()) ############################################## r-cran-processx-3.4.4/R/run.R-199- if (error_on_status && (is.na(res$status) || res$status != 0)) { r-cran-processx-3.4.4/R/run.R:200: "!DEBUG run() error on status `res$status` for process `pr$get_pid()`" r-cran-processx-3.4.4/R/run.R-201- throw(new_process_error(res, call = sys.call(), echo = echo, ############################################## r-cran-processx-3.4.4/R/run.R-295- if (proc$kill(close_connections = FALSE)) timeout_happened <- TRUE r-cran-processx-3.4.4/R/run.R:296: "!DEBUG Timeout killed run() process `proc$get_pid()`" r-cran-processx-3.4.4/R/run.R-297- break ############################################## r-cran-processx-3.4.4/R/run.R-310- } r-cran-processx-3.4.4/R/run.R:311: "!DEBUG run is polling for `remains` ms, process `proc$get_pid()`" r-cran-processx-3.4.4/R/run.R-312- polled <- proc$poll_io(remains) ############################################## r-cran-processx-3.4.4/R/run.R-320- ## Needed to get the exit status r-cran-processx-3.4.4/R/run.R:321: "!DEBUG run() waiting to get exit status, process `proc$get_pid()`" r-cran-processx-3.4.4/R/run.R-322- proc$wait() ############################################## r-cran-processx-3.4.4/R/run.R-324- ## We might still have output r-cran-processx-3.4.4/R/run.R:325: "!DEBUG run() reading leftover output / error, process `proc$get_pid()`" r-cran-processx-3.4.4/R/run.R-326- while (proc$is_incomplete_output() || ############################################## r-cran-processx-3.4.4/R/process.R-117- #' poll the standard output connection before reading from it using r-cran-processx-3.4.4/R/process.R:118: #' the `$read_output()` method. Also, because `$read_output_lines()` r-cran-processx-3.4.4/R/process.R-119- #' could still block if no complete line is available, this function r-cran-processx-3.4.4/R/process.R:120: #' always fails if the process has a pty. Use `$read_output()` to r-cran-processx-3.4.4/R/process.R-121- #' read from ptys. ############################################## r-cran-processx-3.4.4/R/process.R-131- #' If the poll connection is created, you can query it via r-cran-processx-3.4.4/R/process.R:132: #' `p$get_poll_connection()` and it is also included in the response r-cran-processx-3.4.4/R/process.R:133: #' to `p$poll_io()` and [poll()]. The numeric file descriptor of the r-cran-processx-3.4.4/R/process.R-134- #' poll connection comes right after `stderr` (2), and the ############################################## r-cran-processx-3.4.4/R/process.R-163- #' @param post_process An optional function to run when the process has r-cran-processx-3.4.4/R/process.R:164: #' finished. Currently it only runs if `$get_result()` is called. r-cran-processx-3.4.4/R/process.R-165- #' It is only run once. ############################################## r-cran-processx-3.4.4/R/process.R-208- #' to the root of the tree cleanup in the process tree any more. r-cran-processx-3.4.4/R/process.R:209: #' `$kill_tree()` returns a named integer vector of the process ids that r-cran-processx-3.4.4/R/process.R-210- #' were killed, the names are the names of the processes (e.g. `"sleep"`, ############################################## r-cran-processx-3.4.4/R/process.R-254- #' (the default), then R will never regain control. In some rare cases, r-cran-processx-3.4.4/R/process.R:255: #' `$wait()` might take a bit longer than specified to time out. This r-cran-processx-3.4.4/R/process.R-256- #' happens on Unix, when another package overwrites the processx ############################################## r-cran-processx-3.4.4/R/process.R-265- #' @description r-cran-processx-3.4.4/R/process.R:266: #' `$get_exit_status` returns the exit code of the process if it has r-cran-processx-3.4.4/R/process.R-267- #' finished and `NULL` otherwise. On Unix, in some rare cases, the exit ############################################## r-cran-processx-3.4.4/R/process.R-277- #' @description r-cran-processx-3.4.4/R/process.R:278: #' `format(p)` or `p$format()` creates a string representation of the r-cran-processx-3.4.4/R/process.R-279- #' process, usually for printing. ############################################## r-cran-processx-3.4.4/R/process.R-284- #' @description r-cran-processx-3.4.4/R/process.R:285: #' `print(p)` or `p$print()` shows some information about the r-cran-processx-3.4.4/R/process.R-286- #' process on the screen, whether it is running and it's process id, etc. ############################################## r-cran-processx-3.4.4/R/process.R-291- #' @description r-cran-processx-3.4.4/R/process.R:292: #' `$get_start_time()` returns the time when the process was r-cran-processx-3.4.4/R/process.R-293- #' started. ############################################## r-cran-processx-3.4.4/R/process.R-298- #' @description r-cran-processx-3.4.4/R/process.R:299: #' `$is_supervised()` returns whether the process is being tracked by r-cran-processx-3.4.4/R/process.R-300- #' supervisor process. ############################################## r-cran-processx-3.4.4/R/process.R-305- #' @description r-cran-processx-3.4.4/R/process.R:306: #' `$supervise()` if passed `TRUE`, tells the supervisor to start r-cran-processx-3.4.4/R/process.R-307- #' tracking the process. If `FALSE`, tells the supervisor to stop ############################################## r-cran-processx-3.4.4/R/process.R-319- #' @description r-cran-processx-3.4.4/R/process.R:320: #' `$read_output()` reads from the standard output connection of the r-cran-processx-3.4.4/R/process.R-321- #' process. If the standard output connection was not requested, then ############################################## r-cran-processx-3.4.4/R/process.R-329- #' @description r-cran-processx-3.4.4/R/process.R:330: #' `$read_error()` is similar to `$read_output`, but it reads r-cran-processx-3.4.4/R/process.R-331- #' from the standard error stream. ############################################## r-cran-processx-3.4.4/R/process.R-336- #' @description r-cran-processx-3.4.4/R/process.R:337: #' `$read_output_lines()` reads lines from standard output connection r-cran-processx-3.4.4/R/process.R-338- #' of the process. If the standard output connection was not requested, ############################################## r-cran-processx-3.4.4/R/process.R-346- #' @description r-cran-processx-3.4.4/R/process.R:347: #' `$read_error_lines()` is similar to `$read_output_lines`, but r-cran-processx-3.4.4/R/process.R-348- #' it reads from the standard error stream. ############################################## r-cran-processx-3.4.4/R/process.R-353- #' @description r-cran-processx-3.4.4/R/process.R:354: #' `$is_incomplete_output()` return `FALSE` if the other end of r-cran-processx-3.4.4/R/process.R-355- #' the standard output connection was closed (most probably because the ############################################## r-cran-processx-3.4.4/R/process.R-361- #' @description r-cran-processx-3.4.4/R/process.R:362: #' `$is_incomplete_error()` return `FALSE` if the other end of r-cran-processx-3.4.4/R/process.R-363- #' the standard error connection was closed (most probably because the ############################################## r-cran-processx-3.4.4/R/process.R-369- #' @description r-cran-processx-3.4.4/R/process.R:370: #' `$has_input_connection()` return `TRUE` if there is a connection r-cran-processx-3.4.4/R/process.R-371- #' object for standard input; in other words, if `stdout="|"`. It returns ############################################## r-cran-processx-3.4.4/R/process.R-377- #' @description r-cran-processx-3.4.4/R/process.R:378: #' `$has_output_connection()` returns `TRUE` if there is a connection r-cran-processx-3.4.4/R/process.R-379- #' object for standard output; in other words, if `stdout="|"`. It returns ############################################## r-cran-processx-3.4.4/R/process.R-385- #' @description r-cran-processx-3.4.4/R/process.R:386: #' `$has_error_connection()` returns `TRUE` if there is a connection r-cran-processx-3.4.4/R/process.R-387- #' object for standard error; in other words, if `stderr="|"`. It returns ############################################## r-cran-processx-3.4.4/R/process.R-393- #' @description r-cran-processx-3.4.4/R/process.R:394: #' `$has_poll_connection()` return `TRUE` if there is a poll connection, r-cran-processx-3.4.4/R/process.R-395- #' `FALSE` otherwise. ############################################## r-cran-processx-3.4.4/R/process.R-400- #' @description r-cran-processx-3.4.4/R/process.R:401: #' `$get_input_connection()` returns a connection object, to the r-cran-processx-3.4.4/R/process.R-402- #' standard input stream of the process. ############################################## r-cran-processx-3.4.4/R/process.R-407- #' @description r-cran-processx-3.4.4/R/process.R:408: #' `$get_output_connection()` returns a connection object, to the r-cran-processx-3.4.4/R/process.R-409- #' standard output stream of the process. ############################################## r-cran-processx-3.4.4/R/process.R-414- #' @description r-cran-processx-3.4.4/R/process.R:415: #' `$get_error_conneciton()` returns a connection object, to the r-cran-processx-3.4.4/R/process.R-416- #' standard error stream of the process. ############################################## r-cran-processx-3.4.4/R/process.R-421- #' @description r-cran-processx-3.4.4/R/process.R:422: #' `$read_all_output()` waits for all standard output from the process. r-cran-processx-3.4.4/R/process.R-423- #' It does not return until the process has finished. ############################################## r-cran-processx-3.4.4/R/process.R-432- #' @description r-cran-processx-3.4.4/R/process.R:433: #' `$read_all_error()` waits for all standard error from the process. r-cran-processx-3.4.4/R/process.R-434- #' It does not return until the process has finished. ############################################## r-cran-processx-3.4.4/R/process.R-443- #' @description r-cran-processx-3.4.4/R/process.R:444: #' `$read_all_output_lines()` waits for all standard output lines r-cran-processx-3.4.4/R/process.R-445- #' from a process. It does not return until the process has finished. ############################################## r-cran-processx-3.4.4/R/process.R-454- #' @description r-cran-processx-3.4.4/R/process.R:455: #' `$read_all_error_lines()` waits for all standard error lines from r-cran-processx-3.4.4/R/process.R-456- #' a process. It does not return until the process has finished. ############################################## r-cran-processx-3.4.4/R/process.R-465- #' @description r-cran-processx-3.4.4/R/process.R:466: #' `$write_input()` writes the character vector (separated by `sep`) to r-cran-processx-3.4.4/R/process.R-467- #' the standard input of the process. It will be converted to the specified ############################################## r-cran-processx-3.4.4/R/process.R-471- #' vector, that contains the bytes that were not written. You can supply r-cran-processx-3.4.4/R/process.R:472: #' this raw vector to `$write_input()` again, until it is fully written, r-cran-processx-3.4.4/R/process.R-473- #' and then the return value will be `raw(0)` (invisibly). ############################################## r-cran-processx-3.4.4/R/process.R-485- #' @description r-cran-processx-3.4.4/R/process.R:486: #' `$get_input_file()` if the `stdin` argument was a filename, r-cran-processx-3.4.4/R/process.R-487- #' this returns the absolute path to the file. If `stdin` was `"|"` or ############################################## r-cran-processx-3.4.4/R/process.R-493- #' @description r-cran-processx-3.4.4/R/process.R:494: #' `$get_output_file()` if the `stdout` argument was a filename, r-cran-processx-3.4.4/R/process.R-495- #' this returns the absolute path to the file. If `stdout` was `"|"` or ############################################## r-cran-processx-3.4.4/R/process.R-501- #' @description r-cran-processx-3.4.4/R/process.R:502: #' `$get_error_file()` if the `stderr` argument was a filename, r-cran-processx-3.4.4/R/process.R-503- #' this returns the absolute path to the file. If `stderr` was `"|"` or ############################################## r-cran-processx-3.4.4/R/process.R-509- #' @description r-cran-processx-3.4.4/R/process.R:510: #' `$poll_io()` polls the process's connections for I/O. See more in r-cran-processx-3.4.4/R/process.R-511- #' the _Polling_ section, and see also the [poll()] function ############################################## r-cran-processx-3.4.4/R/process.R-517- #' @description r-cran-processx-3.4.4/R/process.R:518: #' `$get_poll_connetion()` returns the poll connection, if the process has r-cran-processx-3.4.4/R/process.R-519- #' one. ############################################## r-cran-processx-3.4.4/R/process.R-524- #' @description r-cran-processx-3.4.4/R/process.R:525: #' `$get_result()` returns the result of the post processesing function. r-cran-processx-3.4.4/R/process.R-526- #' It can only be called once the process has finished. If the process has ############################################## r-cran-processx-3.4.4/R/process.R-532- #' @description r-cran-processx-3.4.4/R/process.R:533: #' `$as_ps_handle()` returns a [ps::ps_handle] object, corresponding to r-cran-processx-3.4.4/R/process.R-534- #' the process. ############################################## r-cran-processx-3.4.4/R/process.R-652-process_wait <- function(self, private, timeout) { r-cran-processx-3.4.4/R/process.R:653: "!DEBUG process_wait `private$get_short_name()`" r-cran-processx-3.4.4/R/process.R-654- rethrow_call_with_cleanup( ############################################## r-cran-processx-3.4.4/R/process.R-662-process_is_alive <- function(self, private) { r-cran-processx-3.4.4/R/process.R:663: "!DEBUG process_is_alive `private$get_short_name()`" r-cran-processx-3.4.4/R/process.R-664- rethrow_call(c_processx_is_alive, private$status, private$get_short_name()) ############################################## r-cran-processx-3.4.4/R/process.R-667-process_get_exit_status <- function(self, private) { r-cran-processx-3.4.4/R/process.R:668: "!DEBUG process_get_exit_status `private$get_short_name()`" r-cran-processx-3.4.4/R/process.R-669- rethrow_call(c_processx_get_exit_status, private$status, ############################################## r-cran-processx-3.4.4/R/process.R-673-process_signal <- function(self, private, signal) { r-cran-processx-3.4.4/R/process.R:674: "!DEBUG process_signal `private$get_short_name()` `signal`" r-cran-processx-3.4.4/R/process.R-675- rethrow_call(c_processx_signal, private$status, as.integer(signal), ############################################## r-cran-processx-3.4.4/R/process.R-679-process_interrupt <- function(self, private) { r-cran-processx-3.4.4/R/process.R:680: "!DEBUG process_interrupt `private$get_short_name()`" r-cran-processx-3.4.4/R/process.R-681- if (os_type() == "windows") { ############################################## r-cran-processx-3.4.4/R/process.R-691-process_kill <- function(self, private, grace, close_connections) { r-cran-processx-3.4.4/R/process.R:692: "!DEBUG process_kill '`private$get_short_name()`', pid `self$get_pid()`" r-cran-processx-3.4.4/R/process.R-693- ret <- rethrow_call(c_processx_kill, private$status, as.numeric(grace), ############################################## r-cran-processx-3.4.4/R/process.R-699-process_kill_tree <- function(self, private, grace, close_connections) { r-cran-processx-3.4.4/R/process.R:700: "!DEBUG process_kill_tree '`private$get_short_name()`', pid `self$get_pid()`" r-cran-processx-3.4.4/R/process.R-701- if (!ps::ps_is_supported()) { ############################################## r-cran-processx-3.4.4/R/aaassertthat.R-86-on_failure(has_attr) <- function(call, env) { r-cran-processx-3.4.4/R/aaassertthat.R:87: paste0(deparse(call$x), " does not have attribute ", eval(call$which, env)) r-cran-processx-3.4.4/R/aaassertthat.R-88-} ############################################## r-cran-processx-3.4.4/NEWS.md-20- r-cran-processx-3.4.4/NEWS.md:21:* The `$as_ps_handle()` method works now better; previously it r-cran-processx-3.4.4/NEWS.md-22- sometimes created an invalid `ps::ps_handle` object, if the system ############################################## r-cran-processx-3.4.4/NEWS.md-46- r-cran-processx-3.4.4/NEWS.md:47:* The `process$wait()` method now does not leak file descriptors on r-cran-processx-3.4.4/NEWS.md-48- Unix when interrupted (#141). ############################################## r-cran-processx-3.4.4/NEWS.md-80- r-cran-processx-3.4.4/NEWS.md:81:* `run()` now passes extra `...` arguments to `process$new()`. r-cran-processx-3.4.4/NEWS.md-82- ############################################## r-cran-processx-3.4.4/NEWS.md-97- r-cran-processx-3.4.4/NEWS.md:98:* The `$kill()` and `$kill_tree()` methods get a `close_connection = TRUE` r-cran-processx-3.4.4/NEWS.md-99- argument that closes all pipe connections of the process. ############################################## r-cran-processx-3.4.4/NEWS.md-111- r-cran-processx-3.4.4/NEWS.md:112:* New `process$kill_tree()` method, and new `cleanup_tree` arguments in r-cran-processx-3.4.4/NEWS.md:113: `run()` and `process$new()`, to clean up the process tree rooted at a r-cran-processx-3.4.4/NEWS.md-114- processx process. (#139, #143). r-cran-processx-3.4.4/NEWS.md-115- r-cran-processx-3.4.4/NEWS.md:116:* New `process$interupt()` method to send an interrupt to a process, r-cran-processx-3.4.4/NEWS.md-117- SIGINT on Unix, CTRL+C on Windows (#127). r-cran-processx-3.4.4/NEWS.md-118- r-cran-processx-3.4.4/NEWS.md:119:* New `stdin` argument in `process$new()` to support writing to the r-cran-processx-3.4.4/NEWS.md-120- standard input of a process (#27, #114). r-cran-processx-3.4.4/NEWS.md-121- r-cran-processx-3.4.4/NEWS.md:122:* New `connections` argument in `process$new()` to support passing extra r-cran-processx-3.4.4/NEWS.md-123- connections to the child process, in addition to the standard streams. r-cran-processx-3.4.4/NEWS.md-124- r-cran-processx-3.4.4/NEWS.md:125:* New `poll_connection` argument to `process$new()`, an extra connection r-cran-processx-3.4.4/NEWS.md-126- that can be used to poll the process, even if `stdout` and `stderr` are ############################################## r-cran-processx-3.4.4/NEWS.md-131- r-cran-processx-3.4.4/NEWS.md:132:* New `env` argument in `run()` and `process$new()`, to set the r-cran-processx-3.4.4/NEWS.md-133- environment of the child process, optionally (#117, #118). r-cran-processx-3.4.4/NEWS.md-134- r-cran-processx-3.4.4/NEWS.md:135:* Removed the `$restart()` method, because it was less useful than r-cran-processx-3.4.4/NEWS.md-136- expected, and hard to maintain (#116). ############################################## r-cran-processx-3.4.4/NEWS.md-160- r-cran-processx-3.4.4/NEWS.md:161:* `run()` and `process$new()` allow specifying the working directory r-cran-processx-3.4.4/NEWS.md-162- of the process (#63). ############################################## r-cran-processx-3.4.4/NEWS.md-178- r-cran-processx-3.4.4/NEWS.md:179:* Fix a race condition in `process$restart()` r-cran-processx-3.4.4/NEWS.md-180- r-cran-processx-3.4.4/NEWS.md:181:* `run()` and `process$new()` do not support the `commandline` argument r-cran-processx-3.4.4/NEWS.md-182- any more, because process cleanup is error prone with an intermediate ############################################## r-cran-processx-3.4.4/debian/tests/run-unit-test-6-if [ "$AUTOPKGTEST_TMP" = "" ] ; then r-cran-processx-3.4.4/debian/tests/run-unit-test:7: AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX` r-cran-processx-3.4.4/debian/tests/run-unit-test-8- trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM