From fb52de765fef909000272f73f567683f4ee52cb6 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 24 Apr 2024 10:47:01 -0500 Subject: [PATCH 1/9] detach package for covr in windows --- R/FunctionReporter.R | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/R/FunctionReporter.R b/R/FunctionReporter.R index d8ca0c3e..f8c1d195 100644 --- a/R/FunctionReporter.R +++ b/R/FunctionReporter.R @@ -151,12 +151,22 @@ FunctionReporter <- R6::R6Class( log_info(sprintf("Calculating test coverage for %s...", self$pkg_name)) + # workaround for covr conflict with loaded packages on windows + if(.Platform$OS.type == "windows") { + detach(paste0('package:',self$pkg_name), unload = TRUE, character.only = TRUE) + } + pkgCovDT <- data.table::as.data.table(covr::package_coverage( path = private$pkg_path , type = "tests" , combine_types = FALSE )) + # workaround for covr conflict with loaded packages on windows + if(.Platform$OS.type == "windows") { + attachNamespace(self$pkg_name) + } + pkgCovDT <- pkgCovDT[, .(coveredLines = sum(value > 0) , totalLines = .N , coverageRatio = sum(value > 0)/.N From 53edd1c6fe6e4d3542178a9479701089ace51aac Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 24 Apr 2024 10:47:45 -0500 Subject: [PATCH 2/9] add tolerance for empty list in rescursion --- R/FunctionReporter.R | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/R/FunctionReporter.R b/R/FunctionReporter.R index f8c1d195..aef7d3b8 100644 --- a/R/FunctionReporter.R +++ b/R/FunctionReporter.R @@ -405,12 +405,17 @@ FunctionReporter <- R6::R6Class( if (!is.list(x) && listable) { x <- as.list(x) - # Check for expression of the form foo$bar - # We still want to split it up because foo might be a function - # but we want to get rid of bar, because it's a symbol in foo's namespace - # and not a symbol that could be reliably matched to the package namespace - if (identical(x[[1]], quote(`$`))) { - x <- x[1:2] + if (length(x) > 0){ + # Check for expression of the form foo$bar + # We still want to split it up because foo might be a function + # but we want to get rid of bar, because it's a symbol in foo's namespace + # and not a symbol that could be reliably matched to the package namespace + if (identical(x[[1]], quote(`$`))) { + x <- x[1:2] + } + } else { + # make empty lists "not listable" so recursion stops + listable <- FALSE } } @@ -653,9 +658,10 @@ FunctionReporter <- R6::R6Class( if (!is.list(x) && listable) { xList <- as.list(x) + if (length(xList) > 0){ + # Check if expression x is from _$_ if (identical(xList[[1]], quote(`$`))) { - # Check if expression x is of form self$foo, private$foo, or super$foo # We want to keep those together because they could refer to the class' # methods. So expression is not listable @@ -664,6 +670,7 @@ FunctionReporter <- R6::R6Class( || identical(xList[[2]], quote(super))) { listable <- FALSE + # If expression lefthand side is not keyword, we still want to split # it up because left might be a function # but we want to get rid of right, because it's a symbol in left's namespace @@ -677,8 +684,15 @@ FunctionReporter <- R6::R6Class( } else { x <- xList } + } else { + # make empty list "non-listable" so recursion stops + listable <- FALSE + } + } + + if (listable){ # Filter out atomic values because we don't care about them x <- Filter(f = Negate(is.atomic), x = x) From ffa91bb55bccb0faf78a550188af11122671d440 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 24 Apr 2024 10:48:45 -0500 Subject: [PATCH 3/9] remove warnings for vignette_path outside a vignette folder --- R/CreatePackageVignette.R | 36 ---------------- tests/testthat/test-CreatePackageVignette.R | 48 --------------------- 2 files changed, 84 deletions(-) diff --git a/R/CreatePackageVignette.R b/R/CreatePackageVignette.R index 8f423d6b..07c7edb8 100644 --- a/R/CreatePackageVignette.R +++ b/R/CreatePackageVignette.R @@ -85,42 +85,6 @@ CreatePackageVignette <- function(pkg = "." , dirname(vignette_path))) } - # Check if vignette_path matches the right package - # if the path is to a file in a directory named vignettes - vignetteDirAbsPath <- normalizePath(dirname(vignette_path)) - # If path is a vignettes directory - if (grepl('/vignettes$', vignetteDirAbsPath)) { - # Get path for expected DESCRIPTION file for package - expectedDescriptionPath <- gsub( - pattern = "vignettes$" - , replacement = "DESCRIPTION" - , x = vignetteDirAbsPath - ) - - # If DESCRIPTION file exists check the name - if (file.exists(expectedDescriptionPath)) { - foundPkgName <- read.dcf(expectedDescriptionPath)[1,][["Package"]] - - # If it doesn't match pkg_name, give warning - if (!identical(foundPkgName, pkg_name)) { - log_warn(glue::glue( - "You are writing a report for {pkg_name} to the vignettes " - , "directory for {foundPkgName}" - , pkg_name = pkg_name - , foundPkgName = foundPkgName)) - } - - # Otherwise, warn that we're writing to a vignettes folder inside - # a directory that is not a package root - } else { - log_warn(paste( - "You specified a path to a vignettes directory" - , vignetteDirAbsPath - , "that is not inside a package root directory." - )) - } - } - log_info(sprintf( "Creating pkgnet package report as vignette for %s..." , pkg_name diff --git a/tests/testthat/test-CreatePackageVignette.R b/tests/testthat/test-CreatePackageVignette.R index 9cea5245..44d88762 100644 --- a/tests/testthat/test-CreatePackageVignette.R +++ b/tests/testthat/test-CreatePackageVignette.R @@ -174,51 +174,3 @@ test_that("Test that CreatePackageVignette errors for bad inputs", { , fixed = TRUE ) }) - -test_that("CreatePackageVignette warns if vignette_path seems wrong", { - - pkgPath <- .CreateSourceCopy(sourcePath) - on.exit(expr = unlink(pkgPath, recursive = TRUE)) - - # In a vignettes directory that isn't in a package root - vignettesDir <- file.path(tempdir(), "vignettes") - dir.create(vignettesDir) - expect_warning( - CreatePackageVignette(pkg = pkgPath - , vignette_path = file.path(vignettesDir - , "pkgnet_report.Rmd") - ) - , regexp = paste("not inside a package root directory") - , fixed = TRUE - ) - # Clean up - unlink(file.path(tempdir(), "vignettes"), recursive = TRUE) - - # If in root of a different package - suppressWarnings({ - # creating a temporary environment to avoid the following error from package.skeleton() - # "... no R objects specified or available" - basketball_env <- new.env() - basketball_env[["a"]] <- function(){return(1)} - utils::package.skeleton( - name = "basketballstats" - , environment = basketball_env - , path = tempdir() - ) - }) - dir.create(file.path(tempdir(), "basketballstats", "vignettes")) - expect_warning( - CreatePackageVignette(pkg = pkgPath - , vignette_path = file.path(tempdir() - , "basketballstats" - , "vignettes" - , "pkgnet_report.Rmd") - ) - , regexp = paste("You are writing a report for baseballstats to the" - , "vignettes directory for basketballstats") - , fixed = TRUE - ) - # Clean up - unlink(file.path(tempdir(), "basketballstats"), recursive = TRUE) - -}) From d713c6130122f3bc398335cfa7a93b835cf6f468 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 24 Apr 2024 11:26:50 -0500 Subject: [PATCH 4/9] update News.md --- NEWS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS.md b/NEWS.md index 80ff5794..7cb790b1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,8 +5,11 @@ ## CHANGES * Updated `pkgnet-intro` vignette to include information on the Class Inheritance Reporter and other minor edits. +* Recursive function network creation made tolerant to empty lists. (#322) +* Excessive warnings removed for custom `vignette_path` param in `CreatePackageVignette()` (#322) ## BUGFIXES +* `CreatePackageReporter()` failing on Windows to build package coverage when `report_path` specified. (#322) # pkgnet 0.4.2 ## NEW FEATURES From 53b7d5f3642882c8318643a54533b9f62ea4848d Mon Sep 17 00:00:00 2001 From: bburns632 Date: Fri, 19 Apr 2024 10:42:46 -0500 Subject: [PATCH 5/9] gh action workflow edits for readability and act compatibility 'apt update' statements to allow act to run locally align Roxygen in test packages revised logic to balance act and gh actions --- .github/workflows/release.yml | 2 +- .github/workflows/smoke-tests.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0204e9a6..d2df3894 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,7 +82,7 @@ jobs: if: ${ (env.ACT || false)} run: sudo apt update - name: Install Tidy Ubuntu - run: sudo apt install -y tidy + run: apt update && sudo apt install -y tidy - name: build tarball for submission to CRAN run: R CMD build $GITHUB_WORKSPACE - name: Grab tarball path diff --git a/.github/workflows/smoke-tests.yaml b/.github/workflows/smoke-tests.yaml index c129e6c5..60a8e8a5 100644 --- a/.github/workflows/smoke-tests.yaml +++ b/.github/workflows/smoke-tests.yaml @@ -88,7 +88,7 @@ jobs: if: ${{ (env.ACT || false) }} run: sudo apt update - name: Install Tidy - run: sudo apt install -y tidy + run: apt update && sudo apt install -y tidy - name: Install Deps For Pkgnet & ${{ matrix.test_pkg }} uses: r-lib/actions/setup-r-dependencies@v2 with: From 0d874dd2310bec4e4e92993c730175ebf57008d0 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Mon, 22 Apr 2024 11:48:43 -0500 Subject: [PATCH 6/9] milne Roxygen2 docs update --- inst/milne/DESCRIPTION | 3 +- inst/milne/R/The_End.R | 97 ++++-- inst/milne/docs/404.html | 93 +++++ inst/milne/docs/LICENSE-text.html | 69 ++++ inst/milne/docs/authors.html | 88 +++++ inst/milne/docs/bootstrap-toc.css | 60 ++++ inst/milne/docs/bootstrap-toc.js | 159 +++++++++ inst/milne/docs/docsearch.css | 148 ++++++++ inst/milne/docs/docsearch.js | 85 +++++ inst/milne/docs/index.html | 110 ++++++ inst/milne/docs/link.svg | 12 + inst/milne/docs/pkgdown.css | 384 +++++++++++++++++++++ inst/milne/docs/pkgdown.js | 108 ++++++ inst/milne/docs/pkgdown.yml | 6 + inst/milne/docs/reference/Five.html | 83 +++++ inst/milne/docs/reference/Four.html | 83 +++++ inst/milne/docs/reference/One.html | 83 +++++ inst/milne/docs/reference/PoohAnswer.html | 75 ++++ inst/milne/docs/reference/RightAnswer.html | 75 ++++ inst/milne/docs/reference/Six.html | 83 +++++ inst/milne/docs/reference/Three.html | 83 +++++ inst/milne/docs/reference/Two.html | 83 +++++ inst/milne/docs/reference/index.html | 100 ++++++ inst/milne/docs/sitemap.xml | 42 +++ inst/milne/man/Five.Rd | 64 +++- inst/milne/man/Four.Rd | 60 +++- inst/milne/man/One.Rd | 74 +++- inst/milne/man/PoohAnswer.Rd | 3 +- inst/milne/man/RightAnswer.Rd | 3 +- inst/milne/man/Six.Rd | 64 +++- inst/milne/man/Three.Rd | 60 +++- inst/milne/man/Two.Rd | 60 +++- 32 files changed, 2506 insertions(+), 94 deletions(-) create mode 100644 inst/milne/docs/404.html create mode 100644 inst/milne/docs/LICENSE-text.html create mode 100644 inst/milne/docs/authors.html create mode 100644 inst/milne/docs/bootstrap-toc.css create mode 100644 inst/milne/docs/bootstrap-toc.js create mode 100644 inst/milne/docs/docsearch.css create mode 100644 inst/milne/docs/docsearch.js create mode 100644 inst/milne/docs/index.html create mode 100644 inst/milne/docs/link.svg create mode 100644 inst/milne/docs/pkgdown.css create mode 100644 inst/milne/docs/pkgdown.js create mode 100644 inst/milne/docs/pkgdown.yml create mode 100644 inst/milne/docs/reference/Five.html create mode 100644 inst/milne/docs/reference/Four.html create mode 100644 inst/milne/docs/reference/One.html create mode 100644 inst/milne/docs/reference/PoohAnswer.html create mode 100644 inst/milne/docs/reference/RightAnswer.html create mode 100644 inst/milne/docs/reference/Six.html create mode 100644 inst/milne/docs/reference/Three.html create mode 100644 inst/milne/docs/reference/Two.html create mode 100644 inst/milne/docs/reference/index.html create mode 100644 inst/milne/docs/sitemap.xml diff --git a/inst/milne/DESCRIPTION b/inst/milne/DESCRIPTION index 861faa4a..a07958b4 100644 --- a/inst/milne/DESCRIPTION +++ b/inst/milne/DESCRIPTION @@ -17,5 +17,4 @@ LinkingTo: Rcpp License: file LICENSE LazyData: TRUE -RoxygenNote: 7.1.0 -Roxygen: list(r6 = FALSE) +RoxygenNote: 7.3.1 diff --git a/inst/milne/R/The_End.R b/inst/milne/R/The_End.R index d18c4fd5..5a189261 100644 --- a/inst/milne/R/The_End.R +++ b/inst/milne/R/The_End.R @@ -1,22 +1,36 @@ # R6 Class Definitions for testing -#' @title Age One -#' @name One -#' @family TheEnd -#' @description Age One +#' R6 Class Age One +#' +#' @description +#' Age One +#' +#' @details +#' Age One +#' #' @importFrom R6 R6Class #' @export One <- R6::R6Class( classname = "One", public = list( + + #' @description + #' Create a New Age One Object + #' @return An Age One Object initialize = function() { cat("The End, by A. A. Milne \n") }, + + #' @description + #' Print poem print_poem = function() { cat("When I was One, \n", "I had just begun. \n" ) }, + + #' @description + #' Get Age how_old_am_i = function() {private$get_age()} ), private = list( @@ -24,16 +38,22 @@ One <- R6::R6Class( ) ) -#' @title Age Two -#' @name Two -#' @family TheEnd -#' @description Age Two +#' R6 Class Age Two +#' +#' @description +#' Age Two +#' +#' @details +#' Age Two +#' #' @importFrom R6 R6Class #' @export Two <- R6::R6Class( classname = "Two", inherit = One, public = list( + #' @description + #' Print poem two print_poem = function() { super$print_poem() cat("When I was Two, \n", @@ -43,10 +63,14 @@ Two <- R6::R6Class( ) ) -#' @title Age Three -#' @name Three -#' @family TheEnd -#' @description Age Three +#' R6 Class Age Three +#' +#' @description +#' Age Three +#' +#' @details +#' Age Three +#' #' @importFrom R6 R6Class #' @export Three <- R6::R6Class( @@ -54,6 +78,8 @@ Three <- R6::R6Class( classname = "HardlyThree", inherit = Two, public = list( + #' @description + #' Print poem thrice print_poem = function() { super$print_poem() cat("When I was Three, \n", @@ -63,10 +89,14 @@ Three <- R6::R6Class( ) ) -#' @title Age Four -#' @name Four -#' @family TheEnd -#' @description Age Four +#' R6 Class Age Four +#' +#' @description +#' Age Four +#' +#' @details +#' Age Four +#' #' @importFrom R6 R6Class #' @export Four <- R6::R6Class( @@ -74,6 +104,8 @@ Four <- R6::R6Class( classname = NULL, inherit = Three, public = list( + #' @description + #' Print poem four print_poem = function() { super$print_poem() cat("When I was Four, \n", @@ -83,16 +115,24 @@ Four <- R6::R6Class( ) ) -#' @title Age Five -#' @name Five -#' @family TheEnd -#' @description Age Five +#' R6 Class Age Five +#' +#' @description +#' Age Five +#' +#' @details +#' Age Five +#' #' @importFrom R6 R6Class #' @export Five <- R6::R6Class( classname = "Five", inherit = Four, public = list( + #' @description + #' Print poem five times + #' @details + #' Did your hand hit on the river? print_poem = function() { super$print_poem() cat("When I was Five, \n", @@ -104,16 +144,24 @@ Five <- R6::R6Class( ) ) -#' @title Age Six -#' @name Six -#' @family TheEnd -#' @description Age Six +#' R6 Class Age Six +#' +#' @description +#' Age Six +#' +#' @details +#' Age Six +#' #' @importFrom R6 R6Class #' @export Six <- R6::R6Class( classname = "Six", inherit = Five, public = list( + #' @description + #' Print poem six times + #' @details + #' I should have looked ahead print_poem = function() { super$print_poem() cat("But now I am Six,", @@ -123,6 +171,7 @@ Six <- R6::R6Class( } ), private = list( + # I don't think private classes and methods are supported by Roxygen2 print_ending = function() { cat("So I think I'll be six now", "for ever and ever." diff --git a/inst/milne/docs/404.html b/inst/milne/docs/404.html new file mode 100644 index 00000000..176e1798 --- /dev/null +++ b/inst/milne/docs/404.html @@ -0,0 +1,93 @@ + + + + + + + +Page not found (404) • milne + + + + + + + + + + + +
+
+ + + + +
+
+ + +Content not found. Please use links in the navbar. + +
+ + + +
+ + + +
+ +
+

+

Site built with pkgdown 2.0.8.

+
+ +
+
+ + + + + + + + diff --git a/inst/milne/docs/LICENSE-text.html b/inst/milne/docs/LICENSE-text.html new file mode 100644 index 00000000..71ad3026 --- /dev/null +++ b/inst/milne/docs/LICENSE-text.html @@ -0,0 +1,69 @@ + +License • milne + + +
+
+ + + +
+
+ + +
this is a test package
+
+ +
+ + + +
+ + + +
+ +
+

Site built with pkgdown 2.0.8.

+
+ +
+ + + + + + + + diff --git a/inst/milne/docs/authors.html b/inst/milne/docs/authors.html new file mode 100644 index 00000000..db6dc977 --- /dev/null +++ b/inst/milne/docs/authors.html @@ -0,0 +1,88 @@ + +Authors and Citation • milne + + +
+
+ + + +
+
+
+ + + +
  • +

    Jay Qi. Author, maintainer. +

    +
  • +
+
+
+

Citation

+ +
+
+ + +

Qi J (2024). +milne: Now We Are Six. +R package version 6.0. +

+
@Manual{,
+  title = {milne: Now We Are Six},
+  author = {Jay Qi},
+  year = {2024},
+  note = {R package version 6.0},
+}
+ +
+ +
+ + + +
+ +
+

Site built with pkgdown 2.0.8.

+
+ +
+ + + + + + + + diff --git a/inst/milne/docs/bootstrap-toc.css b/inst/milne/docs/bootstrap-toc.css new file mode 100644 index 00000000..5a859415 --- /dev/null +++ b/inst/milne/docs/bootstrap-toc.css @@ -0,0 +1,60 @@ +/*! + * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) + * Copyright 2015 Aidan Feldman + * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ + +/* modified from https://github.com/twbs/bootstrap/blob/94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd/docs/assets/css/src/docs.css#L548-L601 */ + +/* All levels of nav */ +nav[data-toggle='toc'] .nav > li > a { + display: block; + padding: 4px 20px; + font-size: 13px; + font-weight: 500; + color: #767676; +} +nav[data-toggle='toc'] .nav > li > a:hover, +nav[data-toggle='toc'] .nav > li > a:focus { + padding-left: 19px; + color: #563d7c; + text-decoration: none; + background-color: transparent; + border-left: 1px solid #563d7c; +} +nav[data-toggle='toc'] .nav > .active > a, +nav[data-toggle='toc'] .nav > .active:hover > a, +nav[data-toggle='toc'] .nav > .active:focus > a { + padding-left: 18px; + font-weight: bold; + color: #563d7c; + background-color: transparent; + border-left: 2px solid #563d7c; +} + +/* Nav: second level (shown on .active) */ +nav[data-toggle='toc'] .nav .nav { + display: none; /* Hide by default, but at >768px, show it */ + padding-bottom: 10px; +} +nav[data-toggle='toc'] .nav .nav > li > a { + padding-top: 1px; + padding-bottom: 1px; + padding-left: 30px; + font-size: 12px; + font-weight: normal; +} +nav[data-toggle='toc'] .nav .nav > li > a:hover, +nav[data-toggle='toc'] .nav .nav > li > a:focus { + padding-left: 29px; +} +nav[data-toggle='toc'] .nav .nav > .active > a, +nav[data-toggle='toc'] .nav .nav > .active:hover > a, +nav[data-toggle='toc'] .nav .nav > .active:focus > a { + padding-left: 28px; + font-weight: 500; +} + +/* from https://github.com/twbs/bootstrap/blob/e38f066d8c203c3e032da0ff23cd2d6098ee2dd6/docs/assets/css/src/docs.css#L631-L634 */ +nav[data-toggle='toc'] .nav > .active > ul { + display: block; +} diff --git a/inst/milne/docs/bootstrap-toc.js b/inst/milne/docs/bootstrap-toc.js new file mode 100644 index 00000000..1cdd573b --- /dev/null +++ b/inst/milne/docs/bootstrap-toc.js @@ -0,0 +1,159 @@ +/*! + * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) + * Copyright 2015 Aidan Feldman + * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ +(function() { + 'use strict'; + + window.Toc = { + helpers: { + // return all matching elements in the set, or their descendants + findOrFilter: function($el, selector) { + // http://danielnouri.org/notes/2011/03/14/a-jquery-find-that-also-finds-the-root-element/ + // http://stackoverflow.com/a/12731439/358804 + var $descendants = $el.find(selector); + return $el.filter(selector).add($descendants).filter(':not([data-toc-skip])'); + }, + + generateUniqueIdBase: function(el) { + var text = $(el).text(); + var anchor = text.trim().toLowerCase().replace(/[^A-Za-z0-9]+/g, '-'); + return anchor || el.tagName.toLowerCase(); + }, + + generateUniqueId: function(el) { + var anchorBase = this.generateUniqueIdBase(el); + for (var i = 0; ; i++) { + var anchor = anchorBase; + if (i > 0) { + // add suffix + anchor += '-' + i; + } + // check if ID already exists + if (!document.getElementById(anchor)) { + return anchor; + } + } + }, + + generateAnchor: function(el) { + if (el.id) { + return el.id; + } else { + var anchor = this.generateUniqueId(el); + el.id = anchor; + return anchor; + } + }, + + createNavList: function() { + return $(''); + }, + + createChildNavList: function($parent) { + var $childList = this.createNavList(); + $parent.append($childList); + return $childList; + }, + + generateNavEl: function(anchor, text) { + var $a = $(''); + $a.attr('href', '#' + anchor); + $a.text(text); + var $li = $('
  • '); + $li.append($a); + return $li; + }, + + generateNavItem: function(headingEl) { + var anchor = this.generateAnchor(headingEl); + var $heading = $(headingEl); + var text = $heading.data('toc-text') || $heading.text(); + return this.generateNavEl(anchor, text); + }, + + // Find the first heading level (`

    `, then `

    `, etc.) that has more than one element. Defaults to 1 (for `

    `). + getTopLevel: function($scope) { + for (var i = 1; i <= 6; i++) { + var $headings = this.findOrFilter($scope, 'h' + i); + if ($headings.length > 1) { + return i; + } + } + + return 1; + }, + + // returns the elements for the top level, and the next below it + getHeadings: function($scope, topLevel) { + var topSelector = 'h' + topLevel; + + var secondaryLevel = topLevel + 1; + var secondarySelector = 'h' + secondaryLevel; + + return this.findOrFilter($scope, topSelector + ',' + secondarySelector); + }, + + getNavLevel: function(el) { + return parseInt(el.tagName.charAt(1), 10); + }, + + populateNav: function($topContext, topLevel, $headings) { + var $context = $topContext; + var $prevNav; + + var helpers = this; + $headings.each(function(i, el) { + var $newNav = helpers.generateNavItem(el); + var navLevel = helpers.getNavLevel(el); + + // determine the proper $context + if (navLevel === topLevel) { + // use top level + $context = $topContext; + } else if ($prevNav && $context === $topContext) { + // create a new level of the tree and switch to it + $context = helpers.createChildNavList($prevNav); + } // else use the current $context + + $context.append($newNav); + + $prevNav = $newNav; + }); + }, + + parseOps: function(arg) { + var opts; + if (arg.jquery) { + opts = { + $nav: arg + }; + } else { + opts = arg; + } + opts.$scope = opts.$scope || $(document.body); + return opts; + } + }, + + // accepts a jQuery object, or an options object + init: function(opts) { + opts = this.helpers.parseOps(opts); + + // ensure that the data attribute is in place for styling + opts.$nav.attr('data-toggle', 'toc'); + + var $topContext = this.helpers.createChildNavList(opts.$nav); + var topLevel = this.helpers.getTopLevel(opts.$scope); + var $headings = this.helpers.getHeadings(opts.$scope, topLevel); + this.helpers.populateNav($topContext, topLevel, $headings); + } + }; + + $(function() { + $('nav[data-toggle="toc"]').each(function(i, el) { + var $nav = $(el); + Toc.init($nav); + }); + }); +})(); diff --git a/inst/milne/docs/docsearch.css b/inst/milne/docs/docsearch.css new file mode 100644 index 00000000..e5f1fe1d --- /dev/null +++ b/inst/milne/docs/docsearch.css @@ -0,0 +1,148 @@ +/* Docsearch -------------------------------------------------------------- */ +/* + Source: https://github.com/algolia/docsearch/ + License: MIT +*/ + +.algolia-autocomplete { + display: block; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1 +} + +.algolia-autocomplete .ds-dropdown-menu { + width: 100%; + min-width: none; + max-width: none; + padding: .75rem 0; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, .1); + box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175); +} + +@media (min-width:768px) { + .algolia-autocomplete .ds-dropdown-menu { + width: 175% + } +} + +.algolia-autocomplete .ds-dropdown-menu::before { + display: none +} + +.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-] { + padding: 0; + background-color: rgb(255,255,255); + border: 0; + max-height: 80vh; +} + +.algolia-autocomplete .ds-dropdown-menu .ds-suggestions { + margin-top: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion { + padding: 0; + overflow: visible +} + +.algolia-autocomplete .algolia-docsearch-suggestion--category-header { + padding: .125rem 1rem; + margin-top: 0; + font-size: 1.3em; + font-weight: 500; + color: #00008B; + border-bottom: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--wrapper { + float: none; + padding-top: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column { + float: none; + width: auto; + padding: 0; + text-align: left +} + +.algolia-autocomplete .algolia-docsearch-suggestion--content { + float: none; + width: auto; + padding: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--content::before { + display: none +} + +.algolia-autocomplete .ds-suggestion:not(:first-child) .algolia-docsearch-suggestion--category-header { + padding-top: .75rem; + margin-top: .75rem; + border-top: 1px solid rgba(0, 0, 0, .1) +} + +.algolia-autocomplete .ds-suggestion .algolia-docsearch-suggestion--subcategory-column { + display: block; + padding: .1rem 1rem; + margin-bottom: 0.1; + font-size: 1.0em; + font-weight: 400 + /* display: none */ +} + +.algolia-autocomplete .algolia-docsearch-suggestion--title { + display: block; + padding: .25rem 1rem; + margin-bottom: 0; + font-size: 0.9em; + font-weight: 400 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--text { + padding: 0 1rem .5rem; + margin-top: -.25rem; + font-size: 0.8em; + font-weight: 400; + line-height: 1.25 +} + +.algolia-autocomplete .algolia-docsearch-footer { + width: 110px; + height: 20px; + z-index: 3; + margin-top: 10.66667px; + float: right; + font-size: 0; + line-height: 0; +} + +.algolia-autocomplete .algolia-docsearch-footer--logo { + background-image: url("data:image/svg+xml;utf8,"); + background-repeat: no-repeat; + background-position: 50%; + background-size: 100%; + overflow: hidden; + text-indent: -9000px; + width: 100%; + height: 100%; + display: block; + transform: translate(-8px); +} + +.algolia-autocomplete .algolia-docsearch-suggestion--highlight { + color: #FF8C00; + background: rgba(232, 189, 54, 0.1) +} + + +.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight { + box-shadow: inset 0 -2px 0 0 rgba(105, 105, 105, .5) +} + +.algolia-autocomplete .ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content { + background-color: rgba(192, 192, 192, .15) +} diff --git a/inst/milne/docs/docsearch.js b/inst/milne/docs/docsearch.js new file mode 100644 index 00000000..b35504cd --- /dev/null +++ b/inst/milne/docs/docsearch.js @@ -0,0 +1,85 @@ +$(function() { + + // register a handler to move the focus to the search bar + // upon pressing shift + "/" (i.e. "?") + $(document).on('keydown', function(e) { + if (e.shiftKey && e.keyCode == 191) { + e.preventDefault(); + $("#search-input").focus(); + } + }); + + $(document).ready(function() { + // do keyword highlighting + /* modified from https://jsfiddle.net/julmot/bL6bb5oo/ */ + var mark = function() { + + var referrer = document.URL ; + var paramKey = "q" ; + + if (referrer.indexOf("?") !== -1) { + var qs = referrer.substr(referrer.indexOf('?') + 1); + var qs_noanchor = qs.split('#')[0]; + var qsa = qs_noanchor.split('&'); + var keyword = ""; + + for (var i = 0; i < qsa.length; i++) { + var currentParam = qsa[i].split('='); + + if (currentParam.length !== 2) { + continue; + } + + if (currentParam[0] == paramKey) { + keyword = decodeURIComponent(currentParam[1].replace(/\+/g, "%20")); + } + } + + if (keyword !== "") { + $(".contents").unmark({ + done: function() { + $(".contents").mark(keyword); + } + }); + } + } + }; + + mark(); + }); +}); + +/* Search term highlighting ------------------------------*/ + +function matchedWords(hit) { + var words = []; + + var hierarchy = hit._highlightResult.hierarchy; + // loop to fetch from lvl0, lvl1, etc. + for (var idx in hierarchy) { + words = words.concat(hierarchy[idx].matchedWords); + } + + var content = hit._highlightResult.content; + if (content) { + words = words.concat(content.matchedWords); + } + + // return unique words + var words_uniq = [...new Set(words)]; + return words_uniq; +} + +function updateHitURL(hit) { + + var words = matchedWords(hit); + var url = ""; + + if (hit.anchor) { + url = hit.url_without_anchor + '?q=' + escape(words.join(" ")) + '#' + hit.anchor; + } else { + url = hit.url + '?q=' + escape(words.join(" ")); + } + + return url; +} diff --git a/inst/milne/docs/index.html b/inst/milne/docs/index.html new file mode 100644 index 00000000..69a22ef3 --- /dev/null +++ b/inst/milne/docs/index.html @@ -0,0 +1,110 @@ + + + + + + + +Now We Are Six • milne + + + + + + + + + + + + +
    +
    + + + + +
    +
    +This package is used to test object-oriented class functionality for the reporters in `pkgnet`. So I think I'll be six now for ever and ever. +
    + + +
    + + +
    + +
    +

    +

    Site built with pkgdown 2.0.8.

    +
    + +
    +
    + + + + + + + + diff --git a/inst/milne/docs/link.svg b/inst/milne/docs/link.svg new file mode 100644 index 00000000..88ad8276 --- /dev/null +++ b/inst/milne/docs/link.svg @@ -0,0 +1,12 @@ + + + + + + diff --git a/inst/milne/docs/pkgdown.css b/inst/milne/docs/pkgdown.css new file mode 100644 index 00000000..80ea5b83 --- /dev/null +++ b/inst/milne/docs/pkgdown.css @@ -0,0 +1,384 @@ +/* Sticky footer */ + +/** + * Basic idea: https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ + * Details: https://github.com/philipwalton/solved-by-flexbox/blob/master/assets/css/components/site.css + * + * .Site -> body > .container + * .Site-content -> body > .container .row + * .footer -> footer + * + * Key idea seems to be to ensure that .container and __all its parents__ + * have height set to 100% + * + */ + +html, body { + height: 100%; +} + +body { + position: relative; +} + +body > .container { + display: flex; + height: 100%; + flex-direction: column; +} + +body > .container .row { + flex: 1 0 auto; +} + +footer { + margin-top: 45px; + padding: 35px 0 36px; + border-top: 1px solid #e5e5e5; + color: #666; + display: flex; + flex-shrink: 0; +} +footer p { + margin-bottom: 0; +} +footer div { + flex: 1; +} +footer .pkgdown { + text-align: right; +} +footer p { + margin-bottom: 0; +} + +img.icon { + float: right; +} + +/* Ensure in-page images don't run outside their container */ +.contents img { + max-width: 100%; + height: auto; +} + +/* Fix bug in bootstrap (only seen in firefox) */ +summary { + display: list-item; +} + +/* Typographic tweaking ---------------------------------*/ + +.contents .page-header { + margin-top: calc(-60px + 1em); +} + +dd { + margin-left: 3em; +} + +/* Section anchors ---------------------------------*/ + +a.anchor { + display: none; + margin-left: 5px; + width: 20px; + height: 20px; + + background-image: url(./link.svg); + background-repeat: no-repeat; + background-size: 20px 20px; + background-position: center center; +} + +h1:hover .anchor, +h2:hover .anchor, +h3:hover .anchor, +h4:hover .anchor, +h5:hover .anchor, +h6:hover .anchor { + display: inline-block; +} + +/* Fixes for fixed navbar --------------------------*/ + +.contents h1, .contents h2, .contents h3, .contents h4 { + padding-top: 60px; + margin-top: -40px; +} + +/* Navbar submenu --------------------------*/ + +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu>.dropdown-menu { + top: 0; + left: 100%; + margin-top: -6px; + margin-left: -1px; + border-radius: 0 6px 6px 6px; +} + +.dropdown-submenu:hover>.dropdown-menu { + display: block; +} + +.dropdown-submenu>a:after { + display: block; + content: " "; + float: right; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; + border-width: 5px 0 5px 5px; + border-left-color: #cccccc; + margin-top: 5px; + margin-right: -10px; +} + +.dropdown-submenu:hover>a:after { + border-left-color: #ffffff; +} + +.dropdown-submenu.pull-left { + float: none; +} + +.dropdown-submenu.pull-left>.dropdown-menu { + left: -100%; + margin-left: 10px; + border-radius: 6px 0 6px 6px; +} + +/* Sidebar --------------------------*/ + +#pkgdown-sidebar { + margin-top: 30px; + position: -webkit-sticky; + position: sticky; + top: 70px; +} + +#pkgdown-sidebar h2 { + font-size: 1.5em; + margin-top: 1em; +} + +#pkgdown-sidebar h2:first-child { + margin-top: 0; +} + +#pkgdown-sidebar .list-unstyled li { + margin-bottom: 0.5em; +} + +/* bootstrap-toc tweaks ------------------------------------------------------*/ + +/* All levels of nav */ + +nav[data-toggle='toc'] .nav > li > a { + padding: 4px 20px 4px 6px; + font-size: 1.5rem; + font-weight: 400; + color: inherit; +} + +nav[data-toggle='toc'] .nav > li > a:hover, +nav[data-toggle='toc'] .nav > li > a:focus { + padding-left: 5px; + color: inherit; + border-left: 1px solid #878787; +} + +nav[data-toggle='toc'] .nav > .active > a, +nav[data-toggle='toc'] .nav > .active:hover > a, +nav[data-toggle='toc'] .nav > .active:focus > a { + padding-left: 5px; + font-size: 1.5rem; + font-weight: 400; + color: inherit; + border-left: 2px solid #878787; +} + +/* Nav: second level (shown on .active) */ + +nav[data-toggle='toc'] .nav .nav { + display: none; /* Hide by default, but at >768px, show it */ + padding-bottom: 10px; +} + +nav[data-toggle='toc'] .nav .nav > li > a { + padding-left: 16px; + font-size: 1.35rem; +} + +nav[data-toggle='toc'] .nav .nav > li > a:hover, +nav[data-toggle='toc'] .nav .nav > li > a:focus { + padding-left: 15px; +} + +nav[data-toggle='toc'] .nav .nav > .active > a, +nav[data-toggle='toc'] .nav .nav > .active:hover > a, +nav[data-toggle='toc'] .nav .nav > .active:focus > a { + padding-left: 15px; + font-weight: 500; + font-size: 1.35rem; +} + +/* orcid ------------------------------------------------------------------- */ + +.orcid { + font-size: 16px; + color: #A6CE39; + /* margins are required by official ORCID trademark and display guidelines */ + margin-left:4px; + margin-right:4px; + vertical-align: middle; +} + +/* Reference index & topics ----------------------------------------------- */ + +.ref-index th {font-weight: normal;} + +.ref-index td {vertical-align: top; min-width: 100px} +.ref-index .icon {width: 40px;} +.ref-index .alias {width: 40%;} +.ref-index-icons .alias {width: calc(40% - 40px);} +.ref-index .title {width: 60%;} + +.ref-arguments th {text-align: right; padding-right: 10px;} +.ref-arguments th, .ref-arguments td {vertical-align: top; min-width: 100px} +.ref-arguments .name {width: 20%;} +.ref-arguments .desc {width: 80%;} + +/* Nice scrolling for wide elements --------------------------------------- */ + +table { + display: block; + overflow: auto; +} + +/* Syntax highlighting ---------------------------------------------------- */ + +pre, code, pre code { + background-color: #f8f8f8; + color: #333; +} +pre, pre code { + white-space: pre-wrap; + word-break: break-all; + overflow-wrap: break-word; +} + +pre { + border: 1px solid #eee; +} + +pre .img, pre .r-plt { + margin: 5px 0; +} + +pre .img img, pre .r-plt img { + background-color: #fff; +} + +code a, pre a { + color: #375f84; +} + +a.sourceLine:hover { + text-decoration: none; +} + +.fl {color: #1514b5;} +.fu {color: #000000;} /* function */ +.ch,.st {color: #036a07;} /* string */ +.kw {color: #264D66;} /* keyword */ +.co {color: #888888;} /* comment */ + +.error {font-weight: bolder;} +.warning {font-weight: bolder;} + +/* Clipboard --------------------------*/ + +.hasCopyButton { + position: relative; +} + +.btn-copy-ex { + position: absolute; + right: 0; + top: 0; + visibility: hidden; +} + +.hasCopyButton:hover button.btn-copy-ex { + visibility: visible; +} + +/* headroom.js ------------------------ */ + +.headroom { + will-change: transform; + transition: transform 200ms linear; +} +.headroom--pinned { + transform: translateY(0%); +} +.headroom--unpinned { + transform: translateY(-100%); +} + +/* mark.js ----------------------------*/ + +mark { + background-color: rgba(255, 255, 51, 0.5); + border-bottom: 2px solid rgba(255, 153, 51, 0.3); + padding: 1px; +} + +/* vertical spacing after htmlwidgets */ +.html-widget { + margin-bottom: 10px; +} + +/* fontawesome ------------------------ */ + +.fab { + font-family: "Font Awesome 5 Brands" !important; +} + +/* don't display links in code chunks when printing */ +/* source: https://stackoverflow.com/a/10781533 */ +@media print { + code a:link:after, code a:visited:after { + content: ""; + } +} + +/* Section anchors --------------------------------- + Added in pandoc 2.11: https://github.com/jgm/pandoc-templates/commit/9904bf71 +*/ + +div.csl-bib-body { } +div.csl-entry { + clear: both; +} +.hanging-indent div.csl-entry { + margin-left:2em; + text-indent:-2em; +} +div.csl-left-margin { + min-width:2em; + float:left; +} +div.csl-right-inline { + margin-left:2em; + padding-left:1em; +} +div.csl-indent { + margin-left: 2em; +} diff --git a/inst/milne/docs/pkgdown.js b/inst/milne/docs/pkgdown.js new file mode 100644 index 00000000..6f0eee40 --- /dev/null +++ b/inst/milne/docs/pkgdown.js @@ -0,0 +1,108 @@ +/* http://gregfranko.com/blog/jquery-best-practices/ */ +(function($) { + $(function() { + + $('.navbar-fixed-top').headroom(); + + $('body').css('padding-top', $('.navbar').height() + 10); + $(window).resize(function(){ + $('body').css('padding-top', $('.navbar').height() + 10); + }); + + $('[data-toggle="tooltip"]').tooltip(); + + var cur_path = paths(location.pathname); + var links = $("#navbar ul li a"); + var max_length = -1; + var pos = -1; + for (var i = 0; i < links.length; i++) { + if (links[i].getAttribute("href") === "#") + continue; + // Ignore external links + if (links[i].host !== location.host) + continue; + + var nav_path = paths(links[i].pathname); + + var length = prefix_length(nav_path, cur_path); + if (length > max_length) { + max_length = length; + pos = i; + } + } + + // Add class to parent
  • , and enclosing
  • if in dropdown + if (pos >= 0) { + var menu_anchor = $(links[pos]); + menu_anchor.parent().addClass("active"); + menu_anchor.closest("li.dropdown").addClass("active"); + } + }); + + function paths(pathname) { + var pieces = pathname.split("/"); + pieces.shift(); // always starts with / + + var end = pieces[pieces.length - 1]; + if (end === "index.html" || end === "") + pieces.pop(); + return(pieces); + } + + // Returns -1 if not found + function prefix_length(needle, haystack) { + if (needle.length > haystack.length) + return(-1); + + // Special case for length-0 haystack, since for loop won't run + if (haystack.length === 0) { + return(needle.length === 0 ? 0 : -1); + } + + for (var i = 0; i < haystack.length; i++) { + if (needle[i] != haystack[i]) + return(i); + } + + return(haystack.length); + } + + /* Clipboard --------------------------*/ + + function changeTooltipMessage(element, msg) { + var tooltipOriginalTitle=element.getAttribute('data-original-title'); + element.setAttribute('data-original-title', msg); + $(element).tooltip('show'); + element.setAttribute('data-original-title', tooltipOriginalTitle); + } + + if(ClipboardJS.isSupported()) { + $(document).ready(function() { + var copyButton = ""; + + $("div.sourceCode").addClass("hasCopyButton"); + + // Insert copy buttons: + $(copyButton).prependTo(".hasCopyButton"); + + // Initialize tooltips: + $('.btn-copy-ex').tooltip({container: 'body'}); + + // Initialize clipboard: + var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', { + text: function(trigger) { + return trigger.parentNode.textContent.replace(/\n#>[^\n]*/g, ""); + } + }); + + clipboardBtnCopies.on('success', function(e) { + changeTooltipMessage(e.trigger, 'Copied!'); + e.clearSelection(); + }); + + clipboardBtnCopies.on('error', function() { + changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy'); + }); + }); + } +})(window.jQuery || window.$) diff --git a/inst/milne/docs/pkgdown.yml b/inst/milne/docs/pkgdown.yml new file mode 100644 index 00000000..f345ca1b --- /dev/null +++ b/inst/milne/docs/pkgdown.yml @@ -0,0 +1,6 @@ +pandoc: 3.1.12.3 +pkgdown: 2.0.8 +pkgdown_sha: ~ +articles: {} +last_built: 2024-04-19T21:45Z + diff --git a/inst/milne/docs/reference/Five.html b/inst/milne/docs/reference/Five.html new file mode 100644 index 00000000..d468d687 --- /dev/null +++ b/inst/milne/docs/reference/Five.html @@ -0,0 +1,83 @@ + +Age Five — Five • milne + + +
    +
    + + + +
    +
    + + +
    +

    Age Five

    +
    + +
    +
    Five
    +
    + +
    +

    Format

    +

    An object of class R6ClassGenerator of length 24.

    +
    +
    +

    See also

    +

    Other TheEnd: Four, One, + Six, Three, Two

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/Four.html b/inst/milne/docs/reference/Four.html new file mode 100644 index 00000000..0133aa4e --- /dev/null +++ b/inst/milne/docs/reference/Four.html @@ -0,0 +1,83 @@ + +Age Four — Four • milne + + +
    +
    + + + +
    +
    + + +
    +

    Age Four

    +
    + +
    +
    Four
    +
    + +
    +

    Format

    +

    An object of class R6ClassGenerator of length 24.

    +
    +
    +

    See also

    +

    Other TheEnd: Five, One, + Six, Three, Two

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/One.html b/inst/milne/docs/reference/One.html new file mode 100644 index 00000000..70c5ae7d --- /dev/null +++ b/inst/milne/docs/reference/One.html @@ -0,0 +1,83 @@ + +Age One — One • milne + + +
    +
    + + + +
    +
    + + +
    +

    Age One

    +
    + +
    +
    One
    +
    + +
    +

    Format

    +

    An object of class R6ClassGenerator of length 24.

    +
    +
    +

    See also

    +

    Other TheEnd: Five, Four, + Six, Three, Two

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/PoohAnswer.html b/inst/milne/docs/reference/PoohAnswer.html new file mode 100644 index 00000000..9911590d --- /dev/null +++ b/inst/milne/docs/reference/PoohAnswer.html @@ -0,0 +1,75 @@ + +Pooh's Answer — PoohAnswer • milne + + +
    +
    + + + +
    +
    + + +
    +

    Pooh's Answer to a Question

    +
    + + +
    +

    See also

    +

    Other TheFriend: RightAnswer

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/RightAnswer.html b/inst/milne/docs/reference/RightAnswer.html new file mode 100644 index 00000000..ffec8530 --- /dev/null +++ b/inst/milne/docs/reference/RightAnswer.html @@ -0,0 +1,75 @@ + +Right Answer — RightAnswer • milne + + +
    +
    + + + +
    +
    + + +
    +

    Correct Answer to a Question

    +
    + + +
    +

    See also

    +

    Other TheFriend: PoohAnswer

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/Six.html b/inst/milne/docs/reference/Six.html new file mode 100644 index 00000000..01709b46 --- /dev/null +++ b/inst/milne/docs/reference/Six.html @@ -0,0 +1,83 @@ + +Age Six — Six • milne + + +
    +
    + + + +
    +
    + + +
    +

    Age Six

    +
    + +
    +
    Six
    +
    + +
    +

    Format

    +

    An object of class R6ClassGenerator of length 24.

    +
    +
    +

    See also

    +

    Other TheEnd: Five, Four, + One, Three, Two

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/Three.html b/inst/milne/docs/reference/Three.html new file mode 100644 index 00000000..4c2271da --- /dev/null +++ b/inst/milne/docs/reference/Three.html @@ -0,0 +1,83 @@ + +Age Three — Three • milne + + +
    +
    + + + +
    +
    + + +
    +

    Age Three

    +
    + +
    +
    Three
    +
    + +
    +

    Format

    +

    An object of class R6ClassGenerator of length 24.

    +
    +
    +

    See also

    +

    Other TheEnd: Five, Four, + One, Six, Two

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/Two.html b/inst/milne/docs/reference/Two.html new file mode 100644 index 00000000..e3c486c5 --- /dev/null +++ b/inst/milne/docs/reference/Two.html @@ -0,0 +1,83 @@ + +Age Two — Two • milne + + +
    +
    + + + +
    +
    + + +
    +

    Age Two

    +
    + +
    +
    Two
    +
    + +
    +

    Format

    +

    An object of class R6ClassGenerator of length 24.

    +
    +
    +

    See also

    +

    Other TheEnd: Five, Four, + One, Six, Three

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/reference/index.html b/inst/milne/docs/reference/index.html new file mode 100644 index 00000000..29fc98d1 --- /dev/null +++ b/inst/milne/docs/reference/index.html @@ -0,0 +1,100 @@ + +Function reference • milne + + +
    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + +
    +

    All functions

    +

    +
    +

    Five

    +

    Age Five

    +

    Four

    +

    Age Four

    +

    One

    +

    Age One

    +

    PoohAnswer PoohAnsuh

    +

    Pooh's Answer

    +

    RightAnswer

    +

    Right Answer

    +

    Six

    +

    Age Six

    +

    Three

    +

    Age Three

    +

    Two

    +

    Age Two

    + + +
    + + +
    + +
    +

    Site built with pkgdown 2.0.8.

    +
    + +
    + + + + + + + + diff --git a/inst/milne/docs/sitemap.xml b/inst/milne/docs/sitemap.xml new file mode 100644 index 00000000..6669ae26 --- /dev/null +++ b/inst/milne/docs/sitemap.xml @@ -0,0 +1,42 @@ + + + + /404.html + + + /LICENSE-text.html + + + /authors.html + + + /index.html + + + /reference/Five.html + + + /reference/Four.html + + + /reference/One.html + + + /reference/PoohAnswer.html + + + /reference/RightAnswer.html + + + /reference/Six.html + + + /reference/Three.html + + + /reference/Two.html + + + /reference/index.html + + diff --git a/inst/milne/man/Five.Rd b/inst/milne/man/Five.Rd index c39c415a..11fe30db 100644 --- a/inst/milne/man/Five.Rd +++ b/inst/milne/man/Five.Rd @@ -1,19 +1,61 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/The_End.R -\docType{data} \name{Five} \alias{Five} -\title{Age Five} -\format{An object of class \code{R6ClassGenerator} of length 24.} -\usage{ -Five -} +\title{R6 Class Age Five} \description{ Age Five } -\seealso{ -Other TheEnd: \code{\link{Four}}, \code{\link{One}}, - \code{\link{Six}}, \code{\link{Three}}, \code{\link{Two}} +\details{ +Age Five +} +\section{Super classes}{ +\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{milne::HardlyThree} -> \code{milne::NA} -> \code{Five} +} +\section{Methods}{ +\subsection{Public methods}{ +\itemize{ +\item \href{#method-Five-print_poem}{\code{Five$print_poem()}} +\item \href{#method-Five-clone}{\code{Five$clone()}} +} +} +\if{html}{\out{ +
    Inherited methods + +
    +}} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Five-print_poem}{}}} +\subsection{Method \code{print_poem()}}{ +Print poem five times +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Five$print_poem()}\if{html}{\out{
    }} +} + +\subsection{Details}{ +Did your hand hit on the river? +} + +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Five-clone}{}}} +\subsection{Method \code{clone()}}{ +The objects of this class are cloneable with this method. +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Five$clone(deep = FALSE)}\if{html}{\out{
    }} +} + +\subsection{Arguments}{ +\if{html}{\out{
    }} +\describe{ +\item{\code{deep}}{Whether to make a deep clone.} +} +\if{html}{\out{
    }} +} +} } -\concept{TheEnd} -\keyword{datasets} diff --git a/inst/milne/man/Four.Rd b/inst/milne/man/Four.Rd index d41179bc..7e1b8a7f 100644 --- a/inst/milne/man/Four.Rd +++ b/inst/milne/man/Four.Rd @@ -1,19 +1,57 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/The_End.R -\docType{data} \name{Four} \alias{Four} -\title{Age Four} -\format{An object of class \code{R6ClassGenerator} of length 24.} -\usage{ -Four -} +\title{R6 Class Age Four} \description{ Age Four } -\seealso{ -Other TheEnd: \code{\link{Five}}, \code{\link{One}}, - \code{\link{Six}}, \code{\link{Three}}, \code{\link{Two}} +\details{ +Age Four +} +\section{Super classes}{ +\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{milne::HardlyThree} +} +\section{Methods}{ +\subsection{Public methods}{ +\itemize{ +\item \href{#method-NA-print_poem}{\code{Four$print_poem()}} +\item \href{#method-unknown-clone}{\code{Four$clone()}} +} +} +\if{html}{\out{ +
    Inherited methods + +
    +}} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-NA-print_poem}{}}} +\subsection{Method \code{print_poem()}}{ +Print poem four +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Four$print_poem()}\if{html}{\out{
    }} +} + +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-unknown-clone}{}}} +\subsection{Method \code{clone()}}{ +The objects of this class are cloneable with this method. +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Four$clone(deep = FALSE)}\if{html}{\out{
    }} +} + +\subsection{Arguments}{ +\if{html}{\out{
    }} +\describe{ +\item{\code{deep}}{Whether to make a deep clone.} +} +\if{html}{\out{
    }} +} +} } -\concept{TheEnd} -\keyword{datasets} diff --git a/inst/milne/man/One.Rd b/inst/milne/man/One.Rd index 8d227d54..92518292 100644 --- a/inst/milne/man/One.Rd +++ b/inst/milne/man/One.Rd @@ -1,19 +1,71 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/The_End.R -\docType{data} \name{One} \alias{One} -\title{Age One} -\format{An object of class \code{R6ClassGenerator} of length 24.} -\usage{ -One -} +\title{R6 Class Age One} \description{ Age One } -\seealso{ -Other TheEnd: \code{\link{Five}}, \code{\link{Four}}, - \code{\link{Six}}, \code{\link{Three}}, \code{\link{Two}} +\details{ +Age One +} +\section{Methods}{ +\subsection{Public methods}{ +\itemize{ +\item \href{#method-One-new}{\code{One$new()}} +\item \href{#method-One-print_poem}{\code{One$print_poem()}} +\item \href{#method-One-how_old_am_i}{\code{One$how_old_am_i()}} +\item \href{#method-One-clone}{\code{One$clone()}} +} +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-One-new}{}}} +\subsection{Method \code{new()}}{ +Create a New Age One Object +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{One$new()}\if{html}{\out{
    }} +} + +\subsection{Returns}{ +An Age One Object +} +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-One-print_poem}{}}} +\subsection{Method \code{print_poem()}}{ +Print poem +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{One$print_poem()}\if{html}{\out{
    }} +} + +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-One-how_old_am_i}{}}} +\subsection{Method \code{how_old_am_i()}}{ +Get Age +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{One$how_old_am_i()}\if{html}{\out{
    }} +} + +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-One-clone}{}}} +\subsection{Method \code{clone()}}{ +The objects of this class are cloneable with this method. +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{One$clone(deep = FALSE)}\if{html}{\out{
    }} +} + +\subsection{Arguments}{ +\if{html}{\out{
    }} +\describe{ +\item{\code{deep}}{Whether to make a deep clone.} +} +\if{html}{\out{
    }} +} +} } -\concept{TheEnd} -\keyword{datasets} diff --git a/inst/milne/man/PoohAnswer.Rd b/inst/milne/man/PoohAnswer.Rd index 2c59ea3b..c433f244 100644 --- a/inst/milne/man/PoohAnswer.Rd +++ b/inst/milne/man/PoohAnswer.Rd @@ -10,6 +10,7 @@ Pooh's Answer to a Question } \seealso{ -Other TheFriend: \code{\link{RightAnswer}} +Other TheFriend: +\code{\link{RightAnswer}} } \concept{TheFriend} diff --git a/inst/milne/man/RightAnswer.Rd b/inst/milne/man/RightAnswer.Rd index c7f4b74a..c6471747 100644 --- a/inst/milne/man/RightAnswer.Rd +++ b/inst/milne/man/RightAnswer.Rd @@ -9,6 +9,7 @@ Correct Answer to a Question } \seealso{ -Other TheFriend: \code{\link{PoohAnswer}} +Other TheFriend: +\code{\link{PoohAnswer}} } \concept{TheFriend} diff --git a/inst/milne/man/Six.Rd b/inst/milne/man/Six.Rd index 5baae338..7b2d4e2f 100644 --- a/inst/milne/man/Six.Rd +++ b/inst/milne/man/Six.Rd @@ -1,19 +1,61 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/The_End.R -\docType{data} \name{Six} \alias{Six} -\title{Age Six} -\format{An object of class \code{R6ClassGenerator} of length 24.} -\usage{ -Six -} +\title{R6 Class Age Six} \description{ Age Six } -\seealso{ -Other TheEnd: \code{\link{Five}}, \code{\link{Four}}, - \code{\link{One}}, \code{\link{Three}}, \code{\link{Two}} +\details{ +Age Six +} +\section{Super classes}{ +\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{milne::HardlyThree} -> \code{milne::NA} -> \code{\link[milne:Five]{milne::Five}} -> \code{Six} +} +\section{Methods}{ +\subsection{Public methods}{ +\itemize{ +\item \href{#method-Six-print_poem}{\code{Six$print_poem()}} +\item \href{#method-Six-clone}{\code{Six$clone()}} +} +} +\if{html}{\out{ +
    Inherited methods + +
    +}} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Six-print_poem}{}}} +\subsection{Method \code{print_poem()}}{ +Print poem six times +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Six$print_poem()}\if{html}{\out{
    }} +} + +\subsection{Details}{ +I should have looked ahead +} + +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Six-clone}{}}} +\subsection{Method \code{clone()}}{ +The objects of this class are cloneable with this method. +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Six$clone(deep = FALSE)}\if{html}{\out{
    }} +} + +\subsection{Arguments}{ +\if{html}{\out{
    }} +\describe{ +\item{\code{deep}}{Whether to make a deep clone.} +} +\if{html}{\out{
    }} +} +} } -\concept{TheEnd} -\keyword{datasets} diff --git a/inst/milne/man/Three.Rd b/inst/milne/man/Three.Rd index c6a5d574..05704c41 100644 --- a/inst/milne/man/Three.Rd +++ b/inst/milne/man/Three.Rd @@ -1,19 +1,57 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/The_End.R -\docType{data} \name{Three} \alias{Three} -\title{Age Three} -\format{An object of class \code{R6ClassGenerator} of length 24.} -\usage{ -Three -} +\title{R6 Class Age Three} \description{ Age Three } -\seealso{ -Other TheEnd: \code{\link{Five}}, \code{\link{Four}}, - \code{\link{One}}, \code{\link{Six}}, \code{\link{Two}} +\details{ +Age Three +} +\section{Super classes}{ +\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{HardlyThree} +} +\section{Methods}{ +\subsection{Public methods}{ +\itemize{ +\item \href{#method-HardlyThree-print_poem}{\code{Three$print_poem()}} +\item \href{#method-HardlyThree-clone}{\code{Three$clone()}} +} +} +\if{html}{\out{ +
    Inherited methods + +
    +}} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-HardlyThree-print_poem}{}}} +\subsection{Method \code{print_poem()}}{ +Print poem thrice +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Three$print_poem()}\if{html}{\out{
    }} +} + +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-HardlyThree-clone}{}}} +\subsection{Method \code{clone()}}{ +The objects of this class are cloneable with this method. +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Three$clone(deep = FALSE)}\if{html}{\out{
    }} +} + +\subsection{Arguments}{ +\if{html}{\out{
    }} +\describe{ +\item{\code{deep}}{Whether to make a deep clone.} +} +\if{html}{\out{
    }} +} +} } -\concept{TheEnd} -\keyword{datasets} diff --git a/inst/milne/man/Two.Rd b/inst/milne/man/Two.Rd index 65cafb21..57cfbd7c 100644 --- a/inst/milne/man/Two.Rd +++ b/inst/milne/man/Two.Rd @@ -1,19 +1,57 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/The_End.R -\docType{data} \name{Two} \alias{Two} -\title{Age Two} -\format{An object of class \code{R6ClassGenerator} of length 24.} -\usage{ -Two -} +\title{R6 Class Age Two} \description{ Age Two } -\seealso{ -Other TheEnd: \code{\link{Five}}, \code{\link{Four}}, - \code{\link{One}}, \code{\link{Six}}, \code{\link{Three}} +\details{ +Age Two +} +\section{Super class}{ +\code{\link[milne:One]{milne::One}} -> \code{Two} +} +\section{Methods}{ +\subsection{Public methods}{ +\itemize{ +\item \href{#method-Two-print_poem}{\code{Two$print_poem()}} +\item \href{#method-Two-clone}{\code{Two$clone()}} +} +} +\if{html}{\out{ +
    Inherited methods + +
    +}} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Two-print_poem}{}}} +\subsection{Method \code{print_poem()}}{ +Print poem two +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Two$print_poem()}\if{html}{\out{
    }} +} + +} +\if{html}{\out{
    }} +\if{html}{\out{}} +\if{latex}{\out{\hypertarget{method-Two-clone}{}}} +\subsection{Method \code{clone()}}{ +The objects of this class are cloneable with this method. +\subsection{Usage}{ +\if{html}{\out{
    }}\preformatted{Two$clone(deep = FALSE)}\if{html}{\out{
    }} +} + +\subsection{Arguments}{ +\if{html}{\out{
    }} +\describe{ +\item{\code{deep}}{Whether to make a deep clone.} +} +\if{html}{\out{
    }} +} +} } -\concept{TheEnd} -\keyword{datasets} From dca392a9571a406dc1094622ff56799cacec89b1 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Tue, 23 Apr 2024 11:29:15 -0500 Subject: [PATCH 7/9] special handling for covr in windows workaround for windows covr revised detatch revised again and again thrice revised --- R/FunctionReporter.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/FunctionReporter.R b/R/FunctionReporter.R index aef7d3b8..ff404dfc 100644 --- a/R/FunctionReporter.R +++ b/R/FunctionReporter.R @@ -160,6 +160,8 @@ FunctionReporter <- R6::R6Class( path = private$pkg_path , type = "tests" , combine_types = FALSE + , quiet = FALSE + , clean = FALSE )) # workaround for covr conflict with loaded packages on windows From fb4aaeee823fbc2836cffb2a68f5e67e5f9d2c4a Mon Sep 17 00:00:00 2001 From: bburns632 Date: Tue, 23 Apr 2024 14:35:15 -0500 Subject: [PATCH 8/9] remove web docs in test packages --- inst/baseballstats/DESCRIPTION | 1 - inst/milne/docs/404.html | 93 ----- inst/milne/docs/LICENSE-text.html | 69 ---- inst/milne/docs/authors.html | 88 ----- inst/milne/docs/bootstrap-toc.css | 60 ---- inst/milne/docs/bootstrap-toc.js | 159 --------- inst/milne/docs/docsearch.css | 148 -------- inst/milne/docs/docsearch.js | 85 ----- inst/milne/docs/index.html | 110 ------ inst/milne/docs/link.svg | 12 - inst/milne/docs/pkgdown.css | 384 --------------------- inst/milne/docs/pkgdown.js | 108 ------ inst/milne/docs/pkgdown.yml | 6 - inst/milne/docs/reference/Five.html | 83 ----- inst/milne/docs/reference/Four.html | 83 ----- inst/milne/docs/reference/One.html | 83 ----- inst/milne/docs/reference/PoohAnswer.html | 75 ---- inst/milne/docs/reference/RightAnswer.html | 75 ---- inst/milne/docs/reference/Six.html | 83 ----- inst/milne/docs/reference/Three.html | 83 ----- inst/milne/docs/reference/Two.html | 83 ----- inst/milne/docs/reference/index.html | 100 ------ inst/milne/docs/sitemap.xml | 42 --- inst/milne/man/Five.Rd | 2 +- inst/milne/man/Four.Rd | 2 +- inst/milne/man/Six.Rd | 2 +- inst/milne/man/Three.Rd | 2 +- inst/milne/man/Two.Rd | 2 +- inst/sartre/DESCRIPTION | 1 - inst/silverstein/DESCRIPTION | 1 - 30 files changed, 5 insertions(+), 2120 deletions(-) delete mode 100644 inst/milne/docs/404.html delete mode 100644 inst/milne/docs/LICENSE-text.html delete mode 100644 inst/milne/docs/authors.html delete mode 100644 inst/milne/docs/bootstrap-toc.css delete mode 100644 inst/milne/docs/bootstrap-toc.js delete mode 100644 inst/milne/docs/docsearch.css delete mode 100644 inst/milne/docs/docsearch.js delete mode 100644 inst/milne/docs/index.html delete mode 100644 inst/milne/docs/link.svg delete mode 100644 inst/milne/docs/pkgdown.css delete mode 100644 inst/milne/docs/pkgdown.js delete mode 100644 inst/milne/docs/pkgdown.yml delete mode 100644 inst/milne/docs/reference/Five.html delete mode 100644 inst/milne/docs/reference/Four.html delete mode 100644 inst/milne/docs/reference/One.html delete mode 100644 inst/milne/docs/reference/PoohAnswer.html delete mode 100644 inst/milne/docs/reference/RightAnswer.html delete mode 100644 inst/milne/docs/reference/Six.html delete mode 100644 inst/milne/docs/reference/Three.html delete mode 100644 inst/milne/docs/reference/Two.html delete mode 100644 inst/milne/docs/reference/index.html delete mode 100644 inst/milne/docs/sitemap.xml diff --git a/inst/baseballstats/DESCRIPTION b/inst/baseballstats/DESCRIPTION index 8747b126..57638582 100644 --- a/inst/baseballstats/DESCRIPTION +++ b/inst/baseballstats/DESCRIPTION @@ -18,4 +18,3 @@ Suggests: License: file LICENSE LazyData: TRUE RoxygenNote: 7.1.0 -Roxygen: list(r6 = FALSE) diff --git a/inst/milne/docs/404.html b/inst/milne/docs/404.html deleted file mode 100644 index 176e1798..00000000 --- a/inst/milne/docs/404.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - -Page not found (404) • milne - - - - - - - - - - - -
    -
    - - - - -
    -
    - - -Content not found. Please use links in the navbar. - -
    - - - -
    - - - -
    - -
    -

    -

    Site built with pkgdown 2.0.8.

    -
    - -
    -
    - - - - - - - - diff --git a/inst/milne/docs/LICENSE-text.html b/inst/milne/docs/LICENSE-text.html deleted file mode 100644 index 71ad3026..00000000 --- a/inst/milne/docs/LICENSE-text.html +++ /dev/null @@ -1,69 +0,0 @@ - -License • milne - - -
    -
    - - - -
    -
    - - -
    this is a test package
    -
    - -
    - - - -
    - - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/authors.html b/inst/milne/docs/authors.html deleted file mode 100644 index db6dc977..00000000 --- a/inst/milne/docs/authors.html +++ /dev/null @@ -1,88 +0,0 @@ - -Authors and Citation • milne - - -
    -
    - - - -
    -
    -
    - - - -
    • -

      Jay Qi. Author, maintainer. -

      -
    • -
    -
    -
    -

    Citation

    - -
    -
    - - -

    Qi J (2024). -milne: Now We Are Six. -R package version 6.0. -

    -
    @Manual{,
    -  title = {milne: Now We Are Six},
    -  author = {Jay Qi},
    -  year = {2024},
    -  note = {R package version 6.0},
    -}
    - -
    - -
    - - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/bootstrap-toc.css b/inst/milne/docs/bootstrap-toc.css deleted file mode 100644 index 5a859415..00000000 --- a/inst/milne/docs/bootstrap-toc.css +++ /dev/null @@ -1,60 +0,0 @@ -/*! - * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) - * Copyright 2015 Aidan Feldman - * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ - -/* modified from https://github.com/twbs/bootstrap/blob/94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd/docs/assets/css/src/docs.css#L548-L601 */ - -/* All levels of nav */ -nav[data-toggle='toc'] .nav > li > a { - display: block; - padding: 4px 20px; - font-size: 13px; - font-weight: 500; - color: #767676; -} -nav[data-toggle='toc'] .nav > li > a:hover, -nav[data-toggle='toc'] .nav > li > a:focus { - padding-left: 19px; - color: #563d7c; - text-decoration: none; - background-color: transparent; - border-left: 1px solid #563d7c; -} -nav[data-toggle='toc'] .nav > .active > a, -nav[data-toggle='toc'] .nav > .active:hover > a, -nav[data-toggle='toc'] .nav > .active:focus > a { - padding-left: 18px; - font-weight: bold; - color: #563d7c; - background-color: transparent; - border-left: 2px solid #563d7c; -} - -/* Nav: second level (shown on .active) */ -nav[data-toggle='toc'] .nav .nav { - display: none; /* Hide by default, but at >768px, show it */ - padding-bottom: 10px; -} -nav[data-toggle='toc'] .nav .nav > li > a { - padding-top: 1px; - padding-bottom: 1px; - padding-left: 30px; - font-size: 12px; - font-weight: normal; -} -nav[data-toggle='toc'] .nav .nav > li > a:hover, -nav[data-toggle='toc'] .nav .nav > li > a:focus { - padding-left: 29px; -} -nav[data-toggle='toc'] .nav .nav > .active > a, -nav[data-toggle='toc'] .nav .nav > .active:hover > a, -nav[data-toggle='toc'] .nav .nav > .active:focus > a { - padding-left: 28px; - font-weight: 500; -} - -/* from https://github.com/twbs/bootstrap/blob/e38f066d8c203c3e032da0ff23cd2d6098ee2dd6/docs/assets/css/src/docs.css#L631-L634 */ -nav[data-toggle='toc'] .nav > .active > ul { - display: block; -} diff --git a/inst/milne/docs/bootstrap-toc.js b/inst/milne/docs/bootstrap-toc.js deleted file mode 100644 index 1cdd573b..00000000 --- a/inst/milne/docs/bootstrap-toc.js +++ /dev/null @@ -1,159 +0,0 @@ -/*! - * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) - * Copyright 2015 Aidan Feldman - * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ -(function() { - 'use strict'; - - window.Toc = { - helpers: { - // return all matching elements in the set, or their descendants - findOrFilter: function($el, selector) { - // http://danielnouri.org/notes/2011/03/14/a-jquery-find-that-also-finds-the-root-element/ - // http://stackoverflow.com/a/12731439/358804 - var $descendants = $el.find(selector); - return $el.filter(selector).add($descendants).filter(':not([data-toc-skip])'); - }, - - generateUniqueIdBase: function(el) { - var text = $(el).text(); - var anchor = text.trim().toLowerCase().replace(/[^A-Za-z0-9]+/g, '-'); - return anchor || el.tagName.toLowerCase(); - }, - - generateUniqueId: function(el) { - var anchorBase = this.generateUniqueIdBase(el); - for (var i = 0; ; i++) { - var anchor = anchorBase; - if (i > 0) { - // add suffix - anchor += '-' + i; - } - // check if ID already exists - if (!document.getElementById(anchor)) { - return anchor; - } - } - }, - - generateAnchor: function(el) { - if (el.id) { - return el.id; - } else { - var anchor = this.generateUniqueId(el); - el.id = anchor; - return anchor; - } - }, - - createNavList: function() { - return $(''); - }, - - createChildNavList: function($parent) { - var $childList = this.createNavList(); - $parent.append($childList); - return $childList; - }, - - generateNavEl: function(anchor, text) { - var $a = $(''); - $a.attr('href', '#' + anchor); - $a.text(text); - var $li = $('
  • '); - $li.append($a); - return $li; - }, - - generateNavItem: function(headingEl) { - var anchor = this.generateAnchor(headingEl); - var $heading = $(headingEl); - var text = $heading.data('toc-text') || $heading.text(); - return this.generateNavEl(anchor, text); - }, - - // Find the first heading level (`

    `, then `

    `, etc.) that has more than one element. Defaults to 1 (for `

    `). - getTopLevel: function($scope) { - for (var i = 1; i <= 6; i++) { - var $headings = this.findOrFilter($scope, 'h' + i); - if ($headings.length > 1) { - return i; - } - } - - return 1; - }, - - // returns the elements for the top level, and the next below it - getHeadings: function($scope, topLevel) { - var topSelector = 'h' + topLevel; - - var secondaryLevel = topLevel + 1; - var secondarySelector = 'h' + secondaryLevel; - - return this.findOrFilter($scope, topSelector + ',' + secondarySelector); - }, - - getNavLevel: function(el) { - return parseInt(el.tagName.charAt(1), 10); - }, - - populateNav: function($topContext, topLevel, $headings) { - var $context = $topContext; - var $prevNav; - - var helpers = this; - $headings.each(function(i, el) { - var $newNav = helpers.generateNavItem(el); - var navLevel = helpers.getNavLevel(el); - - // determine the proper $context - if (navLevel === topLevel) { - // use top level - $context = $topContext; - } else if ($prevNav && $context === $topContext) { - // create a new level of the tree and switch to it - $context = helpers.createChildNavList($prevNav); - } // else use the current $context - - $context.append($newNav); - - $prevNav = $newNav; - }); - }, - - parseOps: function(arg) { - var opts; - if (arg.jquery) { - opts = { - $nav: arg - }; - } else { - opts = arg; - } - opts.$scope = opts.$scope || $(document.body); - return opts; - } - }, - - // accepts a jQuery object, or an options object - init: function(opts) { - opts = this.helpers.parseOps(opts); - - // ensure that the data attribute is in place for styling - opts.$nav.attr('data-toggle', 'toc'); - - var $topContext = this.helpers.createChildNavList(opts.$nav); - var topLevel = this.helpers.getTopLevel(opts.$scope); - var $headings = this.helpers.getHeadings(opts.$scope, topLevel); - this.helpers.populateNav($topContext, topLevel, $headings); - } - }; - - $(function() { - $('nav[data-toggle="toc"]').each(function(i, el) { - var $nav = $(el); - Toc.init($nav); - }); - }); -})(); diff --git a/inst/milne/docs/docsearch.css b/inst/milne/docs/docsearch.css deleted file mode 100644 index e5f1fe1d..00000000 --- a/inst/milne/docs/docsearch.css +++ /dev/null @@ -1,148 +0,0 @@ -/* Docsearch -------------------------------------------------------------- */ -/* - Source: https://github.com/algolia/docsearch/ - License: MIT -*/ - -.algolia-autocomplete { - display: block; - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1 -} - -.algolia-autocomplete .ds-dropdown-menu { - width: 100%; - min-width: none; - max-width: none; - padding: .75rem 0; - background-color: #fff; - background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, .1); - box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175); -} - -@media (min-width:768px) { - .algolia-autocomplete .ds-dropdown-menu { - width: 175% - } -} - -.algolia-autocomplete .ds-dropdown-menu::before { - display: none -} - -.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-] { - padding: 0; - background-color: rgb(255,255,255); - border: 0; - max-height: 80vh; -} - -.algolia-autocomplete .ds-dropdown-menu .ds-suggestions { - margin-top: 0 -} - -.algolia-autocomplete .algolia-docsearch-suggestion { - padding: 0; - overflow: visible -} - -.algolia-autocomplete .algolia-docsearch-suggestion--category-header { - padding: .125rem 1rem; - margin-top: 0; - font-size: 1.3em; - font-weight: 500; - color: #00008B; - border-bottom: 0 -} - -.algolia-autocomplete .algolia-docsearch-suggestion--wrapper { - float: none; - padding-top: 0 -} - -.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column { - float: none; - width: auto; - padding: 0; - text-align: left -} - -.algolia-autocomplete .algolia-docsearch-suggestion--content { - float: none; - width: auto; - padding: 0 -} - -.algolia-autocomplete .algolia-docsearch-suggestion--content::before { - display: none -} - -.algolia-autocomplete .ds-suggestion:not(:first-child) .algolia-docsearch-suggestion--category-header { - padding-top: .75rem; - margin-top: .75rem; - border-top: 1px solid rgba(0, 0, 0, .1) -} - -.algolia-autocomplete .ds-suggestion .algolia-docsearch-suggestion--subcategory-column { - display: block; - padding: .1rem 1rem; - margin-bottom: 0.1; - font-size: 1.0em; - font-weight: 400 - /* display: none */ -} - -.algolia-autocomplete .algolia-docsearch-suggestion--title { - display: block; - padding: .25rem 1rem; - margin-bottom: 0; - font-size: 0.9em; - font-weight: 400 -} - -.algolia-autocomplete .algolia-docsearch-suggestion--text { - padding: 0 1rem .5rem; - margin-top: -.25rem; - font-size: 0.8em; - font-weight: 400; - line-height: 1.25 -} - -.algolia-autocomplete .algolia-docsearch-footer { - width: 110px; - height: 20px; - z-index: 3; - margin-top: 10.66667px; - float: right; - font-size: 0; - line-height: 0; -} - -.algolia-autocomplete .algolia-docsearch-footer--logo { - background-image: url("data:image/svg+xml;utf8,"); - background-repeat: no-repeat; - background-position: 50%; - background-size: 100%; - overflow: hidden; - text-indent: -9000px; - width: 100%; - height: 100%; - display: block; - transform: translate(-8px); -} - -.algolia-autocomplete .algolia-docsearch-suggestion--highlight { - color: #FF8C00; - background: rgba(232, 189, 54, 0.1) -} - - -.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight { - box-shadow: inset 0 -2px 0 0 rgba(105, 105, 105, .5) -} - -.algolia-autocomplete .ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content { - background-color: rgba(192, 192, 192, .15) -} diff --git a/inst/milne/docs/docsearch.js b/inst/milne/docs/docsearch.js deleted file mode 100644 index b35504cd..00000000 --- a/inst/milne/docs/docsearch.js +++ /dev/null @@ -1,85 +0,0 @@ -$(function() { - - // register a handler to move the focus to the search bar - // upon pressing shift + "/" (i.e. "?") - $(document).on('keydown', function(e) { - if (e.shiftKey && e.keyCode == 191) { - e.preventDefault(); - $("#search-input").focus(); - } - }); - - $(document).ready(function() { - // do keyword highlighting - /* modified from https://jsfiddle.net/julmot/bL6bb5oo/ */ - var mark = function() { - - var referrer = document.URL ; - var paramKey = "q" ; - - if (referrer.indexOf("?") !== -1) { - var qs = referrer.substr(referrer.indexOf('?') + 1); - var qs_noanchor = qs.split('#')[0]; - var qsa = qs_noanchor.split('&'); - var keyword = ""; - - for (var i = 0; i < qsa.length; i++) { - var currentParam = qsa[i].split('='); - - if (currentParam.length !== 2) { - continue; - } - - if (currentParam[0] == paramKey) { - keyword = decodeURIComponent(currentParam[1].replace(/\+/g, "%20")); - } - } - - if (keyword !== "") { - $(".contents").unmark({ - done: function() { - $(".contents").mark(keyword); - } - }); - } - } - }; - - mark(); - }); -}); - -/* Search term highlighting ------------------------------*/ - -function matchedWords(hit) { - var words = []; - - var hierarchy = hit._highlightResult.hierarchy; - // loop to fetch from lvl0, lvl1, etc. - for (var idx in hierarchy) { - words = words.concat(hierarchy[idx].matchedWords); - } - - var content = hit._highlightResult.content; - if (content) { - words = words.concat(content.matchedWords); - } - - // return unique words - var words_uniq = [...new Set(words)]; - return words_uniq; -} - -function updateHitURL(hit) { - - var words = matchedWords(hit); - var url = ""; - - if (hit.anchor) { - url = hit.url_without_anchor + '?q=' + escape(words.join(" ")) + '#' + hit.anchor; - } else { - url = hit.url + '?q=' + escape(words.join(" ")); - } - - return url; -} diff --git a/inst/milne/docs/index.html b/inst/milne/docs/index.html deleted file mode 100644 index 69a22ef3..00000000 --- a/inst/milne/docs/index.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -Now We Are Six • milne - - - - - - - - - - - - -
    -
    - - - - -
    -
    -This package is used to test object-oriented class functionality for the reporters in `pkgnet`. So I think I'll be six now for ever and ever. -
    - - -
    - - -
    - -
    -

    -

    Site built with pkgdown 2.0.8.

    -
    - -
    -
    - - - - - - - - diff --git a/inst/milne/docs/link.svg b/inst/milne/docs/link.svg deleted file mode 100644 index 88ad8276..00000000 --- a/inst/milne/docs/link.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - diff --git a/inst/milne/docs/pkgdown.css b/inst/milne/docs/pkgdown.css deleted file mode 100644 index 80ea5b83..00000000 --- a/inst/milne/docs/pkgdown.css +++ /dev/null @@ -1,384 +0,0 @@ -/* Sticky footer */ - -/** - * Basic idea: https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ - * Details: https://github.com/philipwalton/solved-by-flexbox/blob/master/assets/css/components/site.css - * - * .Site -> body > .container - * .Site-content -> body > .container .row - * .footer -> footer - * - * Key idea seems to be to ensure that .container and __all its parents__ - * have height set to 100% - * - */ - -html, body { - height: 100%; -} - -body { - position: relative; -} - -body > .container { - display: flex; - height: 100%; - flex-direction: column; -} - -body > .container .row { - flex: 1 0 auto; -} - -footer { - margin-top: 45px; - padding: 35px 0 36px; - border-top: 1px solid #e5e5e5; - color: #666; - display: flex; - flex-shrink: 0; -} -footer p { - margin-bottom: 0; -} -footer div { - flex: 1; -} -footer .pkgdown { - text-align: right; -} -footer p { - margin-bottom: 0; -} - -img.icon { - float: right; -} - -/* Ensure in-page images don't run outside their container */ -.contents img { - max-width: 100%; - height: auto; -} - -/* Fix bug in bootstrap (only seen in firefox) */ -summary { - display: list-item; -} - -/* Typographic tweaking ---------------------------------*/ - -.contents .page-header { - margin-top: calc(-60px + 1em); -} - -dd { - margin-left: 3em; -} - -/* Section anchors ---------------------------------*/ - -a.anchor { - display: none; - margin-left: 5px; - width: 20px; - height: 20px; - - background-image: url(./link.svg); - background-repeat: no-repeat; - background-size: 20px 20px; - background-position: center center; -} - -h1:hover .anchor, -h2:hover .anchor, -h3:hover .anchor, -h4:hover .anchor, -h5:hover .anchor, -h6:hover .anchor { - display: inline-block; -} - -/* Fixes for fixed navbar --------------------------*/ - -.contents h1, .contents h2, .contents h3, .contents h4 { - padding-top: 60px; - margin-top: -40px; -} - -/* Navbar submenu --------------------------*/ - -.dropdown-submenu { - position: relative; -} - -.dropdown-submenu>.dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - border-radius: 0 6px 6px 6px; -} - -.dropdown-submenu:hover>.dropdown-menu { - display: block; -} - -.dropdown-submenu>a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} - -.dropdown-submenu:hover>a:after { - border-left-color: #ffffff; -} - -.dropdown-submenu.pull-left { - float: none; -} - -.dropdown-submenu.pull-left>.dropdown-menu { - left: -100%; - margin-left: 10px; - border-radius: 6px 0 6px 6px; -} - -/* Sidebar --------------------------*/ - -#pkgdown-sidebar { - margin-top: 30px; - position: -webkit-sticky; - position: sticky; - top: 70px; -} - -#pkgdown-sidebar h2 { - font-size: 1.5em; - margin-top: 1em; -} - -#pkgdown-sidebar h2:first-child { - margin-top: 0; -} - -#pkgdown-sidebar .list-unstyled li { - margin-bottom: 0.5em; -} - -/* bootstrap-toc tweaks ------------------------------------------------------*/ - -/* All levels of nav */ - -nav[data-toggle='toc'] .nav > li > a { - padding: 4px 20px 4px 6px; - font-size: 1.5rem; - font-weight: 400; - color: inherit; -} - -nav[data-toggle='toc'] .nav > li > a:hover, -nav[data-toggle='toc'] .nav > li > a:focus { - padding-left: 5px; - color: inherit; - border-left: 1px solid #878787; -} - -nav[data-toggle='toc'] .nav > .active > a, -nav[data-toggle='toc'] .nav > .active:hover > a, -nav[data-toggle='toc'] .nav > .active:focus > a { - padding-left: 5px; - font-size: 1.5rem; - font-weight: 400; - color: inherit; - border-left: 2px solid #878787; -} - -/* Nav: second level (shown on .active) */ - -nav[data-toggle='toc'] .nav .nav { - display: none; /* Hide by default, but at >768px, show it */ - padding-bottom: 10px; -} - -nav[data-toggle='toc'] .nav .nav > li > a { - padding-left: 16px; - font-size: 1.35rem; -} - -nav[data-toggle='toc'] .nav .nav > li > a:hover, -nav[data-toggle='toc'] .nav .nav > li > a:focus { - padding-left: 15px; -} - -nav[data-toggle='toc'] .nav .nav > .active > a, -nav[data-toggle='toc'] .nav .nav > .active:hover > a, -nav[data-toggle='toc'] .nav .nav > .active:focus > a { - padding-left: 15px; - font-weight: 500; - font-size: 1.35rem; -} - -/* orcid ------------------------------------------------------------------- */ - -.orcid { - font-size: 16px; - color: #A6CE39; - /* margins are required by official ORCID trademark and display guidelines */ - margin-left:4px; - margin-right:4px; - vertical-align: middle; -} - -/* Reference index & topics ----------------------------------------------- */ - -.ref-index th {font-weight: normal;} - -.ref-index td {vertical-align: top; min-width: 100px} -.ref-index .icon {width: 40px;} -.ref-index .alias {width: 40%;} -.ref-index-icons .alias {width: calc(40% - 40px);} -.ref-index .title {width: 60%;} - -.ref-arguments th {text-align: right; padding-right: 10px;} -.ref-arguments th, .ref-arguments td {vertical-align: top; min-width: 100px} -.ref-arguments .name {width: 20%;} -.ref-arguments .desc {width: 80%;} - -/* Nice scrolling for wide elements --------------------------------------- */ - -table { - display: block; - overflow: auto; -} - -/* Syntax highlighting ---------------------------------------------------- */ - -pre, code, pre code { - background-color: #f8f8f8; - color: #333; -} -pre, pre code { - white-space: pre-wrap; - word-break: break-all; - overflow-wrap: break-word; -} - -pre { - border: 1px solid #eee; -} - -pre .img, pre .r-plt { - margin: 5px 0; -} - -pre .img img, pre .r-plt img { - background-color: #fff; -} - -code a, pre a { - color: #375f84; -} - -a.sourceLine:hover { - text-decoration: none; -} - -.fl {color: #1514b5;} -.fu {color: #000000;} /* function */ -.ch,.st {color: #036a07;} /* string */ -.kw {color: #264D66;} /* keyword */ -.co {color: #888888;} /* comment */ - -.error {font-weight: bolder;} -.warning {font-weight: bolder;} - -/* Clipboard --------------------------*/ - -.hasCopyButton { - position: relative; -} - -.btn-copy-ex { - position: absolute; - right: 0; - top: 0; - visibility: hidden; -} - -.hasCopyButton:hover button.btn-copy-ex { - visibility: visible; -} - -/* headroom.js ------------------------ */ - -.headroom { - will-change: transform; - transition: transform 200ms linear; -} -.headroom--pinned { - transform: translateY(0%); -} -.headroom--unpinned { - transform: translateY(-100%); -} - -/* mark.js ----------------------------*/ - -mark { - background-color: rgba(255, 255, 51, 0.5); - border-bottom: 2px solid rgba(255, 153, 51, 0.3); - padding: 1px; -} - -/* vertical spacing after htmlwidgets */ -.html-widget { - margin-bottom: 10px; -} - -/* fontawesome ------------------------ */ - -.fab { - font-family: "Font Awesome 5 Brands" !important; -} - -/* don't display links in code chunks when printing */ -/* source: https://stackoverflow.com/a/10781533 */ -@media print { - code a:link:after, code a:visited:after { - content: ""; - } -} - -/* Section anchors --------------------------------- - Added in pandoc 2.11: https://github.com/jgm/pandoc-templates/commit/9904bf71 -*/ - -div.csl-bib-body { } -div.csl-entry { - clear: both; -} -.hanging-indent div.csl-entry { - margin-left:2em; - text-indent:-2em; -} -div.csl-left-margin { - min-width:2em; - float:left; -} -div.csl-right-inline { - margin-left:2em; - padding-left:1em; -} -div.csl-indent { - margin-left: 2em; -} diff --git a/inst/milne/docs/pkgdown.js b/inst/milne/docs/pkgdown.js deleted file mode 100644 index 6f0eee40..00000000 --- a/inst/milne/docs/pkgdown.js +++ /dev/null @@ -1,108 +0,0 @@ -/* http://gregfranko.com/blog/jquery-best-practices/ */ -(function($) { - $(function() { - - $('.navbar-fixed-top').headroom(); - - $('body').css('padding-top', $('.navbar').height() + 10); - $(window).resize(function(){ - $('body').css('padding-top', $('.navbar').height() + 10); - }); - - $('[data-toggle="tooltip"]').tooltip(); - - var cur_path = paths(location.pathname); - var links = $("#navbar ul li a"); - var max_length = -1; - var pos = -1; - for (var i = 0; i < links.length; i++) { - if (links[i].getAttribute("href") === "#") - continue; - // Ignore external links - if (links[i].host !== location.host) - continue; - - var nav_path = paths(links[i].pathname); - - var length = prefix_length(nav_path, cur_path); - if (length > max_length) { - max_length = length; - pos = i; - } - } - - // Add class to parent
  • , and enclosing
  • if in dropdown - if (pos >= 0) { - var menu_anchor = $(links[pos]); - menu_anchor.parent().addClass("active"); - menu_anchor.closest("li.dropdown").addClass("active"); - } - }); - - function paths(pathname) { - var pieces = pathname.split("/"); - pieces.shift(); // always starts with / - - var end = pieces[pieces.length - 1]; - if (end === "index.html" || end === "") - pieces.pop(); - return(pieces); - } - - // Returns -1 if not found - function prefix_length(needle, haystack) { - if (needle.length > haystack.length) - return(-1); - - // Special case for length-0 haystack, since for loop won't run - if (haystack.length === 0) { - return(needle.length === 0 ? 0 : -1); - } - - for (var i = 0; i < haystack.length; i++) { - if (needle[i] != haystack[i]) - return(i); - } - - return(haystack.length); - } - - /* Clipboard --------------------------*/ - - function changeTooltipMessage(element, msg) { - var tooltipOriginalTitle=element.getAttribute('data-original-title'); - element.setAttribute('data-original-title', msg); - $(element).tooltip('show'); - element.setAttribute('data-original-title', tooltipOriginalTitle); - } - - if(ClipboardJS.isSupported()) { - $(document).ready(function() { - var copyButton = ""; - - $("div.sourceCode").addClass("hasCopyButton"); - - // Insert copy buttons: - $(copyButton).prependTo(".hasCopyButton"); - - // Initialize tooltips: - $('.btn-copy-ex').tooltip({container: 'body'}); - - // Initialize clipboard: - var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', { - text: function(trigger) { - return trigger.parentNode.textContent.replace(/\n#>[^\n]*/g, ""); - } - }); - - clipboardBtnCopies.on('success', function(e) { - changeTooltipMessage(e.trigger, 'Copied!'); - e.clearSelection(); - }); - - clipboardBtnCopies.on('error', function() { - changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy'); - }); - }); - } -})(window.jQuery || window.$) diff --git a/inst/milne/docs/pkgdown.yml b/inst/milne/docs/pkgdown.yml deleted file mode 100644 index f345ca1b..00000000 --- a/inst/milne/docs/pkgdown.yml +++ /dev/null @@ -1,6 +0,0 @@ -pandoc: 3.1.12.3 -pkgdown: 2.0.8 -pkgdown_sha: ~ -articles: {} -last_built: 2024-04-19T21:45Z - diff --git a/inst/milne/docs/reference/Five.html b/inst/milne/docs/reference/Five.html deleted file mode 100644 index d468d687..00000000 --- a/inst/milne/docs/reference/Five.html +++ /dev/null @@ -1,83 +0,0 @@ - -Age Five — Five • milne - - -
    -
    - - - -
    -
    - - -
    -

    Age Five

    -
    - -
    -
    Five
    -
    - -
    -

    Format

    -

    An object of class R6ClassGenerator of length 24.

    -
    -
    -

    See also

    -

    Other TheEnd: Four, One, - Six, Three, Two

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/Four.html b/inst/milne/docs/reference/Four.html deleted file mode 100644 index 0133aa4e..00000000 --- a/inst/milne/docs/reference/Four.html +++ /dev/null @@ -1,83 +0,0 @@ - -Age Four — Four • milne - - -
    -
    - - - -
    -
    - - -
    -

    Age Four

    -
    - -
    -
    Four
    -
    - -
    -

    Format

    -

    An object of class R6ClassGenerator of length 24.

    -
    -
    -

    See also

    -

    Other TheEnd: Five, One, - Six, Three, Two

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/One.html b/inst/milne/docs/reference/One.html deleted file mode 100644 index 70c5ae7d..00000000 --- a/inst/milne/docs/reference/One.html +++ /dev/null @@ -1,83 +0,0 @@ - -Age One — One • milne - - -
    -
    - - - -
    -
    - - -
    -

    Age One

    -
    - -
    -
    One
    -
    - -
    -

    Format

    -

    An object of class R6ClassGenerator of length 24.

    -
    -
    -

    See also

    -

    Other TheEnd: Five, Four, - Six, Three, Two

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/PoohAnswer.html b/inst/milne/docs/reference/PoohAnswer.html deleted file mode 100644 index 9911590d..00000000 --- a/inst/milne/docs/reference/PoohAnswer.html +++ /dev/null @@ -1,75 +0,0 @@ - -Pooh's Answer — PoohAnswer • milne - - -
    -
    - - - -
    -
    - - -
    -

    Pooh's Answer to a Question

    -
    - - -
    -

    See also

    -

    Other TheFriend: RightAnswer

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/RightAnswer.html b/inst/milne/docs/reference/RightAnswer.html deleted file mode 100644 index ffec8530..00000000 --- a/inst/milne/docs/reference/RightAnswer.html +++ /dev/null @@ -1,75 +0,0 @@ - -Right Answer — RightAnswer • milne - - -
    -
    - - - -
    -
    - - -
    -

    Correct Answer to a Question

    -
    - - -
    -

    See also

    -

    Other TheFriend: PoohAnswer

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/Six.html b/inst/milne/docs/reference/Six.html deleted file mode 100644 index 01709b46..00000000 --- a/inst/milne/docs/reference/Six.html +++ /dev/null @@ -1,83 +0,0 @@ - -Age Six — Six • milne - - -
    -
    - - - -
    -
    - - -
    -

    Age Six

    -
    - -
    -
    Six
    -
    - -
    -

    Format

    -

    An object of class R6ClassGenerator of length 24.

    -
    -
    -

    See also

    -

    Other TheEnd: Five, Four, - One, Three, Two

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/Three.html b/inst/milne/docs/reference/Three.html deleted file mode 100644 index 4c2271da..00000000 --- a/inst/milne/docs/reference/Three.html +++ /dev/null @@ -1,83 +0,0 @@ - -Age Three — Three • milne - - -
    -
    - - - -
    -
    - - -
    -

    Age Three

    -
    - -
    -
    Three
    -
    - -
    -

    Format

    -

    An object of class R6ClassGenerator of length 24.

    -
    -
    -

    See also

    -

    Other TheEnd: Five, Four, - One, Six, Two

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/Two.html b/inst/milne/docs/reference/Two.html deleted file mode 100644 index e3c486c5..00000000 --- a/inst/milne/docs/reference/Two.html +++ /dev/null @@ -1,83 +0,0 @@ - -Age Two — Two • milne - - -
    -
    - - - -
    -
    - - -
    -

    Age Two

    -
    - -
    -
    Two
    -
    - -
    -

    Format

    -

    An object of class R6ClassGenerator of length 24.

    -
    -
    -

    See also

    -

    Other TheEnd: Five, Four, - One, Six, Three

    -
    - -
    - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/reference/index.html b/inst/milne/docs/reference/index.html deleted file mode 100644 index 29fc98d1..00000000 --- a/inst/milne/docs/reference/index.html +++ /dev/null @@ -1,100 +0,0 @@ - -Function reference • milne - - -
    -
    - - - -
    -
    - - - - - - - - - - - - - - - - - - - -
    -

    All functions

    -

    -
    -

    Five

    -

    Age Five

    -

    Four

    -

    Age Four

    -

    One

    -

    Age One

    -

    PoohAnswer PoohAnsuh

    -

    Pooh's Answer

    -

    RightAnswer

    -

    Right Answer

    -

    Six

    -

    Age Six

    -

    Three

    -

    Age Three

    -

    Two

    -

    Age Two

    - - -
    - - -
    - -
    -

    Site built with pkgdown 2.0.8.

    -
    - -
    - - - - - - - - diff --git a/inst/milne/docs/sitemap.xml b/inst/milne/docs/sitemap.xml deleted file mode 100644 index 6669ae26..00000000 --- a/inst/milne/docs/sitemap.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - /404.html - - - /LICENSE-text.html - - - /authors.html - - - /index.html - - - /reference/Five.html - - - /reference/Four.html - - - /reference/One.html - - - /reference/PoohAnswer.html - - - /reference/RightAnswer.html - - - /reference/Six.html - - - /reference/Three.html - - - /reference/Two.html - - - /reference/index.html - - diff --git a/inst/milne/man/Five.Rd b/inst/milne/man/Five.Rd index 11fe30db..50e71d4d 100644 --- a/inst/milne/man/Five.Rd +++ b/inst/milne/man/Five.Rd @@ -10,7 +10,7 @@ Age Five Age Five } \section{Super classes}{ -\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{milne::HardlyThree} -> \code{milne::NA} -> \code{Five} +\code{milne::One} -> \code{milne::Two} -> \code{milne::HardlyThree} -> \code{milne::NA} -> \code{Five} } \section{Methods}{ \subsection{Public methods}{ diff --git a/inst/milne/man/Four.Rd b/inst/milne/man/Four.Rd index 7e1b8a7f..0960b82e 100644 --- a/inst/milne/man/Four.Rd +++ b/inst/milne/man/Four.Rd @@ -10,7 +10,7 @@ Age Four Age Four } \section{Super classes}{ -\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{milne::HardlyThree} +\code{milne::One} -> \code{milne::Two} -> \code{milne::HardlyThree} } \section{Methods}{ \subsection{Public methods}{ diff --git a/inst/milne/man/Six.Rd b/inst/milne/man/Six.Rd index 7b2d4e2f..664c8518 100644 --- a/inst/milne/man/Six.Rd +++ b/inst/milne/man/Six.Rd @@ -10,7 +10,7 @@ Age Six Age Six } \section{Super classes}{ -\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{milne::HardlyThree} -> \code{milne::NA} -> \code{\link[milne:Five]{milne::Five}} -> \code{Six} +\code{milne::One} -> \code{milne::Two} -> \code{milne::HardlyThree} -> \code{milne::NA} -> \code{milne::Five} -> \code{Six} } \section{Methods}{ \subsection{Public methods}{ diff --git a/inst/milne/man/Three.Rd b/inst/milne/man/Three.Rd index 05704c41..08862ffc 100644 --- a/inst/milne/man/Three.Rd +++ b/inst/milne/man/Three.Rd @@ -10,7 +10,7 @@ Age Three Age Three } \section{Super classes}{ -\code{\link[milne:One]{milne::One}} -> \code{\link[milne:Two]{milne::Two}} -> \code{HardlyThree} +\code{milne::One} -> \code{milne::Two} -> \code{HardlyThree} } \section{Methods}{ \subsection{Public methods}{ diff --git a/inst/milne/man/Two.Rd b/inst/milne/man/Two.Rd index 57cfbd7c..f6200d25 100644 --- a/inst/milne/man/Two.Rd +++ b/inst/milne/man/Two.Rd @@ -10,7 +10,7 @@ Age Two Age Two } \section{Super class}{ -\code{\link[milne:One]{milne::One}} -> \code{Two} +\code{milne::One} -> \code{Two} } \section{Methods}{ \subsection{Public methods}{ diff --git a/inst/sartre/DESCRIPTION b/inst/sartre/DESCRIPTION index 5ad411a5..6234b02c 100644 --- a/inst/sartre/DESCRIPTION +++ b/inst/sartre/DESCRIPTION @@ -12,4 +12,3 @@ Description: This package is used to test the functions in `pkgnet`. It's a "no License: file LICENSE LazyData: TRUE RoxygenNote: 7.1.0 -Roxygen: list(r6 = FALSE) diff --git a/inst/silverstein/DESCRIPTION b/inst/silverstein/DESCRIPTION index 856d886c..1a3bb058 100644 --- a/inst/silverstein/DESCRIPTION +++ b/inst/silverstein/DESCRIPTION @@ -12,4 +12,3 @@ LazyData: TRUE RoxygenNote: 7.1.0 Suggests: testthat (>= 2.1.0) -Roxygen: list(r6 = FALSE) From 218a2a3f3c6201ca47844108f2ea4d0131b31893 Mon Sep 17 00:00:00 2001 From: bburns632 Date: Wed, 24 Apr 2024 10:10:30 -0500 Subject: [PATCH 9/9] smoke test apt update on local only --- .github/workflows/smoke-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smoke-tests.yaml b/.github/workflows/smoke-tests.yaml index 60a8e8a5..c129e6c5 100644 --- a/.github/workflows/smoke-tests.yaml +++ b/.github/workflows/smoke-tests.yaml @@ -88,7 +88,7 @@ jobs: if: ${{ (env.ACT || false) }} run: sudo apt update - name: Install Tidy - run: apt update && sudo apt install -y tidy + run: sudo apt install -y tidy - name: Install Deps For Pkgnet & ${{ matrix.test_pkg }} uses: r-lib/actions/setup-r-dependencies@v2 with: