Skip to content

Commit

Permalink
various fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KevCaz committed Nov 16, 2023
1 parent ee58c9c commit f8e4640
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 18 deletions.
1 change: 0 additions & 1 deletion .github/workflows/R-CMD-check-all.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# see https://github.com/dorny/paths-filter
on:
push:
branches: [main, master]
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,12 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
OCI_LIB: ${{ github.workspace }}/instantclient_19_6
LD_LIBRARY_PATH: ${{ github.workspace }}/instantclient_19_6
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- name: Install Oracle drivers
run: |
sudo apt-get install -y libaio-dev
wget https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-basic-linux.x64-19.6.0.0.0dbru.zip -O oic_basic.zip && unzip oic_basic.zip && rm oic_basic.zip
wget https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-sdk-linux.x64-19.6.0.0.0dbru.zip -O oic_sdk.zip && unzip oic_sdk.zip && rm oic_sdk.zip
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck, any::covr, any::goodpractice, any::lintr
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# monoRepoR
Test repo to apply the same worklows on several packages in a mono repo.

Demo repo to apply the same worklows on several packages in a mono repo.


## Generating test packages

```R
# create testpkg01
usethis::create_package("testpkg01") # NB: this prompts a message that requires an answer
## NB: the command line below prompts a message that requires an answer
usethis::create_package("testpkg01")
usethis::use_mit_license()
devtools::load_all()
devtools::document()
Expand Down
2 changes: 1 addition & 1 deletion testpkg01/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Imports:
ROracle
datasets
6 changes: 0 additions & 6 deletions testpkg01/R/hello.R

This file was deleted.

5 changes: 5 additions & 0 deletions testpkg01/R/hello_co2.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#' Hello world
#' @export
hello_co2 <- function() {
head(datasets::CO2)
}

0 comments on commit f8e4640

Please sign in to comment.