Skip to content

Commit

Permalink
Handling non assic code characters
Browse files Browse the repository at this point in the history
  • Loading branch information
zoushucai committed Feb 21, 2024
1 parent af07369 commit d3b4161
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 28 deletions.
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ Package: journalabbr
Type: Package
Title: Journal Abbreviations for BibTeX Documents
Version: 0.4.3
Authors@R: c(person("ShuCai Zou",email = "[email protected]",role =c("aut","cre")),
person("Yu Chen", email = "[email protected]", role =c("aut")))
Authors@R: c(
person("ShuCai Zou",role =c("aut","cre"), email = "[email protected]"),
person("Yu Chen", role ="aut", email = "[email protected]")
)
Description: Since the reference management software (such as 'Zotero', 'Mendeley') exports Bib file journal abbreviation is not detailed enough, the 'journalabbr' package only abbreviates the journal field of Bib file, and then outputs a new Bib file for generating reference format with journal abbreviation on other software (such as 'texstudio'). The abbreviation table is from 'JabRef'. At the same time, 'Shiny' application is provided to generate 'thebibliography', a reference format that can be directly used for latex paper writing based on 'Rmd' files.
License: GPL (>= 3)
URL: https://github.com/zoushucai/journalabbr
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@

- Update rda, run: `wget https://github.com/zoushucai/journalmerge/raw/main/R/sysdata.rda -O ./R/sysdata.rda`

- Delete `roxytest` package
- Delete `roxytest` and `badger` package

- Suggest R version>=4.3.2

- Update the branch from master to main.



# journalabbr 0.4.2

The built-in dataset was updated, the journal abbreviations for [this site](https://woodward.library.ubc.ca/woodward/research-help/journal-abbreviations/#jatop) were added, and the highest weights were set.
Expand Down
19 changes: 7 additions & 12 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,19 @@ knitr::opts_chunk$set(
)
```

```{r echo=FALSE, results="hide", message=FALSE}
library("badger")
```

# journalabbr

<!-- badges: start -->
```{r, echo = FALSE, results='asis'}
cat(
badge_cran_checks("journalabbr"),
badge_cran_download("journalabbr", "grand-total", "green"),
badge_license(),
badge_github_actions()
)
```
[![Codecov test coverage](https://codecov.io/gh/zoushucai/journalabbr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/zoushucai/journalabbr?branch=master)
[![CRAN status](https://www.r-pkg.org/badges/version/journalabbr)](https://CRAN.R-project.org/package=journalabbr)
![r-universe](https://fastverse.r-universe.dev/badges/journalabbr)
[![downloads](http://cranlogs.r-pkg.org/badges/grand-total/journalabbr?color=blue)](https://cran.r-project.org/package=journalabbr)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/last-month/journalabbr?color=blue)](https://github.com/zoushucai/journalabbr)
[![R build status](https://github.com/zoushucai/journalabbr/workflows/R-CMD-check/badge.svg)](https://github.com/zoushucai/journalabbr/actions)
[![Codecov test coverage](https://codecov.io/gh/zoushucai/journalabbr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/zoushucai/journalabbr?branch=main)
[![CRAN status](https://www.r-pkg.org/badges/version/journalabbr)](https://CRAN.R-project.org/package=journalabbr)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![License: GPL](https://img.shields.io/badge/license-GPL-blue.svg)](https://cran.r-project.org/web/licenses/GPL)
<!-- badges: end -->

## Function
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@
<!-- badges: start -->

[![CRAN
checks](https://badges.cranchecks.info/summary/journalabbr.svg)](https://cran.r-project.org/web/checks/check_results_journalabbr.html)
[![](http://cranlogs.r-pkg.org/badges/grand-total/journalabbr?color=green)](https://cran.r-project.org/package=journalabbr)
[![License: GPL (\>=
3)](https://img.shields.io/badge/license-GPL%20(%3E=%203)-blue.svg)](https://cran.r-project.org/web/licenses/GPL%20(%3E=%203))
status](https://www.r-pkg.org/badges/version/journalabbr)](https://CRAN.R-project.org/package=journalabbr)
![r-universe](https://fastverse.r-universe.dev/badges/journalabbr)
[![downloads](http://cranlogs.r-pkg.org/badges/grand-total/journalabbr?color=blue)](https://cran.r-project.org/package=journalabbr)
[![CRAN RStudio mirror
downloads](https://cranlogs.r-pkg.org/badges/last-month/journalabbr?color=blue)](https://github.com/zoushucai/journalabbr)
[![R build
status](https://github.com/zoushucai/journalabbr/workflows/R-CMD-check/badge.svg)](https://github.com/zoushucai/journalabbr/actions)
[![Codecov test
coverage](https://codecov.io/gh/zoushucai/journalabbr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/zoushucai/journalabbr?branch=master)
coverage](https://codecov.io/gh/zoushucai/journalabbr/branch/master/graph/badge.svg)](https://app.codecov.io/gh/zoushucai/journalabbr?branch=main)
[![CRAN
status](https://www.r-pkg.org/badges/version/journalabbr)](https://CRAN.R-project.org/package=journalabbr)
[![Lifecycle:
stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![License:
GPL](https://img.shields.io/badge/license-GPL-blue.svg)](https://cran.r-project.org/web/licenses/GPL)
<!-- badges: end -->

## Function
Expand Down
6 changes: 0 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@

There were no ERRORs, WARNINGs and Notes.

There is one NOTE that is only found on Windows (Server 2022, R-devel 64-bit):
```
* checking for detritus in the temp directory ... NOTE
Found the following files/directories:
'lastMiKTeXException'
```

* This is a new release.

Expand Down
4 changes: 2 additions & 2 deletions devtools_history.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ rm(list=ls())
load_all()
devtools::install()

document()
devtools::document()
devtools::check(args = c('--as-cran'))
devtools::check_rhub()

Expand Down Expand Up @@ -117,7 +117,7 @@ use_cran_badge()
use_lifecycle_badge("stable")
use_lifecycle()

# add test code
# add test code
use_test("add_abbrtable.R")
use_test("read_bib2dt")
use_test("replace_field.R")
Expand Down

0 comments on commit d3b4161

Please sign in to comment.