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

v0.2.0 #146

Merged
merged 4 commits into from
Feb 12, 2024
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
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: chromote
Title: Headless Chrome Web Browser Interface
Version: 0.1.2.9000
Version: 0.2.0
Authors@R: c(
person("Winston", "Chang", , "[email protected]", role = c("aut", "cre")),
person("Barret", "Schloerke", , "[email protected]", role = "aut",
Expand Down
18 changes: 11 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
# chromote (development version)
# chromote 0.2.0

* `Chromote` and `ChromoteSession` gain print methods to give you a snapshot of the most important values.

* `Chromote` gains a new `is_alive()` method equivalent to the old `is_active()` method; i.e. it reports on if there is an active chrome process running in the background.
## Breaking changes

* Breaking change: `Chromote$is_active()` method now reports if there is an active connection to the underlying chrome instance, rather than whether or not that instance is alive (#94).

* `--disable-gpu` is no longer included in the default Chrome arguments, except on windows where empirically it appears to be necessary (otherwise GHA check runs never terminate).
## Improvements and bug fixes

* `Chromote` and `ChromoteSession` gain print methods to give you a snapshot of the most important values (#140).

* `Chromote` gains a new `is_alive()` method equivalent to the old `is_active()` method; i.e. it reports on if there is an active chrome process running in the background (#136).

* `ChromoteSession` now records the `targetId`. This eliminates one round-trip to the browser when viewing or closing a session. You can now call the `$respawn()` method if a session terminates and you want to reconnect to the same target (#94).

* `ChromoteSession$screenshot()` gains an `options` argument that accepts a list of additional options to be passed to the Chrome Devtools Protocol's [`Page.captureScreenshot` method](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-captureScreenshot). (#129)
* `ChromoteSession$screenshot()` gains an `options` argument that accepts a list of additional options to be passed to the Chrome Devtools Protocol's [`Page.captureScreenshot` method](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-captureScreenshot) (#129).

* `ChromoteSession$screenshot()` will now infer the image format from the `filename` extension. Alternatively, you can specify the `format` in the list passed to `options` (#130).

* `ChromoteSession$screenshot()` will now infer the image format from the `filename` extension. Alternatively, you can specify the `format` in the list passed to `options`. (#130)
* `--disable-gpu` is no longer included in the default Chrome arguments, except on windows where empirically it appears to be necessary (otherwise GHA check runs never terminate) (#142).

# chromote 0.1.2

Expand Down
5 changes: 2 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
## R CMD check results

0 errors | 0 warnings | 1 note
0 errors | 0 warnings | 0 notes

Updated email address of maintainer: [email protected]

## revdepcheck results

We checked 5 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 10 reverse dependencies (9 from CRAN + 1 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
Expand Down
39 changes: 5 additions & 34 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,8 @@
# Platform

|field |value |
|:--------|:--------------------------------|
|version |R version 4.3.0 (2023-04-21) |
|os |macOS Ventura 13.4.1 |
|system |aarch64, darwin20 |
|ui |X11 |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/New_York |
|date |2023-08-11 |
|pandoc |3.1.3 @ /opt/homebrew/bin/pandoc |

# Dependencies
# Revdeps

|package |old |new |Δ |
|:-----------|:--------|:--------|:--|
|chromote |0.1.1 |0.1.2 |* |
|AsioHeaders |1.22.1-2 |1.22.1-2 | |
|cpp11 |0.4.6 |0.4.6 | |
|curl |5.0.1 |5.0.1 | |
|fastmap |1.1.1 |1.1.1 | |
|jsonlite |1.8.7 |1.8.7 | |
|later |1.3.1 |1.3.1 | |
|magrittr |2.0.3 |2.0.3 | |
|processx |3.8.2 |3.8.2 | |
|promises |1.2.1 |1.2.1 | |
|ps |1.7.5 |1.7.5 | |
|R6 |2.5.1 |2.5.1 | |
|Rcpp |1.0.11 |1.0.11 | |
|rlang |1.1.1 |1.1.1 | |
|websocket |1.4.1 |1.4.1 | |
## Failed to check (1)

# Revdeps
|package |version |error |warning |note |
|:----------|:-------|:-----|:-------|:----|
|renderthis |? | | | |

2 changes: 1 addition & 1 deletion revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## revdepcheck results

We checked 5 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
We checked 10 reverse dependencies (9 from CRAN + 1 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
Expand Down
36 changes: 35 additions & 1 deletion revdep/failures.md
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
*Wow, no problems at all. :)*
# renderthis

<details>

* Version: NA
* GitHub: NA
* Source code: https://github.com/cran/renderthis
* Number of recursive dependencies: 87

Run `revdepcheck::cloud_details(, "renderthis")` for more info

</details>

## Error before installation

### Devel

```






```
### CRAN

```






```
Loading