Skip to content

Commit cc2d0c4

Browse files
committed
CRAN bump 4.0.1
1 parent 2688a40 commit cc2d0c4

8 files changed

+40
-135
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Package: blscrapeR
22
Type: Package
33
Title: An API Wrapper for the United States Bureau of Labor Statistics
4-
Version: 4.0.0
4+
Version: 4.0.1
55
Authors@R: person("Kris", "Eberwein", email = "kris.eberwein@gmail.com",
66
role = c("aut", "cre"))
7-
Description: Scrapes various data from United States Bureau of Labor Statistics. The Bureau of Labor Statistics is the statistical branch of the United States Department of Labor. The package has additional functions to help parse, analyze and visualize the data.
7+
Description: Scrapes various data from <https://www.bls.gov/>. The Bureau of Labor Statistics is the statistical branch of the United States Department of Labor. The package has additional functions to help parse, analyze and visualize the data.
88
Depends: R (>= 3.5.0)
99
Imports:
1010
httr,

NAMESPACE

-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export(quick_nonfarm_employed)
1515
export(quick_unemp_level)
1616
export(quick_unemp_rate)
1717
export(search_ids)
18-
export(set_bls_key)
1918
export(urlExists)
2019
importFrom(dplyr,arrange)
2120
importFrom(dplyr,filter)
@@ -38,5 +37,3 @@ importFrom(stringr,str_to_title)
3837
importFrom(stringr,str_trim)
3938
importFrom(tibble,as_tibble)
4039
importFrom(utils,capture.output)
41-
importFrom(utils,read.table)
42-
importFrom(utils,write.table)

NEWS.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# blscrapeR 4.0.1
2+
3+
## Bug Fixes
4+
5+
* Added the API address to the Description file.
6+
7+
* Removed the `set_bls_key()` function to remain in compliance with CRAN policies.
8+
19
# blscrapeR 4.0.0
210

311
## Bug Fixes

R/set_bls_key.R

-66
This file was deleted.

README.md

-19
Original file line numberDiff line numberDiff line change
@@ -95,25 +95,6 @@ You should consider [getting an API key](http://data.bls.gov/registrationEngine/
9595
| Optional annual averages | Yes | No |
9696
| Series descriptions | Yes | No |
9797

98-
### Key Install
99-
100-
``` r
101-
library(blscrapeR)
102-
set_bls_key("YOUR_KEY_IN_QUOTATIONS")
103-
# First time, reload your enviornment so you can use the key without restarting R.
104-
readRenviron("~/.Renviron")
105-
# You can check it with:
106-
Sys.getenv("BLS_KEY")
107-
```
108-
109-
Note: The above script will add a line to your `.Renviron` file to be re-used when ever you are in the package. If you are not comfortable with that, you can add the following line to your `.Renviron` file manually to produce the same result.
110-
111-
`BLS_KEY='YOUR_KEY_IN_SINGLE_QUOTES'`
112-
113-
Advanced Usage
114-
--------------
115-
116-
Now that you have an API key installed, you can call your key in the package’s function arguments with `"BLS_KEY"`. Don't forget the quotes! If you just HAVE to have your key hard-coded in your scripts, you can also pass they key as a string.
11798

11899
### Download Multiple BLS Series at Once
119100

cran-comments.md

+29-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## Resubmission
2+
Corrected two items of concern by CRAN review.
3+
4+
* Added the API address to the Description file.
5+
6+
* Removed the `set_bls_key()` function to remain in compliance with CRAN policies regarding writing files to user space. Also, removed any mention of the function from documentation and vignettes.
7+
8+
19
## Test environments
210
* local Fedora 33, R 4.05
311
* win-latest (devel)
@@ -7,6 +15,25 @@
715

816
## R CMD check results
917

10-
0 errors | 0 warnings | 1 note
18+
0 errors | 0 warnings | 2 notes
19+
20+
## Notes:
21+
CRAN repository db overrides:
22+
X-CRAN-Comment: Archived on 2023-02-07 for repeated policy violation.
23+
24+
* This package was previously archived due to CRAN violations, which have all been fixed. The violations regarded bad URL links in documentation and vignettes.
25+
26+
27+
Found the following (possibly) invalid URLs:
28+
URL: https://www.bls.gov/
29+
From: DESCRIPTION
30+
Status: 403
31+
Message: Forbidden
32+
33+
* The following note was generated when I added the BLS url to the DESCRIPTION file as requested by CRAN reviewer. The url is valid.
34+
35+
36+
37+
38+
1139

12-
* This is a new release.

man/firstupper.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/set_bls_key.Rd

-42
This file was deleted.

0 commit comments

Comments
 (0)