Skip to content

Commit b66801f

Browse files
authored
Using barry directly (#5)
* Using barry directly * Adding barry to suggests * Adding the extra package * Cleaning * Adding barryr to pkgdown build process
1 parent 86ffeaa commit b66801f

Some content is hidden

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

73 files changed

+38
-20214
lines changed

.github/workflows/pkgdown.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030

3131
- uses: r-lib/actions/setup-r-dependencies@v2
3232
with:
33-
extra-packages: any::pkgdown, local::.
33+
extra-packages: |
34+
github::USCbiostats/barryr
35+
any::pkgdown
36+
local::.
3437
needs: website
3538

3639
- name: Build site

.github/workflows/r.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151

5252
- uses: r-lib/actions/setup-r-dependencies@v2
5353
with:
54-
extra-packages: any::rcmdcheck
54+
extra-packages: |
55+
any::rcmdcheck
56+
github::USCBiostats/barryr
5557
needs: check
5658

5759
- uses: r-lib/actions/check-r-package@v2

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
.Rhistory
33
.RData
44
.Ruserdata
5+
.vscode
6+
*.tar.gz
7+
*.Rcheck
8+
config.log
9+
config.status

DESCRIPTION

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ Encoding: UTF-8
1919
LazyData: true
2020
Roxygen: list(markdown = TRUE)
2121
RoxygenNote: 7.3.3
22-
LinkingTo: Rcpp
22+
LinkingTo: Rcpp, barry
2323
Imports:
2424
Rcpp,
2525
stats
2626
Depends:
2727
R (>= 4.1.0),
2828
stats4
2929
Suggests:
30-
texreg, tinytest
30+
texreg, tinytest, barry
31+
Remotes:
32+
USCBiostats/barryr

Makefile

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
1+
help:
2+
@echo "Makefile for defm"
3+
@echo ""
4+
@echo " make docs Generate documentation"
5+
@echo " make build Build package tarball"
6+
@echo " make install Install package from tarball"
7+
@echo " make check Check package from tarball"
8+
@echo " make update Update barry include files"
9+
@echo " make debug Install package with debug flags"
10+
@echo " make clean Clean up generated files"
11+
@echo " make README.md Generate README.md from README.Rmd"
12+
@echo " make inst/NEWS Generate inst/NEWS from NEWS.md"
13+
@echo " make docker-run Run a docker container with R and barry installed"
14+
@echo " make docker-check All checks inside a docker container"
15+
116
docs:
217
Rscript -e 'devtools::document()'
318

419
build:
520
R CMD build .
621

722
install:
8-
R CMD INSTALL defm_*.tar.gz
23+
Rscript --vanilla -e 'devtools::install()'
924

1025
check:
11-
R CMD check --as-cran defm_*.tar.gz
12-
13-
update:
14-
rsync --delete -avz ../barry/include/barry inst/include
26+
Rscript --vanilla -e 'devtools::check()'
1527

1628
debug:
1729
$(MAKE) clean && \

inst/include/barry/barray-bones.hpp

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

inst/include/barry/barray-iterator.hpp

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

0 commit comments

Comments
 (0)