Skip to content

Commit

Permalink
citation
Browse files Browse the repository at this point in the history
  • Loading branch information
silvadenisson committed Mar 10, 2023
1 parent afcab9c commit 77f4d39
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .Rproj.user/052F1B4E/pcs/files-pane.pper
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"ascending": true
}
],
"path": "~/Documents/GitHub/politicsR/R"
"path": "~/Documents/GitHub/politicsR/inst"
}
2 changes: 1 addition & 1 deletion .Rproj.user/052F1B4E/pcs/workbench-pane.pper
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"TabSet1": 3,
"TabSet2": 3,
"TabSet2": 0,
"TabZoom": {}
}
2 changes: 1 addition & 1 deletion .Rproj.user/052F1B4E/persistent-state
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
build-last-errors="[]"
build-last-errors-base-dir="~/Documents/GitHub/politicsR/"
build-last-outputs="[{\"type\":0,\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source politicsR\\n\\n\"},{\"type\":1,\"output\":\"* installing to library ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library’\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"* installing *source* package ‘politicsR’ ...\\n\"},{\"type\":1,\"output\":\"** using staged installation\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** R\\n\"},{\"type\":1,\"output\":\"** data\\n\"},{\"type\":1,\"output\":\"*** moving datasets to lazyload DB\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** byte-compile and prepare package for lazy loading\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** help\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"*** installing help indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** building package indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** installing vignettes\\n\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from temporary location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from final location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package keeps a record of temporary installation path\\n\"},{\"type\":1,\"output\":\"* DONE (politicsR)\\n\"},{\"type\":1,\"output\":\"\"}]"
build-last-outputs="[{\"type\":0,\"output\":\"==> R CMD INSTALL --preclean --no-multiarch --with-keep.source politicsR\\n\\n\"},{\"type\":1,\"output\":\"* installing to library ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library’\\n\"},{\"type\":1,\"output\":\"* installing *source* package ‘politicsR’ ...\\n\"},{\"type\":1,\"output\":\"** using staged installation\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** R\\n\"},{\"type\":1,\"output\":\"** data\\n\"},{\"type\":1,\"output\":\"*** moving datasets to lazyload DB\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** inst\\n\"},{\"type\":1,\"output\":\"** byte-compile and prepare package for lazy loading\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** help\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"*** installing help indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** building package indices\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** installing vignettes\\n\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from temporary location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package can be loaded from final location\\n\"},{\"type\":1,\"output\":\"\"},{\"type\":1,\"output\":\"** testing if installed package keeps a record of temporary installation path\\n\"},{\"type\":1,\"output\":\"* DONE (politicsR)\\n\"},{\"type\":1,\"output\":\"\"}]"
compile_pdf_state="{\"tab_visible\":false,\"running\":false,\"target_file\":\"\",\"output\":\"\",\"errors\":[]}"
files.monitored-path=""
find-in-files-state="{\"handle\":\"\",\"input\":\"\",\"path\":\"\",\"regex\":false,\"ignoreCase\":false,\"results\":{\"file\":[],\"line\":[],\"lineValue\":[],\"matchOn\":[],\"matchOff\":[],\"replaceMatchOn\":[],\"replaceMatchOff\":[]},\"running\":false,\"replace\":false,\"preview\":false,\"gitFlag\":false,\"replacePattern\":\"\"}"
Expand Down
4 changes: 4 additions & 0 deletions .Rproj.user/052F1B4E/sources/prop/INDEX
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
~%2FDocuments%2FGitHub%2FelectionsBR%2FR%2Fpipe.R="DCE4AFE0"
~%2FDocuments%2FGitHub%2FelectionsBR%2FR%2Futils.R="DE940137"
~%2FDocuments%2FGitHub%2FpoliticsR%2FDESCRIPTION="4CAEF37C"
~%2FDocuments%2FGitHub%2FpoliticsR%2FNAMESPACE="9CFB542A"
~%2FDocuments%2FGitHub%2FpoliticsR%2FR%2FRenova.R="94253A50"
Expand All @@ -10,5 +12,7 @@
~%2FDocuments%2FGitHub%2FpoliticsR%2FR%2Frenewal.R="52784D6D"
~%2FDocuments%2FGitHub%2FpoliticsR%2FR%2Ftbi.R="9BB18343"
~%2FDocuments%2FGitHub%2FpoliticsR%2FR%2Futils.R="B8FAEB6F"
~%2FDocuments%2FGitHub%2FpoliticsR%2FREADME.md="EBAEAD24"
~%2FDocuments%2FGitHub%2FpoliticsR%2Finst%2FCITATION="0EF19258"
~%2FDocuments%2FGitHub%2FpoliticsR%2Fvignettes%2Fintroduction.Rmd="717182B8"
~%2Fcodigo_indices.R="2DB4D601"
5 changes: 5 additions & 0 deletions .Rproj.user/shared/notebooks/paths
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/Users/denisson/Documents/GitHub/electionsBR/R/pipe.R="FBE59FFB"
/Users/denisson/Documents/GitHub/electionsBR/R/utils.R="9A9D4540"
/Users/denisson/Documents/GitHub/politicsR/DESCRIPTION="126E5308"
/Users/denisson/Documents/GitHub/politicsR/R/enp.R="5C9A5D97"
/Users/denisson/Documents/GitHub/politicsR/R/frac.R="9B47AE33"
/Users/denisson/Documents/GitHub/politicsR/R/tbi.R="A210DA9C"
/Users/denisson/Documents/GitHub/politicsR/R/utils.R="5D189F40"
/Users/denisson/Documents/GitHub/politicsR/README.md="939492A5"
/Users/denisson/Documents/GitHub/politicsR/inst/CITATION="61B765E9"
/Users/denisson/Documents/GitHub/politicsR/vignettes/introduction.Rmd="6001DFCD"
Binary file added R/.DS_Store
Binary file not shown.
5 changes: 5 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.onAttach <-
function(libname, pkgname) {
packageStartupMessage("\nTo cite politicsR in publications, use: citation('politicsR')")
}

# Tests vector class inputs
test_numeric <- function(x){

Expand Down
19 changes: 19 additions & 0 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
citHeader("To cite politicsR in publications, please use:")


citEntry(entry = "Manual",
title = "politicsR",
author = personList(as.person("Denisson Silva" ),
as.person("Fernando Meireles"),
as.person("Willber Nascimento"),
as.person("José Alexandre")),
year = "2023",
url = "https://github.com/silvadenisson/politicsR",
doi = {"https://doi.org/10.5281/zenodo.7716661"},
textVersion = paste("Silva, Denisson; Meireles, Fernando; Nascimento, Willber; Alexandre, José. (2023).",
"politicsR.",
"URL: https://github.com/silvadenisson/politicsR.",
"doi: https://doi.org/10.5281/zenodo.7716661")
)


0 comments on commit 77f4d39

Please sign in to comment.