Skip to content

Commit

Permalink
Merge pull request #129 from Rafnuss/dev
Browse files Browse the repository at this point in the history
fix missing dependancy
  • Loading branch information
Rafnuss authored Jan 16, 2025
2 parents 231d371 + 3a4fbc5 commit 0a8eb93
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 37 deletions.
82 changes: 46 additions & 36 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ references:
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
year: '2025'
version: '>= 4.1.0'
- type: software
title: cli
Expand All @@ -146,7 +146,7 @@ references:
- family-names: Csárdi
given-names: Gábor
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.cli
- type: software
title: config
Expand All @@ -158,7 +158,7 @@ references:
- family-names: Allaire
given-names: JJ
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.config
- type: software
title: ecmwfr
Expand All @@ -171,7 +171,7 @@ references:
given-names: Koen
email: [email protected]
orcid: https://orcid.org/0000-0002-5070-8109
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.ecmwfr
version: '>= 2.0.0'
- type: software
Expand All @@ -195,7 +195,7 @@ references:
given-names: with contributions from Joseph
- family-names: Marais
given-names: Philip A.
year: '2024'
year: '2025'
doi: 10.18129/B9.bioc.EBImage
- type: software
title: future
Expand All @@ -208,7 +208,7 @@ references:
given-names: Henrik
email: [email protected]
orcid: https://orcid.org/0000-0002-7579-5165
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.future
- type: software
title: geosphere
Expand All @@ -220,7 +220,7 @@ references:
- family-names: Hijmans
given-names: Robert J.
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.geosphere
- type: software
title: ggplot2
Expand Down Expand Up @@ -260,7 +260,7 @@ references:
given-names: Teun
name-particle: van den
orcid: https://orcid.org/0000-0002-9335-7468
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.ggplot2
- type: software
title: glue
Expand All @@ -276,8 +276,18 @@ references:
given-names: Jennifer
email: [email protected]
orcid: https://orcid.org/0000-0002-6983-2759
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.glue
- type: software
title: graphics
abstract: 'R: A Language and Environment for Statistical Computing'
notes: Imports
authors:
- name: R Core Team
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2025'
- type: software
title: httr2
abstract: 'httr2: Perform HTTP Requests and Process the Responses'
Expand All @@ -288,7 +298,7 @@ references:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.httr2
version: '>= 1.0.0'
- type: software
Expand All @@ -302,7 +312,7 @@ references:
given-names: Jeroen
email: [email protected]
orcid: https://orcid.org/0000-0002-4035-0289
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.jsonlite
- type: software
title: leaflet
Expand All @@ -323,7 +333,7 @@ references:
given-names: Bhaskar
- family-names: Xie
given-names: Yihui
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.leaflet
version: '>= 2.2.0'
- type: software
Expand All @@ -340,7 +350,7 @@ references:
given-names: Hadley
email: [email protected]
orcid: https://orcid.org/0000-0003-4757-117X
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.lifecycle
- type: software
title: Matrix
Expand All @@ -359,7 +369,7 @@ references:
- family-names: Jagan
given-names: Mikael
orcid: https://orcid.org/0000-0002-3542-2938
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.Matrix
- type: software
title: methods
Expand All @@ -370,7 +380,7 @@ references:
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
year: '2025'
- type: software
title: ncdf4
abstract: 'ncdf4: Interface to Unidata netCDF (Version 4 or Earlier) Format Data
Expand All @@ -383,7 +393,7 @@ references:
given-names: David
email: [email protected]
orcid: https://orcid.org/0000-0002-2453-9030
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.ncdf4
- type: software
title: plotly
Expand Down Expand Up @@ -415,7 +425,7 @@ references:
- family-names: Despouy
given-names: Pedro
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.plotly
- type: software
title: pracma
Expand All @@ -426,7 +436,7 @@ references:
- family-names: Borchers
given-names: Hans W.
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.pracma
- type: software
title: RColorBrewer
Expand All @@ -437,7 +447,7 @@ references:
- family-names: Neuwirth
given-names: Erich
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.RColorBrewer
- type: software
title: stats
Expand All @@ -448,7 +458,7 @@ references:
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
year: '2025'
- type: software
title: suntools
abstract: 'suntools: Calculate Sun Position, Sunrise, Sunset, Solar Noon and Twilight'
Expand All @@ -462,7 +472,7 @@ references:
orcid: https://orcid.org/0000-0003-2392-6140
- family-names: Luque
given-names: Sebastian
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.suntools
- type: software
title: terra
Expand All @@ -475,7 +485,7 @@ references:
given-names: Robert J.
email: [email protected]
orcid: https://orcid.org/0000-0001-5872-2872
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.terra
- type: software
title: utils
Expand All @@ -486,7 +496,7 @@ references:
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
year: '2025'
- type: software
title: assertthat
abstract: 'assertthat: Easy Pre and Post Assertions'
Expand All @@ -496,7 +506,7 @@ references:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.assertthat
- type: software
title: BiocManager
Expand All @@ -513,7 +523,7 @@ references:
given-names: Marcel
email: [email protected]
orcid: https://orcid.org/0000-0002-3242-0582
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.BiocManager
- type: software
title: covr
Expand All @@ -525,7 +535,7 @@ references:
- family-names: Hester
given-names: Jim
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.covr
- type: software
title: knitr
Expand All @@ -538,7 +548,7 @@ references:
given-names: Yihui
email: [email protected]
orcid: https://orcid.org/0000-0003-0645-5666
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.knitr
- type: software
title: leaflet.extras
Expand All @@ -556,7 +566,7 @@ references:
- family-names: Schloerke
given-names: Barret
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.leaflet.extras
- type: software
title: leaflet.providers
Expand All @@ -568,7 +578,7 @@ references:
- family-names: Huang
given-names: Leslie
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.leaflet.providers
- type: software
title: maps
Expand All @@ -583,7 +593,7 @@ references:
P
- family-names: Deckmyn.
given-names: Alex
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.maps
- type: software
title: readxl
Expand All @@ -600,7 +610,7 @@ references:
given-names: Jennifer
email: [email protected]
orcid: https://orcid.org/0000-0002-6983-2759
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.readxl
- type: software
title: shiny
Expand Down Expand Up @@ -639,7 +649,7 @@ references:
given-names: Alan
- family-names: Borges
given-names: Barbara
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.shiny
- type: software
title: shinyjs
Expand All @@ -652,7 +662,7 @@ references:
given-names: Dean
email: [email protected]
orcid: https://orcid.org/0000-0002-5645-3493
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.shinyjs
- type: software
title: shinyWidgets
Expand All @@ -668,7 +678,7 @@ references:
given-names: Fanny
- family-names: Granjon
given-names: David
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.shinyWidgets
- type: software
title: testthat
Expand All @@ -680,7 +690,7 @@ references:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.testthat
version: '>= 3.0.0'
- type: software
Expand All @@ -706,6 +716,6 @@ references:
email: [email protected]
- family-names: Chang
given-names: Winston
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.withr

1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Imports:
geosphere,
ggplot2,
glue,
graphics,
httr2 (>= 1.0.0),
jsonlite,
leaflet (>= 2.2.0),
Expand Down
2 changes: 1 addition & 1 deletion R/geolight_map.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ geolight_map <- function(tag,
twl_calib <- stats::density(z_calib, adjust = twl_calib_adjust, from = 60, to = 120)

# Compute the histogram
hist_vals <- hist(z_calib, plot = FALSE)
hist_vals <- graphics::hist(z_calib, plot = FALSE)
twl_calib$hist_count <- hist_vals$density * length(z_calib)
twl_calib$hist_mids <- hist_vals$mids

Expand Down

0 comments on commit 0a8eb93

Please sign in to comment.