diff --git a/.Rbuildignore b/.Rbuildignore index 4e5598eb..d4e6ddf3 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,6 +1,7 @@ .DS_Store .gitignore .travis.yml +Rebuild_instructions.R R/loon.Rproj R/man-roxygen R/cran-comments.md diff --git a/R/inst/images/Apulia.png b/R/inst/images/Apulia.png new file mode 100644 index 00000000..20716487 Binary files /dev/null and b/R/inst/images/Apulia.png differ diff --git a/R/inst/images/Calabria.png b/R/inst/images/Calabria.png new file mode 100644 index 00000000..c6a3aaf2 Binary files /dev/null and b/R/inst/images/Calabria.png differ diff --git a/R/inst/images/Liguria.png b/R/inst/images/Liguria.png new file mode 100644 index 00000000..36618224 Binary files /dev/null and b/R/inst/images/Liguria.png differ diff --git a/R/inst/images/Sardinia.png b/R/inst/images/Sardinia.png new file mode 100644 index 00000000..fe4a917e Binary files /dev/null and b/R/inst/images/Sardinia.png differ diff --git a/R/inst/images/Sicily.png b/R/inst/images/Sicily.png new file mode 100644 index 00000000..3f7f23f6 Binary files /dev/null and b/R/inst/images/Sicily.png differ diff --git a/R/inst/images/Umbria.png b/R/inst/images/Umbria.png new file mode 100644 index 00000000..b140cd17 Binary files /dev/null and b/R/inst/images/Umbria.png differ diff --git a/Rebuild_instructions.R b/Rebuild_instructions.R new file mode 100644 index 00000000..1b17e032 --- /dev/null +++ b/Rebuild_instructions.R @@ -0,0 +1,12 @@ +# call make file in shell to rebuild tcl AND the tcl/R website +# Source tcl is in Tcl folder above R; +# make replaces the tcl library inside R +# +# build documentation +devtools::document(roclets = c('rd', 'collate', 'namespace')) +# run tests +devtools::test() +# check as CRAN +devtools::check(args = c('--as-cran')) +pkgdown::build_site() +devtools::check_win_devel() diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index b91d6b6e..bf48e728 100755 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -7,5 +7,5 @@ articles: loonPlotsAndGridGraphics: loonPlotsAndGridGraphics.html savingLoonPlots: savingLoonPlots.html teaching-example-smoothing: teaching-example-smoothing.html -last_built: 2022-02-06T21:12Z +last_built: 2022-02-07T00:06Z diff --git a/docs/reference/L2_distance.html b/docs/reference/L2_distance.html index faafd7fb..d14f539e 100644 --- a/docs/reference/L2_distance.html +++ b/docs/reference/L2_distance.html @@ -140,8 +140,8 @@

Examples

A <- matrix(rnorm(400), nrow = 10)
 B <- matrix(rnorm(800), nrow = 10)
 L2_distance(A[,1, drop = FALSE], B[,1, drop = FALSE])
-#>          [,1]
-#> [1,] 4.076617
+#>         [,1]
+#> [1,] 4.56815
 d_AB <- L2_distance(A,B)
 d_BB <- L2_distance(B,B, df = 1) # force diagonal to be zero
 
diff --git a/docs/reference/l_predict.html b/docs/reference/l_predict.html index c13d02ed..20c844e8 100644 --- a/docs/reference/l_predict.html +++ b/docs/reference/l_predict.html @@ -167,13 +167,13 @@

Examples

pre <- l_predict(model1, newdata = data.frame(x = sort(x)), interval = "conf") head(pre) -#> x y lower upper -#> 1 -1.762661874 -0.80428057 -2.1710082 0.5624470 -#> 2 -0.890485823 -0.48261191 -1.4367454 0.4715216 -#> 3 -0.526574815 -0.34839730 -1.1586147 0.4618201 -#> 4 0.009667446 -0.15062493 -0.8128610 0.5116111 -#> 5 0.312889586 -0.03879308 -0.6694678 0.5918816 -#> 6 0.788294934 0.13654193 -0.5369622 0.8100461 +#> x y lower upper +#> 1 -1.59560668 0.70771650 -0.4668193 1.8822523 +#> 2 -0.92638601 0.47055712 -0.3458284 1.2869426 +#> 3 -0.58391890 0.34919313 -0.3205065 1.0188928 +#> 4 -0.41843755 0.29054961 -0.3249227 0.9060219 +#> 5 -0.09389071 0.17553624 -0.3808443 0.7319168 +#> 6 0.27337395 0.04538446 -0.5367930 0.6275619 if(interactive()) { p <- with(cars, l_plot(speed, dist)) diff --git a/docs/reference/tcl_img_2_r_raster.html b/docs/reference/tcl_img_2_r_raster.html index 05987ca7..64a46589 100644 --- a/docs/reference/tcl_img_2_r_raster.html +++ b/docs/reference/tcl_img_2_r_raster.html @@ -112,7 +112,7 @@

Examples

grid::grid.newpage() grid::grid.raster(raster) } -#> Error in l_image_import_files(puglia): All file formats other than png require the IMG Tcl extension. +