Update CRAN repo to latest, fix one test using removed CRAN packages, ignore another (#113)

* sql server install, airlines DB restore

* update commands remove CU

* change ci.yaml to run workflow in GHA

* add R installation for MLS

* add airline db users and permissions

* typo

* use correct DB

* typo

* typo

* revert ci.yaml move to SQL2022.yml

* just R for this PR

* name from 19 to 22

* fix cran link

* update package assertive.base to abc.data to fulfill test requirements of having special character in name and no/minimal dependencies. Assertive.base is no longer on cran.

* remove yaml as unrelated to pr. add newline per github warning
This commit is contained in:
Sean Leonard 2024-06-27 13:17:59 -07:00 коммит произвёл GitHub
Родитель 47c480fd3d
Коммит 1060aef964
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -51,7 +51,7 @@ testthatDir <- getwd()
R_Root <- file.path(testthatDir, "../..")
scriptDirectory <- file.path(testthatDir, "scripts")
options(repos = c(CRAN="https://cran.microsoft.com/snapshot/2022-07-06"))
options(repos = c(CRAN="https://cloud.r-project.org/"))
cat("INFO: repos = ", getOption("repos"), sep="\n")
# Compute context specifications

Просмотреть файл

@ -13,7 +13,7 @@ test_that( "successfull install and remove of package with special char in name
#
scope <- if(!helper_isServerLinux()) "public" else "private"
packageName <- c("assertive.base")
packageName <- c("abc.data")
connectionStringDBO <- helper_getSetting("connectionStringDBO")
tryCatch({

Просмотреть файл

@ -159,6 +159,7 @@ test_that( "Installing a package that is already in use",
#
test_that( "Binary Package install with LinkingTo dependency",
{
skip('iptools no longer on CRAN, FIX TODO: https://github.com/microsoft/sqlmlutils/issues/114 ')
connectionStringAirlineUserdbowner <- helper_getSetting("connectionStringAirlineUserdbowner")
scope <- "private"