Skip to content

Commit

Permalink
Merge pull request #16 from ralmond/Netica-607
Browse files Browse the repository at this point in the history
Netica 607
  • Loading branch information
ralmond authored May 24, 2021
2 parents cb5cc43 + b68d9cf commit 42ce481
Show file tree
Hide file tree
Showing 17 changed files with 7,066 additions and 225 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2020-08-08 Russell Almond <ralmond@Cherry>

* R/Continuous.R ("NodeValue<-"): wrapped value in as.numeric as
needs to be real and not integer.

2020-04-16 Russell Almond <ralmond@pei>

* src/Makevars.in (PKG_CFLAGS): Added -DNETICA_VERSION here. I still don't understand autoconf.
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RNetica
Version: 0.8-2
Date: 2020/04/16
Version: 0.8-4
Date: 2020/11/22
Title: R interface to Netica(R) Bayesian Network Engine
Author: Russell Almond
Maintainer: Russell Almond <ralmond@fsu.edu>
Expand Down
2 changes: 1 addition & 1 deletion INSTALLATION
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ I have included a netica.pc config file, this should be (a) edited so
the first line points to where the Netica API lives (in my case in a
directory under my home directory) and then (b) moved to somewhere
where pkg-config can find it. (If pkg-config is configured correctly,
then `pkg-config -variable pc_path pkg-config` should reveal the
then `pkg-config --variable=pc_path pkg-config` should reveal the
localtion of the pkg-config packages.

The file netica504.pc is for the older version of the API (still most
Expand Down
2 changes: 1 addition & 1 deletion R/Continuous.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ NodeValue <- function (node) {
if (length(value) >1) {
stop("Node must be set to a single value.")
}
val <- value
val <- as.numeric(value)
if (is.character(val) || is.na(val)) {
stop("Value ", value, " not legal for node ",node)
}
Expand Down
Loading

0 comments on commit 42ce481

Please sign in to comment.