Skip to content

Commit

Permalink
Fixing CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mhesselbarth committed Mar 28, 2022
1 parent bbd0379 commit 9441120
Show file tree
Hide file tree
Showing 17 changed files with 269 additions and 113 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Depends:
URL: https://docs.ropensci.org/landscapetools/
BugReports: https://github.com/ropensci/landscapetools/issues
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.0
RoxygenNote: 7.1.2
Imports:
ggplot2,
raster,
Expand Down
2 changes: 1 addition & 1 deletion R/show_shareplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' from `buffer_width` to `max_width`, with increases of `buffer_width`.
#' @param max_width Max distance to which buffer_width is summed up; the x axis in the plot
#' @param multibuffer_df `data.frame` with landscape share or a function from it already extracted, such as
#' through the [landscapetools::util_extract_buffer()] function. If given, the other arguments
#' through the [landscapetools::util_extract_multibuffer()] function. If given, the other arguments
#' (`landscape`, `points`, `buffer_width`, `max_width`) are ignored. Default is NULL.
#' @param return_df Logical value indicating if a tibble with the underlying data should be returned
#'
Expand Down
1 change: 1 addition & 0 deletions R/util_extract_multibuffer.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#' @param fun Function to apply to raster values within the buffer (e.g. "median", "mean").
#' @param point_id_text Logical. If `TRUE`, the string "Point ID:" is added to the first column
#' of the output.
#' @param ... Arguments passed on to [raster::extract()].
#'
#' @return A tibble with the frequency of each raster value within the buffers of different sizes
#' around each point. Alternatively, a tibble with the relative frequency of raster values, if `rel_freq = TRUE`,
Expand Down
6 changes: 5 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ output:
github_document:
html_preview: false
---

<!-- badges: start -->

[![R-CMD-check](https://github.com/ropensci/landscapetools/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/landscapetools/actions)
<!-- badges: end -->
[![codecov](https://codecov.io/gh/ropensci/landscapetools/branch/develop/graph/badge.svg)](https://codecov.io/gh/ropensci/landscapetools)
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
[![CRAN status](https://www.r-pkg.org/badges/version/landscapetools)](https://cran.r-project.org/package=landscapetools)
[![](http://cranlogs.r-pkg.org/badges/grand-total/landscapetools)](http://cran.rstudio.com/web/packages/landscapetools/index.html)
[![](https://badges.ropensci.org/188_status.svg)](https://github.com/ropensci/onboarding/issues/188)
[![DOI:10.1111/2041-210X.13076](https://zenodo.org/badge/DOI/10.1111/2041-210X.13076.svg)](https://doi.org/10.1111/2041-210X.13076)

<!-- badges: end -->

```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion landscapetools.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageCheckArgs: --as-cran
PackageRoxygenize: rd,collate,namespace
PackageRoxygenize: rd,collate,namespace,vignette
4 changes: 3 additions & 1 deletion man/classified_landscape.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/fractal_landscape.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/gradient_landscape.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 5 additions & 7 deletions man/landscapetools-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/random_landscape.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 34 additions & 14 deletions man/show_landscape.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/show_shareplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9441120

Please sign in to comment.