Skip to content

Commit b947b96

Browse files
committedSep 12, 2023
packageStartupMessage
1 parent 1d77e40 commit b947b96

File tree

7 files changed

+34
-14
lines changed

7 files changed

+34
-14
lines changed
 

‎R/onload.R

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.onAttach <- function(libname, pkgname) {
2+
packageStartupMessage('Welcome to bulkreadr package! To learn more, please run:\nvignette("bulkreadr")')
3+
}

‎README.Rmd

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ options(tibble.print_min = 5, tibble.print_max = 5)
1818

1919
# bulkreadr <a><img src='man/figures/logo.png' align="right" height="138.5" /></a>
2020

21+
< The Ultimate Tool for Reading Data in Bulk
22+
2123
<!-- badges: start -->
2224
[![R-CMD-check](https://github.com/gbganalyst/bulkreadr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/gbganalyst/bulkreadr/actions/workflows/R-CMD-check.yaml)
2325
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/bulkreadr)](https://cran.r-project.org/package=bulkreadr)
@@ -74,7 +76,7 @@ This section provides a concise overview of the different functions available in
7476

7577
**Note:**
7678

77-
For the majority of functions within this package, we will utilize data stored in the system file by the `bulkreadr`, which can be accessed using the `system.file()` function. If you wish to utilize your own data stored in your local directory, please ensure that you have set the appropriate file path prior to using any functions provided by the bulkreadr package.
79+
> For the majority of functions within this package, we will utilize data stored in the system file by the `bulkreadr`, which can be accessed using the `system.file()` function. If you wish to utilize your own data stored in your local directory, please ensure that you have set the appropriate file path prior to using any functions provided by the bulkreadr package.
7880
7981

8082
## `read_excel_workbook()`

‎README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
# bulkreadr <a><img src='man/figures/logo.png' align="right" height="138.5" /></a>
55

6+
\< The Ultimate Tool for Reading Data in Bulk
7+
68
<!-- badges: start -->
79

810
[![R-CMD-check](https://github.com/gbganalyst/bulkreadr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/gbganalyst/bulkreadr/actions/workflows/R-CMD-check.yaml)
@@ -71,12 +73,12 @@ purposes and are designed to handle importing of data in bulk.
7173

7274
**Note:**
7375

74-
For the majority of functions within this package, we will utilize data
75-
stored in the system file by the `bulkreadr`, which can be accessed
76-
using the `system.file()` function. If you wish to utilize your own data
77-
stored in your local directory, please ensure that you have set the
78-
appropriate file path prior to using any functions provided by the
79-
bulkreadr package.
76+
> For the majority of functions within this package, we will utilize
77+
> data stored in the system file by the `bulkreadr`, which can be
78+
> accessed using the `system.file()` function. If you wish to utilize
79+
> your own data stored in your local directory, please ensure that you
80+
> have set the appropriate file path prior to using any functions
81+
> provided by the bulkreadr package.
8082
8183
## `read_excel_workbook()`
8284

@@ -233,7 +235,7 @@ convert_to_date(dates)
233235
# It can also convert date time object to date object
234236

235237
convert_to_date(lubridate::now())
236-
#> [1] "2023-09-11"
238+
#> [1] "2023-09-12"
237239
```
238240

239241
## `inspect_na()`

‎cran-comments.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
In this resubmission I have:
1+
## New version
22

3-
- used undirected single quotation marks in the description e.g. "bulreadr" --> 'bulkreadr' and Microsoft Excel --> 'Microsoft Excel'
3+
This is a new version submission. In this version we:
44

5-
- added \value to .Rd files and explained the functions results in the documentation for aliases.Rd and pipe.Rd.
5+
- Developed bulkreadr vignette.
66

7-
## R CMD check results
7+
- Added more unit tests
88

9+
## R CMD check results
910
0 errors | 0 warnings | 0 notes
11+

‎tests/testthat/test-aliases.R

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
test_that("pull_out() extract or replace parts of an object", {
2+
3+
train <- good_choice <- letters %>%
4+
pull_out(c(5, 2, 1, 4))
5+
6+
test <- c("e", "b", "a", "d")
7+
8+
expect_equal(train, test)
9+
})
10+
11+

‎vignettes/bulkreadr.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Introduction to bulkreadr package"
33
output: rmarkdown::html_vignette
4-
author: "Ezekiel Ogundepo"
4+
author: "Ezekiel Ogundepo and Ernest Fokoué"
55
vignette: >
66
%\VignetteIndexEntry{bulkreadr}
77
%\VignetteEngine{knitr::rmarkdown}
@@ -69,7 +69,7 @@ This section provides a concise overview of the different functions available in
6969
- [`read_gsheets()`](#read_gsheets)
7070

7171

72-
## Other functions in `bulkreadr` package:
72+
## Other functions in bulkreadr package:
7373

7474
- [`pull_out()`](#pull_out)
7575

‎vignettes/logo.png

-147 KB
Binary file not shown.

0 commit comments

Comments
 (0)