Final edits for cran submission
This commit adds comments for the cran submission and schedules github actions to run once a week.
This commit is contained in:
parent
3874edd67b
commit
fac08dfbee
|
@ -5,3 +5,5 @@
|
||||||
extras/*
|
extras/*
|
||||||
docs/*
|
docs/*
|
||||||
rmd/*
|
rmd/*
|
||||||
|
^CRAN-SUBMISSION$
|
||||||
|
^cran-comments\.md$
|
||||||
|
|
|
@ -7,6 +7,8 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
|
schedule:
|
||||||
|
- cron: '0 19 * * 0' # every Sunday at 7pm UTC
|
||||||
|
|
||||||
name: R-CMD-check
|
name: R-CMD-check
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
Version: 0.2.0
|
||||||
|
Date: 2024-01-31 19:11:21 UTC
|
||||||
|
SHA: 55c4d7a934e0c85d64503a89326cf7454209421a
|
|
@ -0,0 +1,10 @@
|
||||||
|
## R CMD check results
|
||||||
|
|
||||||
|
* This is a new release
|
||||||
|
|
||||||
|
# Update based on reviewer feedback
|
||||||
|
- turned off tests when environment variables are not set
|
||||||
|
|
||||||
|
0 errors | 0 warnings | 1 note
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
# connection based tests required environment variables be configured
|
# connection based tests required environment variables be configured
|
||||||
test_that("CommonDataModel Execution Test", {
|
test_that("CommonDataModel Execution Test", {
|
||||||
if (Sys.getenv("CDM5_POSTGRESQL_SERVER") != "") {
|
if (Sys.getenv("CDM5_POSTGRESQL_SERVER") != "") {
|
||||||
|
@ -22,7 +23,6 @@ test_that("CommonDataModel Execution Test", {
|
||||||
expect_error(disconnect(con), NA)
|
expect_error(disconnect(con), NA)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
for (cdmVersion in listSupportedVersions()) {
|
for (cdmVersion in listSupportedVersions()) {
|
||||||
test_that(paste("DDL", cdmVersion, "runs on", dbms), {
|
test_that(paste("DDL", cdmVersion, "runs on", dbms), {
|
||||||
dropAllTablesFromSchema(connectionDetails, cdmDatabaseSchema)
|
dropAllTablesFromSchema(connectionDetails, cdmDatabaseSchema)
|
||||||
|
@ -61,3 +61,4 @@ test_that("CommonDataModel Execution Test", {
|
||||||
message("Skipping driver setup because environmental variables not set")
|
message("Skipping driver setup because environmental variables not set")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue