From 385f0f7e0501acc873cdcb3bb490266913f79651 Mon Sep 17 00:00:00 2001 From: Michael Braun Date: Thu, 7 Oct 2021 12:51:05 -0500 Subject: [PATCH] build for 0.8.7.3 --- DESCRIPTION | 4 ++-- NEWS.md | 5 +++++ inst/CITATION | 4 ++-- tests/testthat/test_binary.R | 2 +- tests/testthat/test_rosenbrock.R | 2 +- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index fb23064..2dc9d6c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: trustOptim Type: Package Title: Trust Region Optimization for Nonlinear Functions with Sparse Hessians -Version: 0.8.7.2 -Date: 2021-09-21 +Version: 0.8.7.3 +Date: 2021-10-07 Authors@R: person(given="Michael", family="Braun", email="braunm@smu.edu", role=c("aut","cre","cph"), comment=c(ORCID="0000-0003-4774-2119")) Maintainer: Michael Braun URL: https://braunm.github.io/trustOptim/, https://github.com/braunm/trustOptim/ diff --git a/NEWS.md b/NEWS.md index 99ad361..8bd02f3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,9 @@ +# trustOptim 0.8.7.3 + +- Disabled tests on CRAN. Checks depending on numerical precision are not 100% guaranteed to pass on all CRAN platforms. +- Updated CITATION file to point to the DOI link to JStatSoft article. + # trustOptim 0.8.7.2 - Built a pkgdown site. diff --git a/inst/CITATION b/inst/CITATION index 3eb60ad..43d1cec 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -8,11 +8,11 @@ citEntry(entry = "Article", volume = "60", number = "4", pages = "1--16", - url = "https://www.jstatsoft.org/v60/i04/", + url = "https://doi.org/10.18637/jss.v060.i04", textVersion = paste("Michael Braun (2014).", "trustOptim: An R Package for Trust Region Optimization with Sparse Hessians.", "Journal of Statistical Software, 60(4), 1-16.", - "URL http://www.jstatsoft.org/v60/i04/.") + "URL https://doi.org/10.18637/jss.v060.i04.") ) diff --git a/tests/testthat/test_binary.R b/tests/testthat/test_binary.R index f6e6d77..f878162 100644 --- a/tests/testthat/test_binary.R +++ b/tests/testthat/test_binary.R @@ -1,7 +1,7 @@ context("Tests using binary dataset") test_that("Binary", { - skip_on_cran() + testthat::skip_on_cran() data(binary) N <- length(binary$Y) k <- NROW(binary$X) diff --git a/tests/testthat/test_rosenbrock.R b/tests/testthat/test_rosenbrock.R index 38d7deb..04e65c0 100644 --- a/tests/testthat/test_rosenbrock.R +++ b/tests/testthat/test_rosenbrock.R @@ -1,7 +1,7 @@ context("Tests using Rosenbrock function") test_that("Rosenbrock", { - + testthat::skip_on_cran() f.rosen <- function(V) { N <- length(V)/2