-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use cran-like conditions for memory check; update loo to use posterio…
…r predictions
- Loading branch information
Nicholas Clark
committed
May 9, 2024
1 parent
ca8d933
commit 824b7ab
Showing
8 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
# mvgam 1.10 | ||
* First release of `mvgam` to CRAN | ||
# mvgam 1.1.1 | ||
* Changed indexing of an internal c++ function after Prof Brian Ripley’s | ||
email: Dear maintainer, Please see the problems shown on | ||
https://cran.r-project.org/web/checks/check_results_mvgam.html. Please correct before 2024-05-22 to safely retain your package on CRAN. The CRAN Team | ||
|
||
# mvgam 1.1.0 | ||
* First release of `mvgam` to CRAN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
## Initial release (version 1.1.0) | ||
## Version 1.1.1 | ||
|
||
## Response to previous check comments | ||
* DESCRIPTION has been shortened appropriately and the References tag placed in the correct location | ||
* Missing Rd tags have been added for all exported functions | ||
* Code that previously wrote home filespace has been removed | ||
* Examples that previously used non-exported functions have been fixed | ||
* Replacing `\dontrun` with `\donttest` throughout will almost certainly cause problems in any later CRAN checks because many of these examples take some time due to the need for 'Stan' models to compile. Specifically, using `--run-donttest` the examples take between 48 and 60 minutes, depending on the test environment. A very similar R package that is on CRAN ('brms') sticks to the `\dontrun` convention because of this, so I have elected to only use `\donttest` in the examples for the package's primary functions `mvgam()` and `get_mvgam_priors()` | ||
* `onexit()` has been used as suggested to ensure the user's `par` is not changed | ||
* `options()` have been reset to user defaults in `man` pages as suggested | ||
* Changed indexing of an internal c++ function after Prof Brian Ripley’s email: Dear maintainer, Please see the problems shown on https://cran.r-project.org/web/checks/check_results_mvgam.html. Please correct before 2024-05-22 to safely retain your package on CRAN. The CRAN Team. I presume this was triggered by a memory 'Invalid read of size' message from `valgrind`, which occurred in one of the examples and one of the tests. Strangely this behaviour did not occur in other examples that use identical codes, so I suspect it was a false positive. But nevertheless I have made some changes and checked with `valgrind` (see '`valgrind` memory check results' below) | ||
* Also reduced sizes of vignette html files in response to several NOTEs about the large package install size | ||
|
||
## Test environments | ||
* Windows install: R 4.3.1 | ||
|
@@ -20,4 +15,7 @@ | |
## R CMD check results | ||
* There were no ERRORs or WARNINGs. There were 2 NOTEs due to listing 'cmdstanr' in Suggests. This package is not a dependency but provides an additional backend option for users to select when fitting 'Stan' models, if they wish. A similar package that has been available on CRAN for quite some time ('brms') uses the same convention. I have included the `Additional_repositories` field in the DESCRIPTION to appropriately tell users where they can find this package. | ||
|
||
## `valgrind` memory check results | ||
* Running all examples using `--run-donttest`, and all package tests (including those skipped on CRAN) with `R -d "valgrind --tool=memcheck --leak-check=full"` resulted in no WARNINGs or ERRORs | ||
|
||
Maintainer: 'Nicholas J Clark <[email protected]>' |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters