Skip to content

Commit

Permalink
testpkg02 depends on testpkg01
Browse files Browse the repository at this point in the history
  • Loading branch information
KevCaz committed Nov 20, 2023
1 parent a8531aa commit ca51e20
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 32 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/R-CMD-check-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
with:
filters: |
testpkg01: 'testpkg01/**'
testpkg02: 'testpkg02/**'
testpkg02:
- 'testpkg01/R'
- 'testpkg02/**'
# JOB to build and test each of modified packages
checkPackages:
Expand Down
13 changes: 8 additions & 5 deletions testpkg01/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
Package: testpkg01
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9007
Title: CO2 head
Version: 0.0.9010
Authors@R:
person("First", "Last", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "YOUR-ORCID-ID"))
Description: What the package does (one paragraph).
person(given = "Kevin",
family = "Cazelles",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0001-6619-9874"))
Description: Return the head of the CO2 dataset.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand Down
17 changes: 12 additions & 5 deletions testpkg02/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
Package: testpkg02
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9007
Title: Call to testpkg01
Version: 0.0.9010
Authors@R:
person("First", "Last", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "YOUR-ORCID-ID"))
Description: What the package does (one paragraph).
person(given = "Kevin",
family = "Cazelles",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0001-6619-9874"))
Description: Call the one function of testpkg01.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Imports:
testpkg01
Remotes:
inSileco/monoRepoR/testpkg01
2 changes: 1 addition & 1 deletion testpkg02/NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Generated by roxygen2: do not edit by hand

export(seqRow)
export(call_hello_co2)
7 changes: 7 additions & 0 deletions testpkg02/R/call_hello_co2.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#' Call hello_co2() from `testpkg01`
#' @export
#' @examples
#' call_hello_co2()
call_hello_co2 <- function() {
testpkg01::hello_co2()
}
6 changes: 0 additions & 6 deletions testpkg02/R/seqRow.R

This file was deleted.

14 changes: 14 additions & 0 deletions testpkg02/man/call_hello_co2.Rd

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

14 changes: 0 additions & 14 deletions testpkg02/man/seqRow.Rd

This file was deleted.

0 comments on commit ca51e20

Please sign in to comment.