Skip to content

Commit dde7b93

Browse files
committed
updating testing
1 parent 4e77313 commit dde7b93

File tree

9 files changed

+60
-34
lines changed

9 files changed

+60
-34
lines changed

.Rbuildignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77
^README-.*\.png$
88
^appveyor\.yml$
99
^presentations
10+
^_pkgdown\.yml$
11+
^docs$
12+
^pkgdown$
13+
^\.github$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/R-CMD-check.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
name: R-CMD-check
10+
11+
jobs:
12+
R-CMD-check:
13+
runs-on: ${{ matrix.config.os }}
14+
15+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
16+
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
config:
21+
- {os: macOS-latest, r: 'release'}
22+
- {os: windows-latest, r: 'release'}
23+
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
24+
- {os: ubuntu-latest, r: 'release'}
25+
- {os: ubuntu-latest, r: 'oldrel-1'}
26+
27+
env:
28+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
29+
R_KEEP_PKG_SOURCE: yes
30+
31+
steps:
32+
- uses: actions/checkout@v2
33+
34+
- uses: r-lib/actions/setup-pandoc@v1
35+
36+
- uses: r-lib/actions/setup-r@v1
37+
with:
38+
r-version: ${{ matrix.config.r }}
39+
http-user-agent: ${{ matrix.config.http-user-agent }}
40+
use-public-rspm: true
41+
42+
- uses: r-lib/actions/setup-r-dependencies@v1
43+
with:
44+
extra-packages: rcmdcheck
45+
46+
- uses: r-lib/actions/check-r-package@v1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.Rproj.user
22
.Rhistory
33
.RData
4+
docs

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: chunked
22
Type: Package
33
Title: Chunkwise Text-File Processing for 'dplyr'
4-
Version: 0.5.1
5-
Authors@R: c(person("Edwin", "de Jonge", email="edwindjonge@gmail.com", role=c("aut","cre")))
4+
Version: 0.6.0
5+
Authors@R: c(person("Edwin", "de Jonge", email="edwindjonge@gmail.com", role=c("aut","cre"), comment = c(ORCID = "0000-0002-6580-4718")))
66
Description: Data stored in text file can be processed chunkwise using 'dplyr' commands. These
77
are recorded and executed per data chunk, so large files can be processed with
88
limited memory using the 'LaF' package.

R/insert_chunk_into.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#' before adding it to a database.
66
#' @export
77
#' @param x tbl_chunk object
8-
#' @param dest database destination, e.g. src_sqlite()
8+
#' @param dest database destination, e.g. src_dbi()
99
#' @param table name of table
1010
#' @param temporary Should the table be removed when the database connection is closed?
1111
#' @param analyze Should the table be analyzed after import?

R/print.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ print.chunkwise <- function(x, n=NULL, width=NULL, ...){
88
cat("Groups: ", commas(sapply(grps, deparse, width.cutoff = 500L)), "\n", sep = "")
99
}
1010
cat("\n")
11-
print(trunc_mat(h, n = n, width = width))
11+
# browser()
12+
print(h, width=width, ..., n = n)
13+
#print(trunc_mat(h, n = n, width = width))
1214
cat("...\n")
1315
invisible(x)
1416
}

_pkgdown.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
template:
2+
bootstrap: 5

0 commit comments

Comments
 (0)