[Stacomir-commits] r602 - pkg/stacomir/inst/examples

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 12 09:22:57 CET 2021


Author: briand
Date: 2021-11-12 09:22:57 +0100 (Fri, 12 Nov 2021)
New Revision: 602

Modified:
   pkg/stacomir/inst/examples/report_sample_char-example.R
   pkg/stacomir/inst/examples/report_sea_age-example.R
Log:
Edited examples

Modified: pkg/stacomir/inst/examples/report_sample_char-example.R
===================================================================
--- pkg/stacomir/inst/examples/report_sample_char-example.R	2021-11-12 08:14:00 UTC (rev 601)
+++ pkg/stacomir/inst/examples/report_sample_char-example.R	2021-11-12 08:22:57 UTC (rev 602)
@@ -1,10 +1,12 @@
 # launching stacomi without connection to the database
 stacomi(	database_expected=FALSE)
 # If you have a working database
-# the following line of code will create the r_sample_char dataset from the iav (default) schema in the database
+# the following line of code will create the r_sample_char 
+# dataset from the iav (default) schema in the database
 \dontrun{
 	stacomi(database_expected=TRUE)	# uses default option sch = 'iav'
-	# prompt for user and password, you can set these in the options, including dbname and host
+	# prompt for user and password, you can set these in the options, 
+	# including dbname and host
 	if (interactive()){
 		if (!exists("user")){
 			user <- readline(prompt="Enter user: ")

Modified: pkg/stacomir/inst/examples/report_sea_age-example.R
===================================================================
--- pkg/stacomir/inst/examples/report_sea_age-example.R	2021-11-12 08:14:00 UTC (rev 601)
+++ pkg/stacomir/inst/examples/report_sea_age-example.R	2021-11-12 08:22:57 UTC (rev 602)
@@ -4,8 +4,10 @@
 # If you have a working database
 # the following line of code will create the r_seaa dataset from the logrami schema in the database
 \dontrun{
-		stacomi(database_expected=TRUE, sch='logrami')	# overrides the default option sch = 'iav'
-		# prompt for user and password, you can set these in the options, including dbname and host
+		stacomi(database_expected=TRUE, sch='logrami')	
+		# overrides the default option sch = 'iav'
+		# prompt for user and password, you can set these in the options,
+	  # including dbname and host
 		if (interactive()){
 			if (!exists("user")){
 				user <- readline(prompt="Enter user: ")



More information about the Stacomir-commits mailing list