Skip to content

Commit a4ae6b6

Browse files
committed
initial commit
0 parents  commit a4ae6b6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+6362
-0
lines changed

.Rbuildignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
^.*\.Rproj$
2+
^\.Rproj\.user$
3+
^LICENSE\.md$
4+
^README\.Rmd$
5+
^_pkgdown\.yml$
6+
^docs$
7+
^pkgdown$
8+
^\.github$

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html
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]
6+
pull_request:
7+
branches: [main]
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

.github/workflows/pkgdown.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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]
6+
release:
7+
types: [published]
8+
workflow_dispatch:
9+
10+
name: pkgdown
11+
12+
jobs:
13+
pkgdown:
14+
runs-on: ubuntu-latest
15+
env:
16+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
17+
steps:
18+
- uses: actions/checkout@v2
19+
20+
- uses: r-lib/actions/setup-pandoc@v1
21+
22+
- uses: r-lib/actions/setup-r@v1
23+
with:
24+
use-public-rspm: true
25+
26+
- uses: r-lib/actions/setup-r-dependencies@v1
27+
with:
28+
extra-packages: pkgdown
29+
needs: website
30+
31+
- name: Deploy package
32+
run: |
33+
git config --local user.name "$GITHUB_ACTOR"
34+
git config --local user.email "[email protected]"
35+
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata
5+
*.log
6+
src/Makevars
7+
nanonext.Rcheck/00_pkg_src/nanonext/
8+
nanonext.Rcheck/
9+
*.gz
10+
docs
11+
include
12+
lib

DESCRIPTION

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Package: nanonext
2+
Type: Package
3+
Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library
4+
Version: 0.1.0
5+
Description: R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is
6+
a socket library providing high-performance scalability protocols, or common
7+
communication patterns, the basic building blocks for distributed systems.
8+
Authors@R:
9+
c(person(given = "Charlie",
10+
family = "Gao",
11+
role = c("aut", "cre"),
12+
email = "[email protected]",
13+
comment = c(ORCID = "0000-0002-0750-061X")),
14+
person(given = "Ling",
15+
family = "Li",
16+
role = "ctb",
17+
email = "[email protected]"))
18+
License: GPL (>= 3)
19+
BugReports: https://github.com/shikokuchuo/nanonext/issues
20+
URL: https://shikokuchuo.net/nanonext/, https://github.com/shikokuchuo/nanonext/
21+
Encoding: UTF-8
22+
SystemRequirements: libnng or cmake
23+
Depends:
24+
R (>= 2.4)
25+
RoxygenNote: 7.1.2

0 commit comments

Comments
 (0)