├── .github
├── .gitignore
└── workflows
│ └── pkgdown.yaml
├── vignettes
├── .gitignore
├── 4_fig_2_noaalogo.rdata
├── E_thispkgwasbuiltusing.Rmd
└── csl.csl
├── LICENSE
├── docs
├── logo.png
├── favicon.ico
├── favicon-16x16.png
├── favicon-32x32.png
├── package-logo.png
├── apple-touch-icon.png
├── reference
│ ├── Rplot001.png
│ ├── crossref-1.png
│ ├── figures
│ │ ├── logo.png
│ │ ├── logo.pptx
│ │ ├── buildReport.JPG
│ │ ├── refpptx_nmfs.JPG
│ │ ├── refdoc_noaa_tech_memo.JPG
│ │ ├── folder_output_post_run.JPG
│ │ ├── folder_architecture_post_buildReport.JPG
│ │ └── refdoc_fisheries_economics_of_the_us.JPG
│ ├── ref_figtab-1.png
│ ├── save_figures-1.png
│ ├── save_graphs-1.png
│ ├── ref_listobject-1.png
│ └── CreateMetadata.html
├── apple-touch-icon-120x120.png
├── apple-touch-icon-152x152.png
├── apple-touch-icon-180x180.png
├── apple-touch-icon-60x60.png
├── apple-touch-icon-76x76.png
├── man
│ └── figures
│ │ ├── buildReport.JPG
│ │ ├── refpptx_nmfs.JPG
│ │ ├── folder_output_post_run.JPG
│ │ ├── refdoc_noaa_tech_memo.JPG
│ │ ├── folder_architecture_post_buildReport.JPG
│ │ └── refdoc_fisheries_economics_of_the_us.JPG
├── 5624caeb15464c07518bb1f2b4f9de1f.ico.zip
├── articles
│ ├── C_functions-to-help-write-report_files
│ │ ├── figure-html
│ │ │ ├── G1c-1.png
│ │ │ ├── G2c-1.png
│ │ │ ├── unnamed-chunk-18-1.png
│ │ │ ├── unnamed-chunk-20-1.png
│ │ │ ├── unnamed-chunk-3-1.png
│ │ │ ├── unnamed-chunk-5-1.png
│ │ │ ├── unnamed-chunk-7-1.png
│ │ │ └── unnamed-chunk-9-1.png
│ │ ├── header-attrs-2.8
│ │ │ └── header-attrs.js
│ │ ├── header-attrs-2.10
│ │ │ └── header-attrs.js
│ │ └── tabwid-1.0.0
│ │ │ └── tabwid.css
│ ├── A_use-buildReport_files
│ │ ├── header-attrs-2.8
│ │ │ └── header-attrs.js
│ │ └── header-attrs-2.10
│ │ │ └── header-attrs.js
│ ├── B_run-script-demo_files
│ │ ├── header-attrs-2.8
│ │ │ └── header-attrs.js
│ │ └── header-attrs-2.10
│ │ │ └── header-attrs.js
│ ├── D_googledrive_files
│ │ ├── header-attrs-2.10
│ │ │ └── header-attrs.js
│ │ └── header-attrs-2.8
│ │ │ └── header-attrs.js
│ ├── E_thispkgwasbuiltusing_files
│ │ └── header-attrs-2.10
│ │ │ └── header-attrs.js
│ └── index.html
├── pkgdown.yml
├── link.svg
├── bootstrap-toc.css
├── docsearch.js
├── extra.css
├── pkgdown.js
├── sitemap.xml
├── bootstrap-toc.js
├── LICENSE-text.html
└── news
│ └── index.html
├── tests
├── testthat.R
└── testthat
│ └── test-my-test.R
├── NEWS.md
├── inst
├── img
│ ├── Noaa1.png
│ ├── favicon.ico
│ ├── Noaa_logo.jpg
│ ├── noaa-gray.png
│ ├── noaa_logo.gif
│ ├── DeptOfCommerce.jpg
│ ├── NOAA_Logo_Full.jpg
│ ├── noaa_logo_pos.png
│ ├── noaa_logo_reverse.png
│ ├── noaa_fisheries_small.png
│ ├── FISHERIES_Logo_WEB_ONLY.png
│ └── NOAA_Fisheries_logo_vertical.png
├── icons
│ ├── favicon.ico
│ ├── apple-icon.png
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ ├── favicon-96x96.png
│ ├── ms-icon-70x70.png
│ ├── ms-icon-144x144.png
│ ├── ms-icon-150x150.png
│ ├── ms-icon-310x310.png
│ ├── android-icon-36x36.png
│ ├── android-icon-48x48.png
│ ├── android-icon-72x72.png
│ ├── android-icon-96x96.png
│ ├── apple-icon-114x114.png
│ ├── apple-icon-120x120.png
│ ├── apple-icon-144x144.png
│ ├── apple-icon-152x152.png
│ ├── apple-icon-180x180.png
│ ├── apple-icon-57x57.png
│ ├── apple-icon-60x60.png
│ ├── apple-icon-72x72.png
│ ├── apple-icon-76x76.png
│ ├── android-icon-144x144.png
│ ├── android-icon-192x192.png
│ ├── apple-icon-precomposed.png
│ ├── 5624caeb15464c07518bb1f2b4f9de1f.ico.zip
│ ├── browserconfig.xml
│ ├── manifest.json
│ └── ref.txt
├── rmd
│ ├── refppt_NMFS.pptx
│ ├── refdoc_noaa_tech_memo.docx
│ ├── word-styles-reference.docx
│ ├── refdoc_fisheries_economics_of_the_us.docx
│ ├── 1_data.R
│ ├── 1_blank.R
│ ├── _TableFigureHeader.Rmd
│ ├── header.yaml
│ ├── 0_blank.Rmd
│ ├── 1_dataDL.R
│ ├── 0_endmatter.Rmd
│ ├── 0_coverpage.Rmd
│ ├── 0_presentation.Rmd
│ ├── bib_example.bib
│ ├── 0_figtab.Rmd
│ ├── _child_save_eq.Rmd
│ ├── 0_frontmatter.Rmd
│ ├── run.R
│ ├── 1_functions.R
│ ├── 1_directories.R
│ └── _child_save_fig.Rmd
└── cite
│ └── bulletin-of-marine-science.csl
├── man
├── figures
│ ├── logo.png
│ ├── logo.pptx
│ ├── buildReport.JPG
│ ├── refpptx_nmfs.JPG
│ ├── folder_output_post_run.JPG
│ ├── refdoc_noaa_tech_memo.JPG
│ ├── folder_architecture_post_buildReport.JPG
│ └── refdoc_fisheries_economics_of_the_us.JPG
├── create_metadata.Rd
├── stndth.Rd
├── auto_counter.Rd
├── df2js.Rd
├── TitleCase.Rd
├── numbers2words.Rd
├── xunitspct.Rd
├── numbers2words_th.Rd
├── url_exists.Rd
├── tolower2.Rd
├── mod_number.Rd
├── pchange.Rd
├── numbers0.Rd
├── is_something_in_this_matrix.Rd
├── text_list.Rd
├── xunits.Rd
├── format_cells.Rd
├── googledrive_txt_dl.Rd
├── range_text.Rd
├── theme_flextable_nmfstm.Rd
├── save_equations.Rd
├── crossref.Rd
├── add_table_footnotes.Rd
├── save_tables.Rd
├── save_figures.Rd
└── buildReport.Rd
├── pkgdown
├── favicon
│ ├── favicon.ico
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ ├── apple-touch-icon.png
│ ├── apple-touch-icon-60x60.png
│ ├── apple-touch-icon-76x76.png
│ ├── apple-touch-icon-120x120.png
│ ├── apple-touch-icon-152x152.png
│ └── apple-touch-icon-180x180.png
├── extra.css
└── _pkgdown.yml
├── presentations
└── 2021-06-05NMFSReports-RCascadiaConf.pdf
├── .gitignore
├── .Rbuildignore
├── NMFSReports.Rproj
├── doc
├── E_thispkgwasbuiltusing.R
├── E_thispkgwasbuiltusing.Rmd
├── D_googledrive.R
├── D_googledrive.Rmd
└── A_use-buildReport.R
├── NAMESPACE
├── LICENSE.md
├── DESCRIPTION
├── notes.R
├── README.Rmd
└── README.md
/.github/.gitignore:
--------------------------------------------------------------------------------
1 | *.html
2 |
--------------------------------------------------------------------------------
/vignettes/.gitignore:
--------------------------------------------------------------------------------
1 | *.html
2 | *.R
3 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | YEAR: 2021
2 | COPYRIGHT HOLDER: Emily Markowitz
3 |
--------------------------------------------------------------------------------
/docs/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/logo.png
--------------------------------------------------------------------------------
/tests/testthat.R:
--------------------------------------------------------------------------------
1 | library(testthat)
2 | library(NMFSReports)
3 |
4 | test_check("NMFSReports")
5 |
--------------------------------------------------------------------------------
/NEWS.md:
--------------------------------------------------------------------------------
1 | # NMFSReports 0.0.0.9000
2 |
3 | * Added a `NEWS.md` file to track changes to the package.
4 |
--------------------------------------------------------------------------------
/docs/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/favicon.ico
--------------------------------------------------------------------------------
/inst/img/Noaa1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/Noaa1.png
--------------------------------------------------------------------------------
/inst/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/favicon.ico
--------------------------------------------------------------------------------
/man/figures/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/logo.png
--------------------------------------------------------------------------------
/tests/testthat/test-my-test.R:
--------------------------------------------------------------------------------
1 | test_that("multiplication works", {
2 | expect_equal(2 * 2, 4)
3 | })
4 |
--------------------------------------------------------------------------------
/docs/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/favicon-16x16.png
--------------------------------------------------------------------------------
/docs/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/favicon-32x32.png
--------------------------------------------------------------------------------
/docs/package-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/package-logo.png
--------------------------------------------------------------------------------
/inst/icons/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/favicon.ico
--------------------------------------------------------------------------------
/inst/img/Noaa_logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/Noaa_logo.jpg
--------------------------------------------------------------------------------
/inst/img/noaa-gray.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/noaa-gray.png
--------------------------------------------------------------------------------
/inst/img/noaa_logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/noaa_logo.gif
--------------------------------------------------------------------------------
/man/figures/logo.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/logo.pptx
--------------------------------------------------------------------------------
/docs/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/apple-touch-icon.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon.png
--------------------------------------------------------------------------------
/inst/rmd/refppt_NMFS.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/rmd/refppt_NMFS.pptx
--------------------------------------------------------------------------------
/docs/reference/Rplot001.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/Rplot001.png
--------------------------------------------------------------------------------
/inst/icons/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/favicon-16x16.png
--------------------------------------------------------------------------------
/inst/icons/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/favicon-32x32.png
--------------------------------------------------------------------------------
/inst/icons/favicon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/favicon-96x96.png
--------------------------------------------------------------------------------
/inst/icons/ms-icon-70x70.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/ms-icon-70x70.png
--------------------------------------------------------------------------------
/inst/img/DeptOfCommerce.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/DeptOfCommerce.jpg
--------------------------------------------------------------------------------
/inst/img/NOAA_Logo_Full.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/NOAA_Logo_Full.jpg
--------------------------------------------------------------------------------
/inst/img/noaa_logo_pos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/noaa_logo_pos.png
--------------------------------------------------------------------------------
/man/figures/buildReport.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/buildReport.JPG
--------------------------------------------------------------------------------
/man/figures/refpptx_nmfs.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/refpptx_nmfs.JPG
--------------------------------------------------------------------------------
/pkgdown/favicon/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/favicon.ico
--------------------------------------------------------------------------------
/docs/reference/crossref-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/crossref-1.png
--------------------------------------------------------------------------------
/inst/icons/ms-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/ms-icon-144x144.png
--------------------------------------------------------------------------------
/inst/icons/ms-icon-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/ms-icon-150x150.png
--------------------------------------------------------------------------------
/inst/icons/ms-icon-310x310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/ms-icon-310x310.png
--------------------------------------------------------------------------------
/inst/img/noaa_logo_reverse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/noaa_logo_reverse.png
--------------------------------------------------------------------------------
/docs/apple-touch-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/apple-touch-icon-120x120.png
--------------------------------------------------------------------------------
/docs/apple-touch-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/apple-touch-icon-152x152.png
--------------------------------------------------------------------------------
/docs/apple-touch-icon-180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/apple-touch-icon-180x180.png
--------------------------------------------------------------------------------
/docs/apple-touch-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/apple-touch-icon-60x60.png
--------------------------------------------------------------------------------
/docs/apple-touch-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/apple-touch-icon-76x76.png
--------------------------------------------------------------------------------
/docs/man/figures/buildReport.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/man/figures/buildReport.JPG
--------------------------------------------------------------------------------
/docs/man/figures/refpptx_nmfs.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/man/figures/refpptx_nmfs.JPG
--------------------------------------------------------------------------------
/docs/reference/figures/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/logo.png
--------------------------------------------------------------------------------
/docs/reference/figures/logo.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/logo.pptx
--------------------------------------------------------------------------------
/docs/reference/ref_figtab-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/ref_figtab-1.png
--------------------------------------------------------------------------------
/docs/reference/save_figures-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/save_figures-1.png
--------------------------------------------------------------------------------
/docs/reference/save_graphs-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/save_graphs-1.png
--------------------------------------------------------------------------------
/inst/icons/android-icon-36x36.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/android-icon-36x36.png
--------------------------------------------------------------------------------
/inst/icons/android-icon-48x48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/android-icon-48x48.png
--------------------------------------------------------------------------------
/inst/icons/android-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/android-icon-72x72.png
--------------------------------------------------------------------------------
/inst/icons/android-icon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/android-icon-96x96.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-114x114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-114x114.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-120x120.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-144x144.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-152x152.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-180x180.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-57x57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-57x57.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-60x60.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-72x72.png
--------------------------------------------------------------------------------
/inst/icons/apple-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-76x76.png
--------------------------------------------------------------------------------
/inst/img/noaa_fisheries_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/noaa_fisheries_small.png
--------------------------------------------------------------------------------
/pkgdown/favicon/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/favicon-16x16.png
--------------------------------------------------------------------------------
/pkgdown/favicon/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/favicon-32x32.png
--------------------------------------------------------------------------------
/vignettes/4_fig_2_noaalogo.rdata:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/vignettes/4_fig_2_noaalogo.rdata
--------------------------------------------------------------------------------
/docs/reference/ref_listobject-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/ref_listobject-1.png
--------------------------------------------------------------------------------
/inst/icons/android-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/android-icon-144x144.png
--------------------------------------------------------------------------------
/inst/icons/android-icon-192x192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/android-icon-192x192.png
--------------------------------------------------------------------------------
/inst/rmd/refdoc_noaa_tech_memo.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/rmd/refdoc_noaa_tech_memo.docx
--------------------------------------------------------------------------------
/inst/rmd/word-styles-reference.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/rmd/word-styles-reference.docx
--------------------------------------------------------------------------------
/docs/reference/figures/buildReport.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/buildReport.JPG
--------------------------------------------------------------------------------
/inst/icons/apple-icon-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/apple-icon-precomposed.png
--------------------------------------------------------------------------------
/inst/img/FISHERIES_Logo_WEB_ONLY.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/FISHERIES_Logo_WEB_ONLY.png
--------------------------------------------------------------------------------
/man/figures/folder_output_post_run.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/folder_output_post_run.JPG
--------------------------------------------------------------------------------
/man/figures/refdoc_noaa_tech_memo.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/refdoc_noaa_tech_memo.JPG
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/apple-touch-icon.png
--------------------------------------------------------------------------------
/docs/reference/figures/refpptx_nmfs.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/refpptx_nmfs.JPG
--------------------------------------------------------------------------------
/docs/man/figures/folder_output_post_run.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/man/figures/folder_output_post_run.JPG
--------------------------------------------------------------------------------
/docs/man/figures/refdoc_noaa_tech_memo.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/man/figures/refdoc_noaa_tech_memo.JPG
--------------------------------------------------------------------------------
/inst/img/NOAA_Fisheries_logo_vertical.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/img/NOAA_Fisheries_logo_vertical.png
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/apple-touch-icon-60x60.png
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/apple-touch-icon-76x76.png
--------------------------------------------------------------------------------
/docs/5624caeb15464c07518bb1f2b4f9de1f.ico.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/5624caeb15464c07518bb1f2b4f9de1f.ico.zip
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/apple-touch-icon-120x120.png
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/apple-touch-icon-152x152.png
--------------------------------------------------------------------------------
/pkgdown/favicon/apple-touch-icon-180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/pkgdown/favicon/apple-touch-icon-180x180.png
--------------------------------------------------------------------------------
/docs/reference/figures/refdoc_noaa_tech_memo.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/refdoc_noaa_tech_memo.JPG
--------------------------------------------------------------------------------
/docs/reference/figures/folder_output_post_run.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/folder_output_post_run.JPG
--------------------------------------------------------------------------------
/inst/rmd/refdoc_fisheries_economics_of_the_us.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/rmd/refdoc_fisheries_economics_of_the_us.docx
--------------------------------------------------------------------------------
/inst/icons/5624caeb15464c07518bb1f2b4f9de1f.ico.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/inst/icons/5624caeb15464c07518bb1f2b4f9de1f.ico.zip
--------------------------------------------------------------------------------
/man/figures/folder_architecture_post_buildReport.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/folder_architecture_post_buildReport.JPG
--------------------------------------------------------------------------------
/man/figures/refdoc_fisheries_economics_of_the_us.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/man/figures/refdoc_fisheries_economics_of_the_us.JPG
--------------------------------------------------------------------------------
/presentations/2021-06-05NMFSReports-RCascadiaConf.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/presentations/2021-06-05NMFSReports-RCascadiaConf.pdf
--------------------------------------------------------------------------------
/docs/man/figures/folder_architecture_post_buildReport.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/man/figures/folder_architecture_post_buildReport.JPG
--------------------------------------------------------------------------------
/docs/man/figures/refdoc_fisheries_economics_of_the_us.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/man/figures/refdoc_fisheries_economics_of_the_us.JPG
--------------------------------------------------------------------------------
/docs/reference/figures/folder_architecture_post_buildReport.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/folder_architecture_post_buildReport.JPG
--------------------------------------------------------------------------------
/docs/reference/figures/refdoc_fisheries_economics_of_the_us.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/reference/figures/refdoc_fisheries_economics_of_the_us.JPG
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/G1c-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/G1c-1.png
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/G2c-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/G2c-1.png
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-18-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-18-1.png
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-20-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-20-1.png
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-3-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-3-1.png
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-5-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-5-1.png
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-7-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-7-1.png
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-9-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EmilyMarkowitz-NOAA/NMFSReports/HEAD/docs/articles/C_functions-to-help-write-report_files/figure-html/unnamed-chunk-9-1.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .Rproj.user
2 | .Rhistory
3 | .Rdata
4 | .httr-oauth
5 | .DS_Store
6 |
7 | inst/doc
8 | Meta
9 |
10 | .txt
11 | .zip
12 | vignettes/*.txt
13 | vignettes/*.zip
14 | /Meta/
15 |
16 | /doc/
17 | docs
18 | /documentation/
19 |
--------------------------------------------------------------------------------
/inst/rmd/1_data.R:
--------------------------------------------------------------------------------
1 | #' ---
2 | #' title: # INSERT_REPORT_TITLE
3 | #' author: # INSERT_AUTHOR
4 | #' purpose: Wrangle data
5 | #' start date: # YYYY-MM-DD
6 | #' date modified: # YYYY-MM-DD # CHANGE
7 | #' Notes: # CHANGE
8 | #' ---
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/inst/rmd/1_blank.R:
--------------------------------------------------------------------------------
1 | #' ---
2 | #' title: # INSERT_REPORT_TITLE
3 | #' author: # INSERT_AUTHOR
4 | #' purpose: # CHANGE
5 | #' start date: # YYYY-MM-DD
6 | #' date modified: # YYYY-MM-DD # CHANGE
7 | #' Notes: # CHANGE
8 | #' ---
9 |
10 |
--------------------------------------------------------------------------------
/.Rbuildignore:
--------------------------------------------------------------------------------
1 | ^NMFSReports\.Rproj$
2 | ^\.Rproj\.user$
3 | ^LICENSE\.md$
4 |
5 | ^notes\.R
6 | ^\./pkgdown/_pkgdown\.yml$
7 | ^pkgdown$
8 | ^\.github$
9 | ^Meta$
10 |
11 | ^\.txt$
12 | ^\.zip$
13 | ^\./vignettes/*\.txt$
14 | ^\./vignettes/*\.zip$
15 |
16 | ^doc$
17 | ^docs$
18 | ^documentation$
19 |
--------------------------------------------------------------------------------
/inst/icons/browserconfig.xml:
--------------------------------------------------------------------------------
1 |
2 | #ffffff
--------------------------------------------------------------------------------
/inst/rmd/_TableFigureHeader.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | title: ""
3 | author: ""
4 | date: ""
5 | output:
6 | word_document:
7 | df_print: kable
8 | reference_docx: word-styles-reference.docx
9 | ---
10 |
11 | ```{r, echo=FALSE, warning=FALSE}
12 | knitr::opts_chunk$set(echo=T)
13 | ```
14 |
15 | ```{r, echo = FALSE, warning=FALSE}
16 |
17 | ```
18 |
19 | #### `r Title0`
20 |
21 |
--------------------------------------------------------------------------------
/inst/rmd/header.yaml:
--------------------------------------------------------------------------------
1 | ---
2 | link-citations: true
3 | reference-section-title: References
4 | fig_caption: false
5 | # keywords:
6 | # - one
7 | # - two
8 | # knit: (
9 | # function(inputFile, encoding) {
10 | # markdown::render(
11 | # input = inputFile,
12 | # encoding = encoding,
13 | # output_file = "rmd_output.docx"
14 | # ); doconv::docx2pdf("rmd_output.docx")
15 | # }
16 | # )
17 | ---
18 |
--------------------------------------------------------------------------------
/man/create_metadata.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{create_metadata}
4 | \alias{create_metadata}
5 | \title{Record Metadata}
6 | \usage{
7 | create_metadata(dir_out = ".", title = "My Project")
8 | }
9 | \arguments{
10 | \item{dir_out}{Path file will be saved to.}
11 |
12 | \item{title}{Title of file.}
13 | }
14 | \description{
15 | Record Metadata
16 | }
17 | \keyword{metadata}
18 |
--------------------------------------------------------------------------------
/inst/rmd/0_blank.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | output:
3 | word_document:
4 | pandoc_args: ["--metadata-file=header.yaml"]
5 | reference_docx: styles_reference.docx
6 | df_print: kable
7 | csl: "../cite/citestyle.csl"
8 | bibliography: "../cite/bibliography.bib"
9 | ---
10 |
11 | ```{r setup, include=FALSE}
12 | knitr::opts_chunk$set(echo = FALSE, warning = FALSE, error = FALSE, message = FALSE)
13 | ```
14 |
15 | # SECTION_TITLE
16 |
17 | ```{r}
18 |
19 | ```
20 |
21 |
--------------------------------------------------------------------------------
/docs/pkgdown.yml:
--------------------------------------------------------------------------------
1 | pandoc: 2.17.1.1
2 | pkgdown: 2.0.5
3 | pkgdown_sha: ~
4 | articles:
5 | A_use-buildReport: A_use-buildReport.html
6 | B_run-script-demo: B_run-script-demo.html
7 | C_functions-to-help-write-report: C_functions-to-help-write-report.html
8 | E_thispkgwasbuiltusing: E_thispkgwasbuiltusing.html
9 | last_built: 2022-07-03T08:11Z
10 | urls:
11 | reference: https://emilymarkowitz-noaa.github.io/NMFSReports/reference
12 | article: https://emilymarkowitz-noaa.github.io/NMFSReports/articles
13 |
14 |
--------------------------------------------------------------------------------
/NMFSReports.Rproj:
--------------------------------------------------------------------------------
1 | Version: 1.0
2 |
3 | RestoreWorkspace: No
4 | SaveWorkspace: No
5 | AlwaysSaveHistory: Default
6 |
7 | EnableCodeIndexing: Yes
8 | UseSpacesForTab: Yes
9 | NumSpacesForTab: 2
10 | Encoding: UTF-8
11 |
12 | RnwWeave: knitr
13 | LaTeX: pdfLaTeX
14 |
15 | AutoAppendNewline: Yes
16 | StripTrailingWhitespace: Yes
17 | LineEndingConversion: Posix
18 |
19 | BuildType: Package
20 | PackageUseDevtools: Yes
21 | PackageInstallArgs: --no-multiarch --with-keep.source
22 | PackageRoxygenize: rd,collate,namespace
23 |
--------------------------------------------------------------------------------
/man/stndth.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{stndth}
4 | \alias{stndth}
5 | \title{Find the 'st, 'nd, or 'th of a value}
6 | \usage{
7 | stndth(x)
8 | }
9 | \arguments{
10 | \item{x}{a value you want the 'st, 'nd, or 'th of}
11 | }
12 | \value{
13 | a character string of the appropriate 'st, 'nd, or 'th
14 | }
15 | \description{
16 | Find the 'st, 'nd, or 'th of a value
17 | }
18 | \examples{
19 | stndth(3)
20 | stndth(11)
21 | stndth(112)
22 | stndth(x = c(1120, 12))
23 | }
24 |
--------------------------------------------------------------------------------
/docs/articles/A_use-buildReport_files/header-attrs-2.8/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/docs/articles/B_run-script-demo_files/header-attrs-2.8/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/docs/articles/D_googledrive_files/header-attrs-2.10/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/docs/articles/D_googledrive_files/header-attrs-2.8/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/docs/articles/A_use-buildReport_files/header-attrs-2.10/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/docs/articles/B_run-script-demo_files/header-attrs-2.10/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/man/auto_counter.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{auto_counter}
4 | \alias{auto_counter}
5 | \title{Add a counter number.}
6 | \usage{
7 | auto_counter(counter0)
8 | }
9 | \arguments{
10 | \item{counter0}{The value it was to be added 1 to}
11 | }
12 | \value{
13 | The number entered + 1, in the "0..X" format. All values will take on the number of 0s of the longest charcter value.
14 | }
15 | \description{
16 | Add a counter number, 1, 1+1=2, 2+1=3.
17 | }
18 | \examples{
19 | auto_counter(1)
20 | }
21 | \keyword{Data}
22 | \keyword{Management}
23 |
--------------------------------------------------------------------------------
/docs/articles/E_thispkgwasbuiltusing_files/header-attrs-2.10/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/header-attrs-2.8/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/header-attrs-2.10/header-attrs.js:
--------------------------------------------------------------------------------
1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to
2 | // be compatible with the behavior of Pandoc < 2.8).
3 | document.addEventListener('DOMContentLoaded', function(e) {
4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
5 | var i, h, a;
6 | for (i = 0; i < hs.length; i++) {
7 | h = hs[i];
8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
9 | a = h.attributes;
10 | while (a.length > 0) h.removeAttribute(a[0].name);
11 | }
12 | });
13 |
--------------------------------------------------------------------------------
/man/df2js.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{df2js}
4 | \alias{df2js}
5 | \title{Convert dataframe to javascript}
6 | \usage{
7 | df2js(dat)
8 | }
9 | \arguments{
10 | \item{dat}{The data frame you want to add the footnote to.}
11 | }
12 | \description{
13 | Convert dataframe to javascript matrix.
14 | }
15 | \examples{
16 | dat <- cbind.data.frame(matrix(LETTERS[1:8], nrow = 4),
17 | matrix(1:8, nrow = 4))
18 | df2js(dat = dat)
19 | }
20 | \keyword{data.frame,}
21 | \keyword{footnote}
22 | \keyword{footnotes,}
23 | \keyword{javascript,}
24 |
--------------------------------------------------------------------------------
/man/TitleCase.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{TitleCase}
4 | \alias{TitleCase}
5 | \title{Make a String Title Case}
6 | \usage{
7 | TitleCase(str = "", add_dont_cap = "")
8 | }
9 | \arguments{
10 | \item{str}{A string that you want to be in title case}
11 |
12 | \item{add_dont_cap}{A vector of strings that the user does not want capitalized}
13 | }
14 | \description{
15 | Make a String Title Case (making and, the, an, etc. lower case)
16 | }
17 | \examples{
18 | TitleCase("HelLo WoRLD OR good-bye?")
19 | }
20 | \keyword{Case,}
21 | \keyword{Title,}
22 | \keyword{strings}
23 | \keyword{word}
24 |
--------------------------------------------------------------------------------
/man/numbers2words.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{numbers2words}
4 | \alias{numbers2words}
5 | \title{Convert number to text string.}
6 | \usage{
7 | numbers2words(x)
8 | }
9 | \arguments{
10 | \item{x}{The numbers that need to be converted to string.}
11 | }
12 | \description{
13 | Function by John Fox found here: http://tolstoy.newcastle.edu.au/R/help/05/04/2715.html and https://github.com/ateucher/useful_code/blob/master/R/numbers2words.r
14 | }
15 | \examples{
16 | numbers2words(x = 1890)
17 | numbers2words(x = 3)
18 | numbers2words(x = 1800090)
19 | }
20 | \keyword{Text}
21 | \keyword{editing}
22 |
--------------------------------------------------------------------------------
/man/xunitspct.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{xunitspct}
4 | \alias{xunitspct}
5 | \title{Determine the appropriate unit for a percent value.}
6 | \usage{
7 | xunitspct(value, sign = TRUE)
8 | }
9 | \arguments{
10 | \item{value}{A numeric.}
11 |
12 | \item{sign}{Include percent sign. Default = T.}
13 | }
14 | \description{
15 | Determine the appropriate unit for a percent value (e.g., 1000000 = '1 Million'.
16 | }
17 | \examples{
18 | xunitspct(value = 8.4)
19 | xunitspct(value = -8.4, sign = TRUE)
20 | xunitspct(value = -8.4, sign = FALSE)
21 | }
22 | \keyword{Modify}
23 | \keyword{number,}
24 | \keyword{units}
25 |
--------------------------------------------------------------------------------
/doc/E_thispkgwasbuiltusing.R:
--------------------------------------------------------------------------------
1 | ## ---- include = FALSE---------------------------------------------------------
2 | knitr::opts_chunk$set(
3 | message = FALSE, echo = TRUE, warning = FALSE,
4 | comment = FALSE, collapse = TRUE,
5 | comment = "#>"
6 | )
7 | options(rmarkdown.html_vignette.check_title = FALSE)
8 |
9 | ## ----setup--------------------------------------------------------------------
10 | library(NMFSReports)
11 |
12 | ## -----------------------------------------------------------------------------
13 | R.version
14 |
15 | ## -----------------------------------------------------------------------------
16 | str(allPackage <- installed.packages(.Library, priority = "high"))
17 |
18 | allPackage [, c(1,3:5)]
19 |
20 |
--------------------------------------------------------------------------------
/inst/rmd/1_dataDL.R:
--------------------------------------------------------------------------------
1 | #' ---
2 | #' title: # INSERT_REPORT_TITLE
3 | #' author: # INSERT_AUTHOR
4 | #' purpose: Download data
5 | #' start date: # YYYY-MM-DD
6 | #' date modified: # YYYY-MM-DD # CHANGE
7 | #' Notes: # CHANGE
8 | #' ---
9 |
10 | # Example Data
11 |
12 | # https://www.fisheries.noaa.gov/alaska/commercial-fishing/alaska-groundfish-bottom-trawl-survey-data
13 |
14 | # Download EBS
15 | # download.file(url = "https://www.afsc.noaa.gov/RACE/groundfish/survey_data/downloads/ebs2017_2018.zip",
16 | # destfile=paste0("./data/ebs2017_2018.zip") )
17 | #
18 | #
19 | # zip::unzip(zipfile = paste0("./data/ebs2017_2018.zip"),
20 | # overwrite = T,
21 | # exdir = paste0("./data/"))
22 |
--------------------------------------------------------------------------------
/man/numbers2words_th.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{numbers2words_th}
4 | \alias{numbers2words_th}
5 | \title{Convert number to text string.}
6 | \usage{
7 | numbers2words_th(x, type = "word")
8 | }
9 | \arguments{
10 | \item{x}{The numbers that need to be converted to string.}
11 |
12 | \item{type}{How the numbers should be converted. Default = "word" (which produces "fifty-third"), but you can also select "val_th" (which produces "53rd").}
13 | }
14 | \description{
15 | Convert number to text string to the 'st, 'nd, 'rd, or 'th.
16 | }
17 | \examples{
18 | numbers2words_th(x = 3, type = "val_th")
19 | numbers2words_th(x = 3, type = "word")
20 | }
21 | \keyword{Text}
22 | \keyword{editing}
23 |
--------------------------------------------------------------------------------
/docs/articles/C_functions-to-help-write-report_files/tabwid-1.0.0/tabwid.css:
--------------------------------------------------------------------------------
1 | .tabwid table{
2 | border-spacing:0px !important;
3 | border-collapse:collapse;
4 | line-height:1;
5 | margin-left:auto;
6 | margin-right:auto;
7 | border-width: 0;
8 | display: table;
9 | margin-top: 1.275em;
10 | margin-bottom: 1.275em;
11 | border-color: transparent;
12 | }
13 | .tabwid_left table{
14 | margin-left:0;
15 | }
16 | .tabwid_right table{
17 | margin-right:0;
18 | }
19 | .tabwid td {
20 | padding: 0;
21 | }
22 | .tabwid a {
23 | text-decoration: none;
24 | }
25 | .tabwid thead {
26 | background-color: transparent;
27 | }
28 | .tabwid tfoot {
29 | background-color: transparent;
30 | }
31 | .tabwid table tr {
32 | background-color: transparent;
33 | }
34 |
--------------------------------------------------------------------------------
/NAMESPACE:
--------------------------------------------------------------------------------
1 | # Generated by roxygen2: do not edit by hand
2 |
3 | export(TitleCase)
4 | export(add_table_footnotes)
5 | export(auto_counter)
6 | export(buildReport)
7 | export(create_metadata)
8 | export(crossref)
9 | export(df2js)
10 | export(format_cells)
11 | export(googledrive_txt_dl)
12 | export(is_something_in_this_matrix)
13 | export(mod_number)
14 | export(numbers0)
15 | export(numbers2words)
16 | export(numbers2words_th)
17 | export(pchange)
18 | export(range_text)
19 | export(save_equations)
20 | export(save_figures)
21 | export(save_tables)
22 | export(stndth)
23 | export(text_list)
24 | export(theme_flextable_nmfstm)
25 | export(tolower2)
26 | export(xunits)
27 | export(xunitspct)
28 | importFrom(magrittr,"%>%")
29 | importFrom(officer,fp_border)
30 | importFrom(officer,fp_par)
31 |
--------------------------------------------------------------------------------
/docs/link.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
--------------------------------------------------------------------------------
/man/url_exists.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{url_exists}
4 | \alias{url_exists}
5 | \title{Test if a URL works/exists}
6 | \usage{
7 | url_exists(x, non_2xx_return_value = FALSE, quiet = FALSE, ...)
8 | }
9 | \arguments{
10 | \item{x}{a single URL}
11 |
12 | \item{non_2xx_return_value}{what to do if the site exists but the
13 | HTTP status code is not in the \verb{2xx} range. Default is to return \code{FALSE}.}
14 |
15 | \item{quiet}{if not \code{FALSE}, then every time the \code{non_2xx_return_value} condition
16 | arises a warning message will be displayed. Default is \code{FALSE}.}
17 |
18 | \item{...}{other params (\code{timeout()} would be a good one) passed directly
19 | to \code{httr::HEAD()} and/or \code{httr::GET()}}
20 | }
21 | \description{
22 | Test if a URL works/exists
23 | }
24 |
--------------------------------------------------------------------------------
/man/tolower2.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{tolower2}
4 | \alias{tolower2}
5 | \title{Make a string lower case except for stated (and common NOAA) proper nouns.}
6 | \usage{
7 | tolower2(str0, capitalizefirst = FALSE, add_cap = "")
8 | }
9 | \arguments{
10 | \item{str0}{The text string.}
11 |
12 | \item{capitalizefirst}{Default = FALSE}
13 |
14 | \item{add_cap}{A vector of strings that the user does not want capitalized}
15 | }
16 | \description{
17 | Make a string lower case except for stated (and common NOAA) proper nouns.
18 | }
19 | \examples{
20 | tolower2(str0 = "notice how there are built-in proper nouns are capitalized:
21 | alaska is not in the south atlantic.",
22 | capitalizefirst = TRUE,
23 | add_cap = "Proper nouns")
24 | }
25 | \keyword{Text}
26 | \keyword{editing}
27 |
--------------------------------------------------------------------------------
/inst/rmd/0_endmatter.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | output:
3 | word_document:
4 | pandoc_args: ["--metadata-file=header.yaml"]
5 | reference_docx: styles_reference.docx
6 | csl: "../cite/citestyle.csl"
7 | bibliography: "../cite/bibliography_RPack.bib"
8 | nocite: '@*'
9 | ---
10 |
11 | ```{r setup, include=FALSE}
12 | knitr::opts_chunk$set(echo = FALSE, warning = FALSE, error = FALSE, message = FALSE)
13 | ```
14 |
15 |
16 |
17 |
18 | ## Acknowlegements
19 |
20 |
21 |
22 |
23 |
24 |
25 | ## ORCID
26 |
27 | > First Last (ORCID#)
28 |
29 |
30 |
31 | \newpage
32 |
33 |
34 | ## Works Cited
35 |
36 |
37 |
38 | ### R Packages
39 |
40 |
41 |
42 |
43 |
44 |
45 | ### Works Cited
46 |
47 |
48 |
--------------------------------------------------------------------------------
/inst/icons/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "App",
3 | "icons": [
4 | {
5 | "src": "\/android-icon-36x36.png",
6 | "sizes": "36x36",
7 | "type": "image\/png",
8 | "density": "0.75"
9 | },
10 | {
11 | "src": "\/android-icon-48x48.png",
12 | "sizes": "48x48",
13 | "type": "image\/png",
14 | "density": "1.0"
15 | },
16 | {
17 | "src": "\/android-icon-72x72.png",
18 | "sizes": "72x72",
19 | "type": "image\/png",
20 | "density": "1.5"
21 | },
22 | {
23 | "src": "\/android-icon-96x96.png",
24 | "sizes": "96x96",
25 | "type": "image\/png",
26 | "density": "2.0"
27 | },
28 | {
29 | "src": "\/android-icon-144x144.png",
30 | "sizes": "144x144",
31 | "type": "image\/png",
32 | "density": "3.0"
33 | },
34 | {
35 | "src": "\/android-icon-192x192.png",
36 | "sizes": "192x192",
37 | "type": "image\/png",
38 | "density": "4.0"
39 | }
40 | ]
41 | }
--------------------------------------------------------------------------------
/doc/E_thispkgwasbuiltusing.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | title: "System and packages used to build NMFSReports"
3 | date: "`r format(Sys.Date(), format='%B %d %Y') `"
4 | output: rmarkdown::html_vignette
5 | vignette: >
6 | %\VignetteIndexEntry{E_thispkgwasbuiltusing}
7 | %\VignetteEngine{knitr::rmarkdown}
8 | %\VignetteEncoding{UTF-8}
9 | ---
10 |
11 | ```{r, include = FALSE}
12 | knitr::opts_chunk$set(
13 | message = FALSE, echo = TRUE, warning = FALSE,
14 | comment = FALSE, collapse = TRUE,
15 | comment = "#>"
16 | )
17 | options(rmarkdown.html_vignette.check_title = FALSE)
18 | ```
19 |
20 | ```{r setup}
21 | library(NMFSReports)
22 | ```
23 |
24 | # This vignette does not contain any examples of using NMF Reports, specifically, but does record what packges and system is ws built on. See below:
25 |
26 | ```{r}
27 | R.version
28 | ```
29 |
30 |
31 | ```{r}
32 | str(allPackage <- installed.packages(.Library, priority = "high"))
33 |
34 | allPackage [, c(1,3:5)]
35 | ```
36 |
37 |
--------------------------------------------------------------------------------
/vignettes/E_thispkgwasbuiltusing.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | title: "System and packages used to build NMFSReports"
3 | date: "`r format(Sys.Date(), format='%B %d %Y') `"
4 | output: rmarkdown::html_vignette
5 | vignette: >
6 | %\VignetteIndexEntry{E_thispkgwasbuiltusing}
7 | %\VignetteEngine{knitr::rmarkdown}
8 | %\VignetteEncoding{UTF-8}
9 | ---
10 |
11 | ```{r, include = FALSE}
12 | knitr::opts_chunk$set(
13 | message = FALSE, echo = TRUE, warning = FALSE,
14 | comment = FALSE, collapse = TRUE,
15 | comment = "#>"
16 | )
17 | options(rmarkdown.html_vignette.check_title = FALSE)
18 | ```
19 |
20 | ```{r setup}
21 | library(NMFSReports)
22 | ```
23 |
24 | # This vignette does not contain any examples of using NMF Reports, specifically, but does record what packges and system is ws built on. See below:
25 |
26 | ```{r}
27 | R.version
28 | ```
29 |
30 |
31 | ```{r}
32 | str(allPackage <- installed.packages(.Library, priority = "high"))
33 |
34 | allPackage [, c(1,3:5)]
35 | ```
36 |
37 |
--------------------------------------------------------------------------------
/man/mod_number.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{mod_number}
4 | \alias{mod_number}
5 | \title{Modify numbers.}
6 | \usage{
7 | mod_number(x, divideby = 1000, comma_seperator = TRUE, digits = 0)
8 | }
9 | \arguments{
10 | \item{x}{A numeric.}
11 |
12 | \item{divideby}{The value you want all of your values divided by. Default = 1000.}
13 |
14 | \item{comma_seperator}{Do you want numbers to have commas in it ("1,000" (T) vs. "1000" (F). Default = TRUE.}
15 |
16 | \item{digits}{How many digits you would like your number to have. Default = 0.}
17 | }
18 | \description{
19 | Modify numbers.
20 | }
21 | \examples{
22 | x = data.frame(matrix(data = c(20000678660, 234567, 1, NA, 2345, 23),
23 | ncol = 2))
24 | mod_number(x)
25 | mod_number(x,
26 | comma_seperator = FALSE)
27 | x = data.frame(matrix(data = c(200000, 234567, 1, NA, 2345, 23)))
28 | mod_number(x,
29 | divideby = 1,
30 | digits = 2)
31 | }
32 | \keyword{Modify}
33 | \keyword{number}
34 |
--------------------------------------------------------------------------------
/man/pchange.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{pchange}
4 | \alias{pchange}
5 | \title{Calculate the percent change.}
6 | \usage{
7 | pchange(start, end, ending = "", percent_first = TRUE, value_only = FALSE)
8 | }
9 | \arguments{
10 | \item{start}{The value it started with.}
11 |
12 | \item{end}{The value it ended with.}
13 |
14 | \item{ending}{A text string. Default "".}
15 |
16 | \item{percent_first}{Options: T/F. Puts the percent first in the sentance.}
17 |
18 | \item{value_only}{Options: T/F. Will only provide the value, and no text. percent_first is over-ridden.}
19 | }
20 | \description{
21 | Calculate the percent change.
22 | }
23 | \examples{
24 | pchange(start = 8, end = 1)
25 | pchange(start = 3, end = 6, ending = " in fish landings", percent_first = TRUE)
26 | pchange(start = 3, end = 4, ending = " in fish landings", percent_first = FALSE)
27 | pchange(start = 3, end = 4, ending = " in fish landings", value_only = TRUE)
28 | }
29 | \keyword{Modify}
30 | \keyword{number}
31 |
--------------------------------------------------------------------------------
/man/numbers0.Rd:
--------------------------------------------------------------------------------
1 | % Generated by roxygen2: do not edit by hand
2 | % Please edit documentation in R/NMFSReports.R
3 | \name{numbers0}
4 | \alias{numbers0}
5 | \title{Make numbers the same length preceeded by 0s}
6 | \usage{
7 | numbers0(x, number_places = NA)
8 | }
9 | \arguments{
10 | \item{x}{a single or vector of integer values that need to be converted from something like 1 to "001"}
11 |
12 | \item{number_places}{default = NA. If equal to NA, the function will take use the longest length of a value provided in x (example 1). If equal to a number, it will make sure that every number is the same length of number_places (example 2) or larger (if a value of x has more places than number_places(example 3)).}
13 | }
14 | \value{
15 | A string of the values in x preceeded by "0"s
16 | }
17 | \description{
18 | Name nth item in order (001)
19 | }
20 | \examples{
21 | # example 1
22 | numbers0(x = c(1,11,111))
23 | # example 2
24 | numbers0(x = c(1,11,111), number_places = 4)
25 | # example 3
26 | numbers0(x = c(1,11,111), number_places = 2)
27 | }
28 | \keyword{Data}
29 | \keyword{Management}
30 |
--------------------------------------------------------------------------------
/inst/rmd/0_coverpage.Rmd:
--------------------------------------------------------------------------------
1 | ---
2 | output:
3 | word_document:
4 | pandoc_args: ["--metadata-file=header.yaml"]
5 | reference_docx: styles_reference.docx
6 | ---
7 |
8 | ```{r setup, include=FALSE}
9 | knitr::opts_chunk$set(echo = FALSE, warning = FALSE, error = FALSE)
10 | ```
11 |
12 |
13 | # `r report_title `
14 |
15 | By
16 |
17 | `r report_authors `
18 |
19 |
20 |
21 |
22 | `r report_office_location`
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | {width=25%}
31 |
32 | U.S. Department of Commerce
33 |
34 | National Oceanic and Atmospheric Administration
35 |
36 | National Marine Fisheries Service
37 |
38 |