From d38fb7e3745e6e110c97288894b7cd3136300a00 Mon Sep 17 00:00:00 2001 From: Mark Dulhunty Date: Tue, 15 Aug 2017 11:55:10 +1000 Subject: [PATCH 1/2] Typo --- inst/www/data.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inst/www/data.html b/inst/www/data.html index 0ce6e265..9cdffd90 100644 --- a/inst/www/data.html +++ b/inst/www/data.html @@ -47,7 +47,7 @@

Shipping data with packages

-

The section on data in packages in the writing r extentions manual explains various ways of including data in packages. The appdemo package contains a couple of datasets; you can find these in the data directory of the source package (these data were copied from MASS for illustration purposes).

+

The section on data in packages in the writing r extensions manual explains various ways of including data in packages. The appdemo package contains a couple of datasets; you can find these in the data directory of the source package (these data were copied from MASS for illustration purposes).

The OpenCPU API docs explain how to access the data using the /package/data/ endpoint. For example we can read "Boston" dataset using any of the output formats:

@@ -72,7 +72,7 @@

Shipping data with packages

Lazy Data

-

If you want to use data sets in code or functions, make sure to read the section on data in packages in the writing r extentions manual. You either need to set LazyData: true in the package DESCRIPTION file, or use the data() funcion in R.

+

If you want to use data sets in code or functions, make sure to read the section on data in packages in the writing r extensions manual. You either need to set LazyData: true in the package DESCRIPTION file, or use the data() funcion in R.

Plot Boston data

@@ -102,4 +102,4 @@

Plot Boston data


- \ No newline at end of file + From fa9750e2e7ab50160786f4a54005461dc7c319ff Mon Sep 17 00:00:00 2001 From: Mark Dulhunty Date: Tue, 15 Aug 2017 12:16:19 +1000 Subject: [PATCH 2/2] Typo --- inst/www/data.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/www/data.html b/inst/www/data.html index 9cdffd90..39b437d1 100644 --- a/inst/www/data.html +++ b/inst/www/data.html @@ -72,7 +72,7 @@

Shipping data with packages

Lazy Data

-

If you want to use data sets in code or functions, make sure to read the section on data in packages in the writing r extensions manual. You either need to set LazyData: true in the package DESCRIPTION file, or use the data() funcion in R.

+

If you want to use data sets in code or functions, make sure to read the section on data in packages in the writing r extensions manual. You either need to set LazyData: true in the package DESCRIPTION file, or use the data() function in R.

Plot Boston data