noaa-onms / cinms

Channel Islands National Marine Sanctuary
https://noaa-onms.github.io/cinms
MIT License
3 stars 1 forks source link

get oceano working on other machines #38

Closed bbest closed 3 years ago

bbest commented 3 years ago

starting with SST to incorporate new viz per #33

superjai commented 3 years ago

Despite breaking my head on the problem, I am still failing at knitting the "key climate ocean" modal windows. Here is the output, when I attempt to knit key-climate-ocean.Rmd

processing file: key-climate-ocean.Rmd
  |.....                                                                 |   8%
  ordinary text without R code

  |...........                                                           |  15%
label: setup (with options) 
List of 1
 $ include: symbol F

  |................                                                      |  23%
  ordinary text without R code

  |......................                                                |  31%
label: svg (with options) 
List of 1
 $ child: chr "_key-climate-ocean.Rmd"

  |......................................................................| 100%
label: unnamed-chunk-5

processing file: ./_key-climate-ocean.Rmd
── Attaching packages ──────────────────────────────────────────────────────────────────────────── tidyverse 1.3.0 ──
✓ ggplot2 3.3.2     ✓ purrr   0.3.4
✓ tibble  3.0.1     ✓ forcats 0.5.0
── Conflicts ─────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
x glue::collapse() masks dplyr::collapse()
x dplyr::filter()  masks stats::filter()
x dplyr::lag()     masks stats::lag()

Attaching package: 'lubridate'

The following objects are masked from 'package:base':

    date, intersect, setdiff, union

here() starts at /Users/jai/Documents/cinms
Registered S3 method overwritten by 'hoardr':
  method           from
  print.cache_info httr
Loading required package: sp

Attaching package: 'raster'

The following object is masked from 'package:tidyr':

    extract

The following object is masked from 'package:glue':

    trim

The following object is masked from 'package:dplyr':

    select

Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Attaching package: 'xts'

The following object is masked from 'package:leaflet':

    addLegend

The following objects are masked from 'package:dplyr':

    first, last

Linking to GEOS 3.7.2, GDAL 2.4.2, PROJ 5.2.0

Attaching package: 'mapview'

The following object is masked _by_ '.GlobalEnv':

    addMouseCoordinates

The following objects are masked from 'package:leafem':

    addExtent, addFeatures, addHomeButton, addImageQuery, addLogo,
    addMouseCoordinates, addStarsImage, addStaticLabels, garnishMap,
    removeHomeButton, removeMouseCoordinates

Parsed with column specification:
cols(
  sp = col_character(),
  sp_target = col_character(),
  sp_name = col_character(),
  info_id = col_character()
)
Parsed with column specification:
cols(
  nms = col_character(),
  region = col_character(),
  site = col_character()
)
Parsed with column specification:
cols(
  id = col_character(),
  lon = col_double(),
  lat = col_double()
)

  |...........................                                           |  38%
   inline R code fragments

  |................................                                      |  46%
label: unnamed-chunk-1
Parsed with column specification:
cols(
  .default = col_logical(),
  modal = col_character(),
  url_info = col_character(),
  url_photo = col_character(),
  tagline = col_character()
)
See spec(...) for full column specifications.
  |......................................                                |  54%
   inline R code fragments

  |...........................................                           |  62%
label: unnamed-chunk-2

Parsed with column specification:
cols(
  Year = col_double(),
  Month = col_double(),
  Average_SST = col_double(),
  Standard_Deviation_SST = col_double()
)
Quitting from lines 58-64 (key-climate-ocean.Rmd) 
Error: arrange() failed at implicit mutate() step. 
x Could not create a temporary column for `..1`.
ℹ `..1` is `date`.
Backtrace:
     █
  1. ├─rmarkdown::render(...)
  2. │ └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  3. │   └─knitr:::process_file(text, output)
  4. │     ├─base::withCallingHandlers(...)
  5. │     ├─knitr:::process_group(group)
  6. │     └─knitr:::process_group.block(group)
  7. │       └─knitr:::call_block(x)
  8. │         └─knitr:::block_exec(params)
  9. │           ├─knitr:::in_dir(...)
 10. │           └─knitr:::evaluate(...)
 11. │             └─evaluate::evaluate(...)
 12. │               └─evaluate:::evaluate_call(...)
 13. │                 ├─evaluate:::timing_fn(...)
 14. │                 ├─base:::handle(...)
 15. │                 ├─base::withCallingHandlers(...)
 16. │                 ├─base::withVisible(eval(expr, envir, enclos
In addition: Warning message:
Missing column names filled in: 'X5' [5], 'X6' [6], 'X7' [7], 'X8' [8], 'X9' [9], 'X10' [10], 'X11' [11], 'X12' [12], 'X13' [13], 'X14' [14], 'X15' [15], 'X16' [16], 'X17' [17], 'X18' [18], 'X19' [19], 'X20' [20], 'X21' [21], 'X22' [22], 'X23' [23], 'X24' [24], 'X25' [25], 'X26' [26] 
Execution halted
bbest commented 3 years ago

@superjai got this going@!