Skip to content

Commit dd25d73

Browse files
committed
Fix spacing issue (#1568).
1 parent 09d9b45 commit dd25d73

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

packages/nimble/R/BUGS_BUGSdecl.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,9 +788,9 @@ getSymbolicParentNodesRecurse <- function(code, constNames = list(), indexNames
788788

789789
## error if it looks like mu[i][j] where i is a for-loop index
790790
if(variable$hasIndex)
791-
stop('Error: Variable',
791+
stop('Error: Variable ',
792792
safeDeparse(code[[2]]),
793-
'on outside of [ contains a BUGS code index.')
793+
' on outside of `[` in ', safeDeparse(code), ' contains a model code index.')
794794

795795
if(variable$replaceable) {
796796
## a case like x[ block[i] ], dealing with the

packages/nimble/R/zzz.R

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
#date <- utils::packageDescription("nimble", field = "Date")
44
packageStartupMessage("nimble version ", release, " is loaded.",
55
"\nFor more information on NIMBLE and a User Manual,",
6-
"\nplease visit https://R-nimble.org.",
7-
"\n\nNote for advanced users who have written their own MCMC samplers:",
8-
"\n As of version 0.13.0, NIMBLE's protocol for handling posterior",
9-
"\n predictive nodes has changed in a way that could affect user-defined",
10-
"\n samplers in some situations. Please see Section 15.5.1 of the User Manual."
6+
"\nplease visit https://R-nimble.org."
117
)
128
}
139

0 commit comments

Comments
 (0)