Skip to content

Commit

Permalink
Merge pull request #35 from KKulma/dev
Browse files Browse the repository at this point in the history
Fix CRAN issues
  • Loading branch information
KKulma authored Oct 18, 2022
2 parents 6e4325c + 66e1012 commit 97fdade
Show file tree
Hide file tree
Showing 6 changed files with 209 additions and 118 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
schedule:
- cron: "0 6 * * *"
push:
branches:
- dev
pull_request:
branches:
- dev

name: R-CMD-check-dev

jobs:
R-CMD-check:
R-CMD-check-dev:

runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: intensegRid
Type: Package
Title: R Wrapper for the Carbon Intensity API
Version: 0.1.1
Version: 0.1.2
Author: Kasia Kulma <[email protected]>
Maintainer: Kasia Kulma <[email protected]>
Description: Electricity is not made equal and it vary in its carbon footprint (or carbon intensity)
Expand All @@ -13,7 +13,7 @@ Encoding: UTF-8
LazyData: TRUE
URL: https://github.com/KKulma/intensegRid, https://kkulma.github.io/intensegRid/articles/intro-to-carbon-intensity.html
BugReports: https://github.com/KKulma/intensegRid/issues
RoxygenNote: 7.1.1
RoxygenNote: 7.2.1
Depends:
R (>= 2.10)
Imports:
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export(get_postcode_ci)
export(get_regional_ci)
export(get_stats)
importFrom(magrittr,"%>%")
importFrom(rlang,.data)
importFrom(purrr,map)
1 change: 1 addition & 0 deletions R/intensity.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#' @return a data.frame with 1/2-hourly carbon intensity data for specified time period
#' @export
#' @importFrom rlang .data
#' @importFrom purrr map
#'
#' @examples \dontrun{
#' get_british_ci()
Expand Down
Loading

0 comments on commit 97fdade

Please sign in to comment.