mirror of
https://github.com/msberends/AMR.git
synced 2025-01-15 22:41:38 +01:00
fixes
This commit is contained in:
parent
626757646b
commit
dfdd7a0968
3
.github/prehooks/pre-commit
vendored
3
.github/prehooks/pre-commit
vendored
@ -7,10 +7,11 @@ if command -v Rscript > /dev/null; then
|
|||||||
if [ "$(Rscript -e 'cat(all(c('"'pkgload'"', '"'devtools'"', '"'dplyr'"', '"'styler'"') %in% rownames(installed.packages())))')" = "TRUE" ]; then
|
if [ "$(Rscript -e 'cat(all(c('"'pkgload'"', '"'devtools'"', '"'dplyr'"', '"'styler'"') %in% rownames(installed.packages())))')" = "TRUE" ]; then
|
||||||
Rscript -e "source('data-raw/_pre_commit_hook.R')"
|
Rscript -e "source('data-raw/_pre_commit_hook.R')"
|
||||||
currentpkg=`Rscript -e "cat(pkgload::pkg_name())"`
|
currentpkg=`Rscript -e "cat(pkgload::pkg_name())"`
|
||||||
echo "-> Adding 'R/sysdata.rda' and all files in folders 'data-raw' and 'man' to this commit"
|
echo "-> Adding all files in 'data-raw' to this commit"
|
||||||
git add data-raw/*
|
git add data-raw/*
|
||||||
git add man/*
|
git add man/*
|
||||||
git add R/sysdata.rda
|
git add R/sysdata.rda
|
||||||
|
git add NAMESPACE
|
||||||
else
|
else
|
||||||
echo "- R package 'pkgload', 'devtools', 'dplyr', or 'styler' not installed!"
|
echo "- R package 'pkgload', 'devtools', 'dplyr', or 'styler' not installed!"
|
||||||
currentpkg="your"
|
currentpkg="your"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.1.9069
|
Version: 1.8.1.9070
|
||||||
Date: 2022-09-27
|
Date: 2022-09-27
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
|
@ -289,6 +289,7 @@ export(mo_reset_session)
|
|||||||
export(mo_shortname)
|
export(mo_shortname)
|
||||||
export(mo_snomed)
|
export(mo_snomed)
|
||||||
export(mo_species)
|
export(mo_species)
|
||||||
|
export(mo_status)
|
||||||
export(mo_subspecies)
|
export(mo_subspecies)
|
||||||
export(mo_synonyms)
|
export(mo_synonyms)
|
||||||
export(mo_taxonomy)
|
export(mo_taxonomy)
|
||||||
|
Loading…
Reference in New Issue
Block a user