Skip to content

Commit

Permalink
ci: test new
Browse files Browse the repository at this point in the history
  • Loading branch information
rCarto committed Nov 9, 2023
1 parent 868bb54 commit 03da8f9
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 358 deletions.
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Imports:
classInt,
graphics,
maplegend,
Rcpp,
sf,
stats,
utils,
Expand All @@ -43,7 +42,6 @@ Suggests:
rmarkdown,
tinytest,
covr
LinkingTo: Rcpp
Encoding: UTF-8
RoxygenNote: 7.2.3
VignetteBuilder: knitr
Expand Down
3 changes: 0 additions & 3 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export(mf_graticule)
export(mf_init)
export(mf_inset_off)
export(mf_inset_on)
export(mf_label)
export(mf_layout)
export(mf_legend)
export(mf_legend_c)
Expand All @@ -42,7 +41,6 @@ export(mf_title)
export(mf_typo)
import(graphics)
import(sf)
importFrom(Rcpp,evalCpp)
importFrom(grDevices,colorRampPalette)
importFrom(grDevices,dev.list)
importFrom(grDevices,hcl.colors)
Expand Down Expand Up @@ -70,4 +68,3 @@ importFrom(stats,quantile)
importFrom(stats,runif)
importFrom(stats,sd)
importFrom(utils,globalVariables)
useDynLib(mapsf,.registration = TRUE)
7 changes: 0 additions & 7 deletions R/RcppExports.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/mf_annotation.R
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ mf_annotation <- function(x, txt, pos = "topright",
lwd = 1.2
)
if (halo) {
shadowtext(
text(
x = res$x_txt,
y = res$y_txt,
labels = txt, col = col_txt, bg = bg,
Expand Down
91 changes: 0 additions & 91 deletions R/mf_label.R

This file was deleted.

89 changes: 0 additions & 89 deletions R/mf_labels_utils.R

This file was deleted.

5 changes: 1 addition & 4 deletions R/mf_pkg_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
#' @importFrom stats aggregate median na.omit quantile runif sd


# Rcpp stuff
#' @useDynLib mapsf,.registration = TRUE
#' @importFrom Rcpp evalCpp
NULL


#' @importFrom utils globalVariables
.gmapsf <- new.env(parent = emptyenv())
Expand Down
1 change: 0 additions & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#' @section Symbology:
#' These functions display cartographic layers.
#' - [mf_map()] Plot a map
#' - [mf_label()] Plot labels
#' - [mf_raster()] Plot a raster
#' - [mf_graticule()] Plot graticules
#'
Expand Down
7 changes: 0 additions & 7 deletions inst/tinytest/test_label.R
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
mtq <- mf_get_mtq()
mf_map(mtq)
expect_silent(mf_label(x = mtq, var = "LIBGEO", halo = TRUE, cex = 0.8,
overlap = FALSE, lines = TRUE))
expect_silent(mf_label(x = mtq, var = "LIBGEO", halo = TRUE,
cex = 0.8, col = sample(1:5, nrow(mtq), replace = TRUE),
overlap = FALSE, lines = TRUE))
1 change: 0 additions & 1 deletion man/mapsf.Rd

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

57 changes: 0 additions & 57 deletions man/mf_label.Rd

This file was deleted.

3 changes: 0 additions & 3 deletions src/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions src/RcppExports.cpp

This file was deleted.

22 changes: 0 additions & 22 deletions src/init.c

This file was deleted.

Loading

0 comments on commit 03da8f9

Please sign in to comment.