Skip to content

Commit

Permalink
version 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau authored and cran-robot committed Mar 21, 2024
1 parent 28e27da commit 51f3a7e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Description: Similar to 'rstantools' for 'rstan',
migrate from 'rstan' to the more modern 'cmdstanr'.
Packages 'rstantools', 'cmdstanr', 'stannis', and
'stanapi' are similar Stan clients with different objectives.
Version: 0.2.1
Version: 0.2.2
License: MIT + file LICENSE
URL: https://wlandau.github.io/instantiate/,
https://github.com/wlandau/instantiate
Expand All @@ -37,10 +37,10 @@ Language: en-US
Config/testthat/edition: 3
RoxygenNote: 7.3.1
NeedsCompilation: yes
Packaged: 2024-02-06 20:53:49 UTC; C240390
Packaged: 2024-03-20 12:13:56 UTC; landau
Author: William Michael Landau [aut, cre]
(<https://orcid.org/0000-0003-1878-3253>),
Eli Lilly and Company [cph, fnd]
Maintainer: William Michael Landau <will.landau.oss@gmail.com>
Repository: CRAN
Date/Publication: 2024-02-06 21:10:02 UTC
Date/Publication: 2024-03-20 12:40:02 UTC
6 changes: 3 additions & 3 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
a8b2ee1b71d55e3baf740798962ddf5d *DESCRIPTION
3d417dbf04a0d746989a93cc232bee40 *DESCRIPTION
251996587bac8db01533ad7011f0c4f5 *LICENSE
bd9fd53ea4db1db82dc9608914ecf63e *NAMESPACE
4db49db829c3c75c3d5243e94fa6e7ce *NEWS.md
5857e002ac05f48eccdd6c514e32fde2 *NEWS.md
2bef7698ac8415315bc135a49e578fd7 *R/stan_cmdstan_exists.R
fbbc28ba2a7f1db7e2cbfdd60ded45ea *R/stan_cmdstan_path.R
41567ca03c5d51725a8df8671a85df29 *R/stan_cmdstan_version.R
e1d9578869b1865488b143d5c3aa0bc2 *R/stan_package.R
5e5c02177f5a1f2dbddda85f123e2bd5 *R/stan_package_clean.R
fea8c1c0b7a797b3cefb80464f6c3eed *R/stan_package_compile.R
29b29aa83988156a408ac0a7344aeed8 *R/stan_package_compile.R
f871241ef51cd7a6c263abe471017fdc *R/stan_package_configure.R
5910f1ddb7d6b74b26f5d053fd49b7ab *R/stan_package_create.R
5a18040af8f27b9d1863d4b06ec872a0 *R/stan_package_model.R
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# instantiate 0.2.2

* Allow downstream packages to install even if `CmdStanR` is not installed (#20, @xinxinc476).

# instantiate 0.2.1

* Address CRAN warnings in generated packages about non-portable compilation flags (#19, @xinxinc476).
Expand Down
5 changes: 4 additions & 1 deletion R/stan_package_compile.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,13 @@ stan_package_compile <- function(
threads = FALSE,
...
) {
stan_assert_cmdstanr()
# Not possible to test in automated tests in one coverage run.
# Covered in GitHub Actions workflows.
# nocov start
result <- try(stan_assert_cmdstanr())
if (inherits(result, "try-error")) {
return(invisible())
}
if (!stan_cmdstan_exists(cmdstan_install = cmdstan_install)) {
stan_cmdstan_message()
return(invisible())
Expand Down

0 comments on commit 51f3a7e

Please sign in to comment.