Skip to content

Commit 97fdade

Browse files
authored
Merge pull request #35 from KKulma/dev
Fix CRAN issues
2 parents 6e4325c + 66e1012 commit 97fdade

File tree

6 files changed

+209
-118
lines changed

6 files changed

+209
-118
lines changed

.github/workflows/scheduled-R-CMD-check.yaml renamed to .github/workflows/R-CMD-check-dev.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
22
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
33
on:
4-
schedule:
5-
- cron: "0 6 * * *"
4+
push:
5+
branches:
6+
- dev
7+
pull_request:
8+
branches:
9+
- dev
10+
11+
name: R-CMD-check-dev
612

713
jobs:
8-
R-CMD-check:
14+
R-CMD-check-dev:
15+
916
runs-on: ${{ matrix.config.os }}
1017

1118
name: ${{ matrix.config.os }} (${{ matrix.config.r }})

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: intensegRid
22
Type: Package
33
Title: R Wrapper for the Carbon Intensity API
4-
Version: 0.1.1
4+
Version: 0.1.2
55
Author: Kasia Kulma <katarzyna.kulma@gmail.com>
66
Maintainer: Kasia Kulma <katarzyna.kulma@gmail.com>
77
Description: Electricity is not made equal and it vary in its carbon footprint (or carbon intensity)
@@ -13,7 +13,7 @@ Encoding: UTF-8
1313
LazyData: TRUE
1414
URL: https://github.com/KKulma/intensegRid, https://kkulma.github.io/intensegRid/articles/intro-to-carbon-intensity.html
1515
BugReports: https://github.com/KKulma/intensegRid/issues
16-
RoxygenNote: 7.1.1
16+
RoxygenNote: 7.2.1
1717
Depends:
1818
R (>= 2.10)
1919
Imports:

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ export(get_postcode_ci)
99
export(get_regional_ci)
1010
export(get_stats)
1111
importFrom(magrittr,"%>%")
12-
importFrom(rlang,.data)
12+
importFrom(purrr,map)

R/intensity.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#' @return a data.frame with 1/2-hourly carbon intensity data for specified time period
77
#' @export
88
#' @importFrom rlang .data
9+
#' @importFrom purrr map
910
#'
1011
#' @examples \dontrun{
1112
#' get_british_ci()

0 commit comments

Comments
 (0)