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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 9 12:34:47 CET 2021


Author: briand
Date: 2021-11-09 12:34:47 +0100 (Tue, 09 Nov 2021)
New Revision: 591

Modified:
   pkg/stacomir/inst/examples/report_df-example.R
Log:
fixes error in example

Modified: pkg/stacomir/inst/examples/report_df-example.R
===================================================================
--- pkg/stacomir/inst/examples/report_df-example.R	2021-11-09 11:31:12 UTC (rev 590)
+++ pkg/stacomir/inst/examples/report_df-example.R	2021-11-09 11:34:47 UTC (rev 591)
@@ -2,9 +2,10 @@
 	database_expected=FALSE)
 # An example that will work with the database installed only and schema iav in the database
 # prompt for user and password but you can set appropriate options for host, port and dbname
-stacomi(
-		database_expected=TRUE, sch='iav')	
+
 \dontrun{
+	stacomi(
+			database_expected=TRUE, sch='iav')	
 	if (interactive()){
 		if (!exists("user")){
 			user <- readline(prompt="Enter user: ")



More information about the Stacomir-commits mailing list