[CHNOSZ-commits] r504 - in pkg/CHNOSZ: . R inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Aug 17 19:01:58 CEST 2019


Author: jedick
Date: 2019-08-17 19:01:58 +0200 (Sat, 17 Aug 2019)
New Revision: 504

Modified:
   pkg/CHNOSZ/DESCRIPTION
   pkg/CHNOSZ/R/util.expression.R
   pkg/CHNOSZ/inst/NEWS
Log:
describe.reaction(): use equals sign, not non-portable double arrow


Modified: pkg/CHNOSZ/DESCRIPTION
===================================================================
--- pkg/CHNOSZ/DESCRIPTION	2019-08-02 15:38:24 UTC (rev 503)
+++ pkg/CHNOSZ/DESCRIPTION	2019-08-17 17:01:58 UTC (rev 504)
@@ -1,6 +1,6 @@
-Date: 2019-08-02
+Date: 2019-08-17
 Package: CHNOSZ
-Version: 1.3.3
+Version: 1.3.3-1
 Title: Thermodynamic Calculations and Diagrams for Geochemistry
 Authors at R: c(
     person("Jeffrey", "Dick", , "j3ffdick at gmail.com", role = c("aut", "cre"),

Modified: pkg/CHNOSZ/R/util.expression.R
===================================================================
--- pkg/CHNOSZ/R/util.expression.R	2019-08-02 15:38:24 UTC (rev 503)
+++ pkg/CHNOSZ/R/util.expression.R	2019-08-17 17:01:58 UTC (rev 504)
@@ -279,7 +279,8 @@
   }
   # put an equals sign between reactants and products
   # change this to unicode for the reaction double-arrow 20190218 \u21cc
-  desc <- substitute(a ~ "\u21cc" ~ b, list(a=reactexpr, b=prodexpr))
+  # go back to equals - the arrow only works out-of-the-box on linux 20190817
+  desc <- substitute(a ~ "=" ~ b, list(a=reactexpr, b=prodexpr))
   return(desc)
 }
 

Modified: pkg/CHNOSZ/inst/NEWS
===================================================================
--- pkg/CHNOSZ/inst/NEWS	2019-08-02 15:38:24 UTC (rev 503)
+++ pkg/CHNOSZ/inst/NEWS	2019-08-17 17:01:58 UTC (rev 504)
@@ -1,3 +1,9 @@
+CHANGES IN CHNOSZ 1.3.3-1 (2019-08-17)
+--------------------------------------
+
+- describe.reaction(): revert the change of using a double arrow. The
+  equals sign is much more portable.
+
 CHANGES IN CHNOSZ 1.3.3 (2019-08-02)
 ------------------------------------
 



More information about the CHNOSZ-commits mailing list