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:
Clair Blacketer 2024-02-02 11:52:43 -05:00
parent 3874edd67b
commit fac08dfbee
5 changed files with 19 additions and 1 deletions

View File

@ -5,3 +5,5 @@
extras/*
docs/*
rmd/*
^CRAN-SUBMISSION$
^cran-comments\.md$

View File

@ -7,6 +7,8 @@ on:
pull_request:
branches:
- '**'
schedule:
- cron: '0 19 * * 0' # every Sunday at 7pm UTC
name: R-CMD-check

3
CRAN-SUBMISSION Normal file
View File

@ -0,0 +1,3 @@
Version: 0.2.0
Date: 2024-01-31 19:11:21 UTC
SHA: 55c4d7a934e0c85d64503a89326cf7454209421a

10
cran-comments.md Normal file
View File

@ -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

View File

@ -1,3 +1,4 @@
# connection based tests required environment variables be configured
test_that("CommonDataModel Execution Test", {
if (Sys.getenv("CDM5_POSTGRESQL_SERVER") != "") {
@ -22,7 +23,6 @@ test_that("CommonDataModel Execution Test", {
expect_error(disconnect(con), NA)
})
for (cdmVersion in listSupportedVersions()) {
test_that(paste("DDL", cdmVersion, "runs on", dbms), {
dropAllTablesFromSchema(connectionDetails, cdmDatabaseSchema)
@ -61,3 +61,4 @@ test_that("CommonDataModel Execution Test", {
message("Skipping driver setup because environmental variables not set")
}
})