Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pkgdown site #53

Merged
merged 4 commits into from
May 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
^src/.*\.o$
^src/tools/px$
^src/tools/px.exe$
^docs$
9 changes: 7 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
Package: callr
Title: Call R from R
Version: 2.0.3-9001
Author: Gábor Csárdi, Winston Chang
Maintainer: Gábor Csárdi <csardi.gabor@gmail.com>
Authors@R: c(
person("Gábor", "Csárdi", role = c("aut", "cre", "cph"),
email = "csardi.gabor@gmail.com",
comment = c(ORCID = "0000-0001-7098-9676")),
person("Winston", "Chang", role = "aut"),
person("RStudio", role = c("cph", "fnd")),
person("Mango Solutions", role = c("cph", "fnd")))
Description: It is sometimes useful to perform a computation in a
separate R process, without affecting the current R process at all.
This packages does exactly that.
Expand Down
14 changes: 8 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# 2.0.3-9000
# callr 2.0.3-9000

# 2.0.3
* pkgdown web site at https://callr.r-lib.org (#52, #53).

# callr 2.0.3

* The default behavior on error can be set now with the `callr.error`
option.
Expand All @@ -10,7 +12,7 @@ option.

* `r_bg` and `rcmd_bg` now have the `supervise` option (#45).

# 2.0.2
# callr 2.0.2

* Fix a bug with R-devel, caused by the change on 2018-02-08:
https://github.com/wch/r-source/commit/924582943706100e88a11d6bb0585d25779c91f5
Expand All @@ -20,13 +22,13 @@ option.
or stderr. The client sometimes didn't wait for the server, and callr
failed with ERROR_PIPE_BUSY (231, All pipe instances are busy).

# 2.0.1
# callr 2.0.1

* Fix compilation issues on CRAN's Solaris machine

* Fix a test failure on CRAN's macOS machine

# 2.0.0
# callr 2.0.0

* Run R or R CMD * in the background, see `r_bg()`, `rcmd_bg()`,
and also `r_process` and `rcmd_process`
Expand Down Expand Up @@ -58,6 +60,6 @@ option.

* `rcmd()` gets a `wd` argument to set the working directory

# 1.0.0
# callr 1.0.0

First public release.
18 changes: 0 additions & 18 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ with_envvar <- function(new, code) {

os_platform <- function() .Platform$OS.type

try_silently <- function(expr) try(expr, silent = TRUE)

enumerate <- function(x) {
if (length(x) == 0) {
""
Expand All @@ -40,22 +38,6 @@ enumerate <- function(x) {
}
}

strrep <- function(x, times) {
x <- as.character(x)
if (length(x) == 0L) return(x)
r <- .mapply(
function(x, times) {
if (is.na(x) || is.na(times)) return(NA_character_)
if (times <= 0L) return("")
paste0(replicate(times, x), collapse = "")
},
list(x = x, times = times),
MoreArgs = list()
)

unlist(r, use.names = FALSE)
}

## Thanks to Romain for the idea!
## https://github.com/romainfrancois/trump/blob/
## 7845b83343afa356e4259c054e7c9a910034f170/R/trump.R
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ that.

## Installation

Install the stable version from CRAN:

```r
install.packages("callr")
```

Install the development version from GitHub:

```r
source("https://install-github.me/r-lib/callr")
```
Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
125 changes: 125 additions & 0 deletions docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

140 changes: 140 additions & 0 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading