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

CRAN fix -- remove antiword link #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
40 changes: 40 additions & 0 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# See https://github.com/r-lib/actions/tree/master/examples#readme for
# additional example workflows available for the R community.

name: R

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

jobs:
build:
runs-on: macos-latest
strategy:
matrix:
r-version: ['3.6.3', '4.1.1']

steps:
- uses: actions/checkout@v3
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a
with:
r-version: ${{ matrix.r-version }}
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "error")
shell: Rscript {0}
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Imports: antiword, curl, data.table, pdftools, readxl, rvest, striprtf, textshap
License: GPL-2
LazyData: TRUE
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
RoxygenNote: 7.2.3
BugReports: https://github.com/trinker/textreadr/issues?state=open
URL: https://github.com/trinker/textreadr
4 changes: 2 additions & 2 deletions R/read_doc.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#' @param trim logical. If `TRUE` the leading/training white space is
#' removed.
#' @param format logical. If `TRUE` the output will keep doc formatting
#' (e.g., bold, italics, underlined). This corresponds to the `-f` flag in
#' [**antiword**](http://www.winfield.demon.nl).
#' (e.g., bold, italics, underlined); bold text is printed like \\*bold\\*,
#' italics like /italics/ and underlined text as \\_underlined\\_.
#' @param ... ignored.
#' @return Returns a character vector.
#' @keywords doc
Expand Down
4 changes: 2 additions & 2 deletions man/read_doc.Rd

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