From 62e6efc792a8e3deb0921f8d231658d71443bb1e Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 10:38:06 -0800 Subject: [PATCH 01/11] Update to the latest github actions workflow --- .github/.gitignore | 1 + .github/workflows/R-CMD-check.yaml | 67 +++++++++++------------------- 2 files changed, 26 insertions(+), 42 deletions(-) create mode 100644 .github/.gitignore diff --git a/.github/.gitignore b/.github/.gitignore new file mode 100644 index 0000000..2d19fc7 --- /dev/null +++ b/.github/.gitignore @@ -0,0 +1 @@ +*.html diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index a22a2dc..a3ac618 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -1,4 +1,10 @@ -on: [push, pull_request] +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help +on: + push: + branches: [main, master] + pull_request: + branches: [main, master] name: R-CMD-check @@ -12,55 +18,32 @@ jobs: fail-fast: false matrix: config: - - { os: windows-latest, r: 'release'} - - { os: windows-latest, r: 'devel'} - - { os: macOS-latest, r: 'release'} - - { os: macOS-latest, r: 'devel'} - - { os: ubuntu-16.04, r: '3.5', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"} - - { os: ubuntu-16.04, r: 'release', cran: "https://demo.rstudiopm.com/all/__linux__/xenial/latest"} + - {os: macos-latest, r: 'release'} + - {os: windows-latest, r: 'release'} + - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} + - {os: ubuntu-latest, r: 'release'} + - {os: ubuntu-latest, r: 'oldrel-1'} env: - R_REMOTES_NO_ERRORS_FROM_WARNINGS: true - CRAN: ${{ matrix.config.cran }} + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - - uses: r-lib/actions/setup-r@master + - uses: r-lib/actions/setup-pandoc@v2 + + - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }} + http-user-agent: ${{ matrix.config.http-user-agent }} + use-public-rspm: true - - uses: r-lib/actions/setup-pandoc@master - - - name: Cache R packages - if: runner.os != 'Windows' - uses: actions/cache@v1 + - uses: r-lib/actions/setup-r-dependencies@v2 with: - path: ${{ env.R_LIBS_USER }} - key: ${{ runner.os }}-r-${{ matrix.config.r }}-${{ hashFiles('DESCRIPTION') }} - - - name: Install system dependencies - if: runner.os == 'Linux' - env: - RHUB_PLATFORM: linux-x86_64-ubuntu-gcc - run: | - Rscript -e "install.packages('remotes')" -e "remotes::install_github('r-hub/sysreqs')" - sysreqs=$(Rscript -e "cat(sysreqs::sysreq_commands('DESCRIPTION'))") - sudo -s eval "$sysreqs" - - name: Install dependencies - run: Rscript -e "install.packages('remotes')" -e "remotes::install_deps(dependencies = TRUE)" -e "remotes::install_cran('rcmdcheck')" + extra-packages: any::rcmdcheck + needs: check - - name: Check - run: Rscript -e "rcmdcheck::rcmdcheck(args = '--no-manual', error_on = 'warning', check_dir = 'check')" - - - name: Upload check results - if: failure() - uses: actions/upload-artifact@master + - uses: r-lib/actions/check-r-package@v2 with: - name: ${{ runner.os }}-r${{ matrix.config.r }}-results - path: check - - - name: Test coverage - if: matrix.config.os == 'macOS-latest' && matrix.config.r == 'release' - run: | - Rscript -e 'covr::codecov(token = "${{secrets.CODECOV_TOKEN}}")' + upload-snapshots: true From bcd7c93fc251a168d30b9323e598c0212c3e201c Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 10:38:41 -0800 Subject: [PATCH 02/11] Update MD file --- README.Rmd | 2 +- README.md | 45 ++++++++++++++++++++++----------------------- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/README.Rmd b/README.Rmd index 2985604..5ce59a8 100644 --- a/README.Rmd +++ b/README.Rmd @@ -15,7 +15,7 @@ knitr::opts_chunk$set( # errorist -[![R build status](https://github.com/r-assist/errorist/workflows/R-CMD-check/badge.svg)](https://github.com/r-assist/errorist/actions) +[![R-CMD-check](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml) [![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/errorist)](https://cran.r-project.org/package=errorist) [![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/errorist)](http://www.r-pkg.org/pkg/errorist) [![Coverage Status](https://img.shields.io/codecov/c/github/r-assist/errorist/master.svg)](https://codecov.io/github/r-assist/errorist?branch=master) diff --git a/README.md b/README.md index 8e99df2..3905974 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,8 @@ -[![R build -status](https://github.com/r-assist/errorist/workflows/R-CMD-check/badge.svg)](https://github.com/r-assist/errorist/actions) -[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/errorist)](https://cran.r-project.org/package=errorist) +[![R-CMD-check](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml) +[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/errorist)](https://cran.r-project.org/package=errorist) [![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/errorist)](http://www.r-pkg.org/pkg/errorist) [![Coverage @@ -15,7 +14,7 @@ Status](https://img.shields.io/codecov/c/github/r-assist/errorist/master.svg)](h > *errorist*: one who holds to and propagates error -> +> > — [Merriam > Webster](https://www.merriam-webster.com/dictionary/errorist) @@ -61,12 +60,12 @@ messages is Google. You can specify a different search engine handler by setting default values: - - `errorist.warning`: Warning search engine portal. The default is - `searcher::search_google`. - - `errorist.error`: Error search engine portal. The default is - `searcher::search_google`. - - `errorist.autoload`: Automatically search errors. The default is - `TRUE`. +- `errorist.warning`: Warning search engine portal. The default is + `searcher::search_google`. +- `errorist.error`: Error search engine portal. The default is + `searcher::search_google`. +- `errorist.autoload`: Automatically search errors. The default is + `TRUE`. If frequent use of the package occurs, consider adding the different search handlers as an option in your `.Rprofile`: @@ -107,19 +106,19 @@ support for errors that occurred at runtime. # Special Thanks - - [Dirk Eddelbuettel](http://dirk.eddelbuettel.com) for starting the - discussion on [XKCD Comic 1185: Ineffective - Sorts](https://xkcd.com/1185/). - - [Barry Rowlingson](http://barry.rowlingson.com) for the package name - and remarks about functionality. - - [Brodie Gaslam](http://www.brodieg.com/) for pointing out - [`addTaskCallback()`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/taskCallback.html) - as a way to create a warning handler and for a brief discussion on - “call” objects. - - [Joshua Ulrich](https://github.com/joshuaulrich/) for advise on - incorporating the semi-documented - [`last.warning`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/warning.html) - object that *R* populates with warning messages. +- [Dirk Eddelbuettel](http://dirk.eddelbuettel.com) for starting the + discussion on [XKCD Comic 1185: Ineffective + Sorts](https://xkcd.com/1185/). +- [Barry Rowlingson](http://barry.rowlingson.com) for the package name + and remarks about functionality. +- [Brodie Gaslam](http://www.brodieg.com/) for pointing out + [`addTaskCallback()`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/taskCallback.html) + as a way to create a warning handler and for a brief discussion on + “call” objects. +- [Joshua Ulrich](https://github.com/joshuaulrich/) for advise on + incorporating the semi-documented + [`last.warning`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/warning.html) + object that *R* populates with warning messages. # License From b490e9fd8e37e80ac6424cc1a1cccca811d2a7eb Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 10:38:58 -0800 Subject: [PATCH 03/11] Re-generate documentation --- DESCRIPTION | 3 +-- man/errorist-package.Rd | 3 +-- man/errorist_init.Rd | 6 +----- man/shims.Rd | 4 ++-- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index bc0249f..32a6b7d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -20,7 +20,6 @@ Suggests: testthat, rmarkdown License: GPL (>= 2) Encoding: UTF-8 -LazyData: true -RoxygenNote: 7.0.2 +RoxygenNote: 7.2.3 Roxygen: list(markdown = TRUE) VignetteBuilder: knitr diff --git a/man/errorist-package.Rd b/man/errorist-package.Rd index d7dd7cb..fb4f9f0 100644 --- a/man/errorist-package.Rd +++ b/man/errorist-package.Rd @@ -6,8 +6,7 @@ \alias{errorist-package} \title{errorist: Automatically Search Errors or Warnings} \description{ -Provides environment hooks that obtain errors and warnings which - occur during the execution of code to automatically search for solutions. +Provides environment hooks that obtain errors and warnings which occur during the execution of code to automatically search for solutions. } \seealso{ Useful links: diff --git a/man/errorist_init.Rd b/man/errorist_init.Rd index 0ff9504..239b3b4 100644 --- a/man/errorist_init.Rd +++ b/man/errorist_init.Rd @@ -13,11 +13,7 @@ enable_errorist( disable_errorist() } \arguments{ -\item{error_search_func}{The search function from \code{\link{searcher}} that should be called when -an error or warning occurs. By default, searches are routed through -\href{https://google.com}{Google}.} - -\item{warning_search_func}{The search function from \code{\link{searcher}} that should be called when +\item{error_search_func, warning_search_func}{The search function from \code{\link{searcher}} that should be called when an error or warning occurs. By default, searches are routed through \href{https://google.com}{Google}.} } diff --git a/man/shims.Rd b/man/shims.Rd index 503f0ac..8d258bf 100644 --- a/man/shims.Rd +++ b/man/shims.Rd @@ -43,7 +43,7 @@ a function for \code{error} in \code{options()}. For the warning shim, a top-level task callback added to the environment -via \code{\link[base:addTaskCallback]{base::addTaskCallback()}}. This causes the warning handler to fire +via \code{\link[base:taskCallback]{base::addTaskCallback()}}. This causes the warning handler to fire each time a new function call occurs in \emph{R} regardless of whether it triggers an error. } @@ -84,7 +84,7 @@ enable_error_shim(error_search_func = searcher::search_google) disable_error_shim() } \seealso{ -\code{\link[base:addTaskCallback]{base::addTaskCallback()}} +\code{\link[base:taskCallback]{base::addTaskCallback()}} } \author{ James Joseph Balamuta From f8d1223558ffc88731d0af0cd0118c9ae57260b8 Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 10:39:15 -0800 Subject: [PATCH 04/11] Switch to packageStartupMessage() away from message() to satisfy CRAN issue. --- R/handlers.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/handlers.R b/R/handlers.R index 87fc3be..3a8f9a0 100644 --- a/R/handlers.R +++ b/R/handlers.R @@ -45,7 +45,7 @@ #' @rdname errorist_init enable_errorist = function(error_search_func = getOption("errorist.warning", searcher::search_google), warning_search_func = getOption("errorist.warning", searcher::search_google)) { - message("Warnings and errors will automatically trigger a web search.") + packageStartupMessage("Warnings and errors will automatically trigger a web search.") enable_error_shim(error_search_func) enable_warning_shim(warning_search_func) } @@ -53,7 +53,7 @@ enable_errorist = function(error_search_func = getOption("errorist.warning", sea #' @export #' @rdname errorist_init disable_errorist = function() { - message("Warnings and errors are no longer automatically searched.") + packageStartupMessage("Warnings and errors are no longer automatically searched.") disable_error_shim() disable_warning_shim() } From ea0d6f459ffc6c6a334164932be5ac8dc484ea26 Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 10:55:41 -0800 Subject: [PATCH 05/11] Add news entry --- NEWS.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/NEWS.md b/NEWS.md index 1cec2d9..fbe0fce 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,18 @@ +# errorist 0.1.1 + +## Fixes + +- Switched insertion shiv `message()` to `packageStartupMessage()` + ([#11](https://github.com/r-assist/errorist/pull/11)) + +- Removed `LazyData: true` from `DESCRIPTION` + ([#11](https://github.com/r-assist/errorist/pull/11)) + +## Deployment + +- Updated to the latest version of `r-lib` GitHub actions. + ([#11](https://github.com/r-assist/errorist/pull/11)) + # errorist 0.1.0 ## Feature From 80a4a056e6111dcbbe995781b3ddc36fd0233699 Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 10:55:47 -0800 Subject: [PATCH 06/11] Bump version --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 32a6b7d..dcc6dc5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: errorist Title: Automatically Search Errors or Warnings -Version: 0.1.0 +Version: 0.1.1 Authors@R: c( person("James", "Balamuta", email = "balamut2@illinois.edu", From bbe7f00c5a46bb8440d283f2756fe4fbcc539b2d Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 10:58:57 -0800 Subject: [PATCH 07/11] PR 12 --- NEWS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index fbe0fce..57275ff 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,15 +3,15 @@ ## Fixes - Switched insertion shiv `message()` to `packageStartupMessage()` - ([#11](https://github.com/r-assist/errorist/pull/11)) + ([#12](https://github.com/r-assist/errorist/pull/12)) - Removed `LazyData: true` from `DESCRIPTION` - ([#11](https://github.com/r-assist/errorist/pull/11)) + ([#12](https://github.com/r-assist/errorist/pull/12)) ## Deployment - Updated to the latest version of `r-lib` GitHub actions. - ([#11](https://github.com/r-assist/errorist/pull/11)) + ([#12](https://github.com/r-assist/errorist/pull/12)) # errorist 0.1.0 From 9c0a64d8278626d6f44a5426af8709ec6a1a6644 Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 11:16:48 -0800 Subject: [PATCH 08/11] Update URLs to use HTTPS using: urlchecker::url_update() --- NEWS.md | 2 +- README.Rmd | 7 +++---- README.md | 8 +++----- vignettes/working-with-errorist.Rmd | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/NEWS.md b/NEWS.md index 57275ff..527ef89 100644 --- a/NEWS.md +++ b/NEWS.md @@ -73,7 +73,7 @@ the following folks: on [XKCD Comic 1185: Ineffective Sorts](https://xkcd.com/1185/). - [Barry Rowlingson](http://barry.rowlingson.com) for the package name and remarks about functionality. -- [Brodie Gaslam](http://www.brodieg.com/) for pointing out +- [Brodie Gaslam](https://www.brodieg.com/) for pointing out [`addTaskCallback()`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/taskCallback.html) as a way to create a warning handler and for a brief discussion on "call" objects. diff --git a/README.Rmd b/README.Rmd index 5ce59a8..141b047 100644 --- a/README.Rmd +++ b/README.Rmd @@ -16,9 +16,8 @@ knitr::opts_chunk$set( [![R-CMD-check](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml) -[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/errorist)](https://cran.r-project.org/package=errorist) -[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/errorist)](http://www.r-pkg.org/pkg/errorist) -[![Coverage Status](https://img.shields.io/codecov/c/github/r-assist/errorist/master.svg)](https://codecov.io/github/r-assist/errorist?branch=master) +[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/errorist)](https://cran.r-project.org/package=errorist) +[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/errorist)](https://www.r-pkg.org/pkg/errorist) > @@ -113,7 +112,7 @@ for errors that occurred at runtime. on [XKCD Comic 1185: Ineffective Sorts](https://xkcd.com/1185/). - [Barry Rowlingson](http://barry.rowlingson.com) for the package name and remarks about functionality. -- [Brodie Gaslam](http://www.brodieg.com/) for pointing out +- [Brodie Gaslam](https://www.brodieg.com/) for pointing out [`addTaskCallback()`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/taskCallback.html) as a way to create a warning handler and for a brief discussion on "call" objects. diff --git a/README.md b/README.md index 3905974..e6c3135 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,9 @@ [![R-CMD-check](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/r-assist/errorist/actions/workflows/R-CMD-check.yaml) -[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/errorist)](https://cran.r-project.org/package=errorist) +[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/errorist)](https://cran.r-project.org/package=errorist) [![CRAN RStudio mirror -downloads](http://cranlogs.r-pkg.org/badges/errorist)](http://www.r-pkg.org/pkg/errorist) -[![Coverage -Status](https://img.shields.io/codecov/c/github/r-assist/errorist/master.svg)](https://codecov.io/github/r-assist/errorist?branch=master) +downloads](https://cranlogs.r-pkg.org/badges/errorist)](https://www.r-pkg.org/pkg/errorist) > *errorist*: one who holds to and propagates error @@ -111,7 +109,7 @@ support for errors that occurred at runtime. Sorts](https://xkcd.com/1185/). - [Barry Rowlingson](http://barry.rowlingson.com) for the package name and remarks about functionality. -- [Brodie Gaslam](http://www.brodieg.com/) for pointing out +- [Brodie Gaslam](https://www.brodieg.com/) for pointing out [`addTaskCallback()`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/taskCallback.html) as a way to create a warning handler and for a brief discussion on “call” objects. diff --git a/vignettes/working-with-errorist.Rmd b/vignettes/working-with-errorist.Rmd index 69f47fb..49fd37a 100644 --- a/vignettes/working-with-errorist.Rmd +++ b/vignettes/working-with-errorist.Rmd @@ -24,7 +24,7 @@ of being as invisible as possible. To achieve the invisibility, on package load, handlers to receive error and warning message are automatically created and applied. These handlers propogate the messages raised by _R_ into the [`searcher`](https://CRAN.R-project.org/package=searcher) package, which -automatically searches the contents on [Google](https://google.com/) by default. +automatically searches the contents on [Google](https://www.google.com/) by default. ## Usage From 5e658ac47115effa5d791b5fb45913200ca61ffb Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 11:19:34 -0800 Subject: [PATCH 09/11] Add new NEWS.md entry --- NEWS.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 527ef89..98850ba 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,10 +2,14 @@ ## Fixes -- Switched insertion shiv `message()` to `packageStartupMessage()` +- Switched insertion shiv `message()` to `packageStartupMessage()`. ([#12](https://github.com/r-assist/errorist/pull/12)) -- Removed `LazyData: true` from `DESCRIPTION` +- Removed `LazyData: true` from `DESCRIPTION`. + ([#12](https://github.com/r-assist/errorist/pull/12)) + + +- Switched URLs to using `https` instead of `http` and removed broken links. ([#12](https://github.com/r-assist/errorist/pull/12)) ## Deployment From d113cc1e53cff5b71812763706a89494b8f75d4d Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 11:29:06 -0800 Subject: [PATCH 10/11] Add a / for google. --- R/handlers.R | 2 +- man/errorist_init.Rd | 2 +- man/shims.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/handlers.R b/R/handlers.R index 3a8f9a0..32cb287 100644 --- a/R/handlers.R +++ b/R/handlers.R @@ -144,7 +144,7 @@ warning_handler = function(search_func = #' @param error_search_func,warning_search_func #' The search function from [`searcher`] that should be called when #' an error or warning occurs. By default, searches are routed through -#' [Google](https://google.com). +#' [Google](https://google.com/). #' #' @details #' By default, both [enable_warning_shim()] and [enable_error_shim()] functions diff --git a/man/errorist_init.Rd b/man/errorist_init.Rd index 239b3b4..9618e75 100644 --- a/man/errorist_init.Rd +++ b/man/errorist_init.Rd @@ -15,7 +15,7 @@ disable_errorist() \arguments{ \item{error_search_func, warning_search_func}{The search function from \code{\link{searcher}} that should be called when an error or warning occurs. By default, searches are routed through -\href{https://google.com}{Google}.} +\href{https://google.com/}{Google}.} } \description{ Activates or disengages the automatic look up of error or warning codes in diff --git a/man/shims.Rd b/man/shims.Rd index 8d258bf..30b3d78 100644 --- a/man/shims.Rd +++ b/man/shims.Rd @@ -22,7 +22,7 @@ disable_error_shim() \arguments{ \item{error_search_func, warning_search_func}{The search function from \code{\link{searcher}} that should be called when an error or warning occurs. By default, searches are routed through -\href{https://google.com}{Google}.} +\href{https://google.com/}{Google}.} } \description{ Add or remove a listener to top-level task callbacks that checks for From 50bb2d662323180d22e536c46233574f638948ee Mon Sep 17 00:00:00 2001 From: "balamut2@illinois.edu" Date: Sat, 4 Mar 2023 11:45:40 -0800 Subject: [PATCH 11/11] https://google.com/ -> https://www.google.com/ --- R/handlers.R | 2 +- man/errorist_init.Rd | 2 +- man/shims.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/handlers.R b/R/handlers.R index 32cb287..5c24779 100644 --- a/R/handlers.R +++ b/R/handlers.R @@ -144,7 +144,7 @@ warning_handler = function(search_func = #' @param error_search_func,warning_search_func #' The search function from [`searcher`] that should be called when #' an error or warning occurs. By default, searches are routed through -#' [Google](https://google.com/). +#' [Google](https://www.google.com/). #' #' @details #' By default, both [enable_warning_shim()] and [enable_error_shim()] functions diff --git a/man/errorist_init.Rd b/man/errorist_init.Rd index 9618e75..19a2212 100644 --- a/man/errorist_init.Rd +++ b/man/errorist_init.Rd @@ -15,7 +15,7 @@ disable_errorist() \arguments{ \item{error_search_func, warning_search_func}{The search function from \code{\link{searcher}} that should be called when an error or warning occurs. By default, searches are routed through -\href{https://google.com/}{Google}.} +\href{https://www.google.com/}{Google}.} } \description{ Activates or disengages the automatic look up of error or warning codes in diff --git a/man/shims.Rd b/man/shims.Rd index 30b3d78..cca4b75 100644 --- a/man/shims.Rd +++ b/man/shims.Rd @@ -22,7 +22,7 @@ disable_error_shim() \arguments{ \item{error_search_func, warning_search_func}{The search function from \code{\link{searcher}} that should be called when an error or warning occurs. By default, searches are routed through -\href{https://google.com/}{Google}.} +\href{https://www.google.com/}{Google}.} } \description{ Add or remove a listener to top-level task callbacks that checks for