Skip to content

Commit 509652a

Browse files
committed
Testing of internal C++ functions
1 parent fb502c3 commit 509652a

File tree

4 files changed

+167
-0
lines changed

4 files changed

+167
-0
lines changed

NAMESPACE

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,70 @@
33
export(geneSBML)
44
export(is_geneSBML)
55
export(is_memoSaver)
6+
importFrom(Rcpp,sourceCpp)
7+
importFrom(dplyr,all_of)
8+
importFrom(dplyr,arrange)
9+
importFrom(dplyr,as_tibble)
10+
importFrom(dplyr,count)
11+
importFrom(dplyr,filter)
12+
importFrom(dplyr,group_by)
13+
importFrom(dplyr,left_join)
14+
importFrom(dplyr,mutate)
15+
importFrom(dplyr,select)
16+
importFrom(dplyr,summarise)
17+
importFrom(dplyr,tibble)
18+
importFrom(dplyr,top_n)
19+
importFrom(dplyr,ungroup)
20+
importFrom(furrr,furrr_options)
21+
importFrom(furrr,future_map)
22+
importFrom(future,plan)
23+
importFrom(generics,calculate)
24+
importFrom(generics,components)
25+
importFrom(generics,fit)
26+
importFrom(generics,visualize)
27+
importFrom(ggplot2,aes)
28+
importFrom(ggplot2,element_blank)
29+
importFrom(ggplot2,geom_bar)
30+
importFrom(ggplot2,geom_line)
31+
importFrom(ggplot2,geom_point)
32+
importFrom(ggplot2,geom_smooth)
33+
importFrom(ggplot2,geom_vline)
34+
importFrom(ggplot2,ggplot)
35+
importFrom(ggplot2,labs)
36+
importFrom(ggplot2,scale_color_manual)
37+
importFrom(ggplot2,scale_fill_manual)
38+
importFrom(ggplot2,scale_y_discrete)
39+
importFrom(ggplot2,theme)
40+
importFrom(methods,hasArg)
41+
importFrom(methods,slot)
42+
importFrom(purrr,compact)
43+
importFrom(purrr,map)
44+
importFrom(purrr,map2_chr)
45+
importFrom(purrr,map2_dfr)
46+
importFrom(purrr,map_chr)
47+
importFrom(purrr,map_dbl)
48+
importFrom(purrr,map_dfc)
49+
importFrom(purrr,map_lgl)
50+
importFrom(purrr,reduce)
51+
importFrom(purrr,safely)
52+
importFrom(purrr,transpose)
53+
importFrom(rlang,`!!`)
54+
importFrom(rlang,`.data`)
55+
importFrom(rlang,`.env`)
56+
importFrom(rlang,set_names)
57+
importFrom(stats,complete.cases)
58+
importFrom(stats,median)
59+
importFrom(stats,p.adjust)
60+
importFrom(stats,pnorm)
61+
importFrom(stats,qnorm)
62+
importFrom(stats,reorder)
63+
importFrom(stringi,stri_detect)
64+
importFrom(stringi,stri_extract)
65+
importFrom(stringi,stri_extract_all)
66+
importFrom(stringi,stri_replace)
67+
importFrom(stringi,stri_replace_all)
68+
importFrom(stringi,stri_replace_first_fixed)
69+
importFrom(stringi,stri_split)
70+
importFrom(tibble,column_to_rownames)
71+
importFrom(tibble,rownames_to_column)
72+
useDynLib(biggrExtra)

R/imports.R

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Imports
2+
3+
#' @importFrom dplyr filter
4+
#' @importFrom dplyr mutate
5+
#' @importFrom dplyr count
6+
#' @importFrom dplyr tibble
7+
#' @importFrom dplyr select
8+
#' @importFrom dplyr left_join
9+
#' @importFrom dplyr as_tibble
10+
#' @importFrom dplyr group_by
11+
#' @importFrom dplyr summarise
12+
#' @importFrom dplyr arrange
13+
#' @importFrom dplyr top_n
14+
#' @importFrom dplyr ungroup
15+
#' @importFrom dplyr all_of
16+
#'
17+
#' @importFrom tibble rownames_to_column
18+
#' @importFrom tibble column_to_rownames
19+
#'
20+
#' @importFrom purrr map
21+
#' @importFrom purrr compact
22+
#' @importFrom purrr map_chr
23+
#' @importFrom purrr map_dfc
24+
#' @importFrom purrr map_lgl
25+
#' @importFrom purrr map2_dfr
26+
#' @importFrom purrr map2_chr
27+
#' @importFrom purrr safely
28+
#' @importFrom purrr map_dbl
29+
#' @importFrom purrr transpose
30+
#' @importFrom purrr reduce
31+
#'
32+
#' @importFrom ggplot2 ggplot
33+
#' @importFrom ggplot2 aes
34+
#' @importFrom ggplot2 geom_vline
35+
#' @importFrom ggplot2 geom_bar
36+
#' @importFrom ggplot2 scale_fill_manual
37+
#' @importFrom ggplot2 scale_color_manual
38+
#' @importFrom ggplot2 theme
39+
#' @importFrom ggplot2 labs
40+
#' @importFrom ggplot2 scale_y_discrete
41+
#' @importFrom ggplot2 geom_smooth
42+
#' @importFrom ggplot2 geom_point
43+
#' @importFrom ggplot2 geom_line
44+
#' @importFrom ggplot2 element_blank
45+
#'
46+
#' @importFrom rlang set_names
47+
#' @importFrom rlang `.data`
48+
#' @importFrom rlang `.env`
49+
#' @importFrom rlang `!!`
50+
#'
51+
#' @importFrom stringi stri_detect
52+
#' @importFrom stringi stri_replace
53+
#' @importFrom stringi stri_split
54+
#' @importFrom stringi stri_replace_all
55+
#' @importFrom stringi stri_extract
56+
#' @importFrom stringi stri_extract_all
57+
#' @importFrom stringi stri_replace_first_fixed
58+
#'
59+
#' @importFrom generics calculate
60+
#' @importFrom generics components
61+
#' @importFrom generics fit
62+
#' @importFrom generics visualize
63+
#'
64+
#' @importFrom Rcpp sourceCpp
65+
#'
66+
#' @importFrom future plan
67+
#'
68+
#' @importFrom furrr future_map
69+
#' @importFrom furrr furrr_options
70+
#'
71+
#' @importFrom methods slot
72+
#' @importFrom methods hasArg
73+
#'
74+
#' @importFrom stats median
75+
#' @importFrom stats reorder
76+
#' @importFrom stats complete.cases
77+
#' @importFrom stats p.adjust
78+
#' @importFrom stats qnorm
79+
#' @importFrom stats pnorm
80+
#'
81+
#' @useDynLib biggrExtra
82+
83+
NULL

inst/examples/development.R

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Tests during the development
2+
3+
# packages -----
4+
5+
library(tidyverse)
6+
library(rlang)
7+
library(stringi)
8+
9+
library(biggrExtra)
10+
11+
# Testing of internal C++ functions --------
12+
13+
biggrExtra:::bca(1:10)
14+
biggrExtra:::perci(1:10)
15+
16+
biggrExtra:::Median(1:10)
17+
biggrExtra:::vecDraws(1:10, size = 5, n_iter = 10)

src/biggrExtra.dll

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)