Skip to content

Commit

Permalink
Merge pull request #129 from rOpenGov/development
Browse files Browse the repository at this point in the history
CRAN fixes
  • Loading branch information
MansMeg authored Jan 13, 2024
2 parents ce449c3 + 307706a commit 6599da2
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion R/oin.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' @param oin Vector with swedish organizational identity numbers in character format. See details.
#'
#' @references
#' \href{http://www.riksdagen.se/sv/dokument-lagar/dokument/svensk-forfattningssamling/lag-1974174-om-identitetsbeteckning-for_sfs-1974-174}{Lag (1974:174) om identitetsbeteckning for juridiska personer m.fl.}
#' \href{https://www.riksdagen.se/sv/dokument-och-lagar/dokument/svensk-forfattningssamling/lag-1974174-om-identitetsbeteckning-for_sfs-1974-174/}{Lag (1974:174) om identitetsbeteckning for juridiska personer m.fl.}
#'
#' @return
#' Character vector (of class \code{oin} and \code{AsIs}) with swedish organizational identity numbers.
Expand Down
10 changes: 5 additions & 5 deletions R/pin.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' \itemize{
#' \item \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv717B-4.pdf}{Skatteverket, \emph{Population registration in Sweden}, SKV 717B} (2007)
#' \item \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv704-8.pdf}{Skatteverket, \emph{Personnummer}, SKV 704} (2007)
#' \item \href{http://www.riksdagen.se/sv/Dokument-Lagar/Utredningar/Statens-offentliga-utredningar/Personnummer-och-samordningsnu_GWB360/}{SOU 2008:60 : Personnummer och samordningsnummer} (2008)
#' \item \href{https://www.riksdagen.se/sv/dokument-och-lagar/dokument/statens-offentliga-utredningar/personnummer-och-samordningsnummer-del-1_gwb360/}{SOU 2008:60 : Personnummer och samordningsnummer} (2008)
#' \item \emph{Personnummer: information fran Centrala folkbokförings- och uppbördsnämnden.} (1967). Stockholm
#' \item \emph{Den svenska folkbokföringens historia under tre sekel.} (1982). Solna: Riksskatteverket \href{http://www.skatteverket.se/privat/folkbokforing/omfolkbokforing/folkbokforingigaridag/densvenskafolkbokforingenshistoriaundertresekler.4.18e1b10334ebe8bc80004141.html}{URL}
#' }
Expand Down Expand Up @@ -190,7 +190,7 @@ is.pin <- function(pin) inherits(pin, "pin")
#' \itemize{
#' \item Skatteverket, \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv717B-4.pdf}{\emph{Population registration in Sweden}}. SKV 717B. (2007)
#' \item Skatteverket, \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv704-8.pdf}{\emph{Personnummer}}. SKV 704. (2007)
#' \href{http://www.riksdagen.se/sv/Dokument-Lagar/Utredningar/Statens-offentliga-utredningar/Personnummer-och-samordningsnu_GWB360/}{SOU 2008:60 : Personnummer och samordningsnummer}, (2008)
#' \href{https://www.riksdagen.se/sv/dokument-och-lagar/dokument/statens-offentliga-utredningar/personnummer-och-samordningsnummer-del-1_gwb360/}{SOU 2008:60 : Personnummer och samordningsnummer}, (2008)
#' }
#'
#' @return
Expand Down Expand Up @@ -229,7 +229,7 @@ pin_ctrl <- function(pin, force_logical = FALSE){
#' \itemize{
#' \item Skatteverket, \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv717B-4.pdf}{\emph{Population registration in Sweden}}. SKV 717B. (2007)
#' \item Skatteverket, \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv704-8.pdf}{\emph{Personnummer}}. SKV 704. (2007)
#' \href{http://www.riksdagen.se/sv/Dokument-Lagar/Utredningar/Statens-offentliga-utredningar/Personnummer-och-samordningsnu_GWB360/}{SOU 2008:60 : Personnummer och samordningsnummer}, (2008)
#' \href{https://www.riksdagen.se/sv/dokument-och-lagar/dokument/statens-offentliga-utredningar/personnummer-och-samordningsnummer-del-1_gwb360/}{SOU 2008:60 : Personnummer och samordningsnummer}, (2008)
#' }
#'
#' @return
Expand Down Expand Up @@ -261,7 +261,7 @@ pin_sex <- function(pin){
#' \itemize{
#' \item Skatteverket, \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv717B-4.pdf}{\emph{Population registration in Sweden}}. SKV 717B. (2007)
#' \item Skatteverket, \href{https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv704-8.pdf}{\emph{Personnummer}}. SKV 704. (2007)
#' \href{http://www.riksdagen.se/sv/Dokument-Lagar/Utredningar/Statens-offentliga-utredningar/Personnummer-och-samordningsnu_GWB360/}{SOU 2008:60 : Personnummer och samordningsnummer}, (2008)
#' \href{https://www.riksdagen.se/sv/dokument-och-lagar/dokument/statens-offentliga-utredningar/personnummer-och-samordningsnummer-del-1_gwb360/}{SOU 2008:60 : Personnummer och samordningsnummer}, (2008)
#' }
#'
#' @return
Expand Down Expand Up @@ -432,7 +432,7 @@ pin_date <- function(pin) {
#' @inheritParams pin_ctrl
#'
#' @references
#' \href{http://www.riksdagen.se/sv/Dokument-Lagar/Utredningar/Statens-offentliga-utredningar/Personnummer-och-samordningsnu_GWB360/}{SOU 2008:60 : Personnummer och samordningsnummer}
#' \href{https://www.riksdagen.se/sv/dokument-och-lagar/dokument/statens-offentliga-utredningar/personnummer-och-samordningsnummer-del-1_gwb360/}{SOU 2008:60 : Personnummer och samordningsnummer}
#'
#' @return
#' Birthplace as factor.
Expand Down
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ citEntry(entry="misc",
person(given = "Erik", family= "Bulow", email = "eriklgb@gmail.com")
),
journal = "",
URL = "http://github.com/rOpenGov/sweidnumbr",
URL = "https://github.com/rOpenGov/sweidnumbr",
year = year,
note = vers,
textVersion =
paste("Magnusson, Mans and Bulow, Erik (",year,"). ",
"sweidnumbr: R tools to handle of swedish identity numbers. ",
vers,
" URL: http://github.com/rOpenGov/sweidnumbr",
" URL: https://github.com/rOpenGov/sweidnumbr",
sep="")
)
2 changes: 1 addition & 1 deletion man/as.oin.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/as.pin.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/pin_birthplace.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/pin_coordn.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/pin_ctrl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/pin_sex.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vignettes/sweidnumbr.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ roin(3)

## <a name="licens"></a>Licensing and Citations

This work can be freely used, modified and distributed under the open license specified in the [DESCRIPTION file](https://github.com/MansMeg/sweidnumbr/blob/master/DESCRIPTION).
This work can be freely used, modified and distributed under the open license specified in the [DESCRIPTION file](https://github.com/rOpenGov/sweidnumbr/blob/master/DESCRIPTION).

Kindly cite the work as follows

Expand All @@ -144,10 +144,10 @@ citation("sweidnumbr")

- [Population registration in Sweden](https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv717B-4.pdf). (2007)
- [SKV 704 : Personnummer](https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv704-8.pdf). (2007)
- [SOU 2008:60 : Personnummer och samordningsnummer](http://www.riksdagen.se/sv/Dokument-Lagar/Utredningar/Statens-offentliga-utredningar/Personnummer-och-samordningsnu_GWB360/). (2008)
- [SOU 2008:60 : Personnummer och samordningsnummer](https://www.riksdagen.se/sv/dokument-och-lagar/dokument/statens-offentliga-utredningar/personnummer-och-samordningsnummer-del-1_gwb360/). (2008)
- Personnummer: information fran Centrala folkbokförings- och uppbördsnämnden. (1967). Stockholm
- Den svenska folkbokföringens historia under tre sekel. (1982). Solna: Riksskatteverket [URL](http://www.skatteverket.se/privat/folkbokforing/omfolkbokforing/folkbokforingigaridag/densvenskafolkbokforingenshistoriaundertresekler.4.18e1b10334ebe8bc80004141.html)
- [Lag (1974:174) om identitetsbeteckning for juridiska personer m.fl.](http://www.riksdagen.se/sv/dokument-lagar/dokument/svensk-forfattningssamling/lag-1974174-om-identitetsbeteckning-for_sfs-1974-174)
- [Lag (1974:174) om identitetsbeteckning for juridiska personer m.fl.](https://www.riksdagen.se/sv/dokument-och-lagar/dokument/svensk-forfattningssamling/lag-1974174-om-identitetsbeteckning-for_sfs-1974-174/)


## Session info
Expand Down
6 changes: 3 additions & 3 deletions vignettes/sweidnumbr.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h2><a name="exampleoin"></a>Example: organizational identity numbers</h2>
</div>
<div id="licensing-and-citations" class="section level2">
<h2><a name="licens"></a>Licensing and Citations</h2>
<p>This work can be freely used, modified and distributed under the open license specified in the <a href="https://github.com/MansMeg/sweidnumbr/blob/master/DESCRIPTION">DESCRIPTION file</a>.</p>
<p>This work can be freely used, modified and distributed under the open license specified in the <a href="https://github.com/rOpenGov/sweidnumbr/blob/master/DESCRIPTION">DESCRIPTION file</a>.</p>
<p>Kindly cite the work as follows</p>
<div class="sourceCode"><pre class="sourceCode r"><code class="sourceCode r"><span class="kw">citation</span>(<span class="st">&quot;sweidnumbr&quot;</span>)</code></pre></div>
<pre><code>##
Expand Down Expand Up @@ -184,10 +184,10 @@ <h2><a name="references"></a>References</h2>
<ul>
<li><a href="https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv717B-4.pdf">Population registration in Sweden</a></li>
<li><a href="https://github.com/rOpenGov/sweidnumbr/blob/master/docs/skv704-8.pdf">SKV 704 : Personnummer</a></li>
<li><a href="http://www.riksdagen.se/sv/Dokument-Lagar/Utredningar/Statens-offentliga-utredningar/Personnummer-och-samordningsnu_GWB360/">SOU 2008:60 : Personnummer och samordningsnummer</a></li>
<li><a href="https://www.riksdagen.se/sv/dokument-och-lagar/dokument/statens-offentliga-utredningar/personnummer-och-samordningsnummer-del-1_gwb360/">SOU 2008:60 : Personnummer och samordningsnummer</a></li>
<li>Personnummer: information fran Centrala folkbokförings- och uppbördsnämnden. (1967). Stockholm</li>
<li>Den svenska folkbokföringens historia under tre sekel. (1982). Solna: Riksskatteverket <a href="http://www.skatteverket.se/privat/folkbokforing/omfolkbokforing/folkbokforingigaridag/densvenskafolkbokforingenshistoriaundertresekler.4.18e1b10334ebe8bc80004141.html">URL</a></li>
<li><a href="http://www.riksdagen.se/sv/dokument-lagar/dokument/svensk-forfattningssamling/lag-1974174-om-identitetsbeteckning-for_sfs-1974-174">Lag (1974:174) om identitetsbeteckning for juridiska personer m.fl.</a></li>
<li><a href="https://www.riksdagen.se/sv/dokument-och-lagar/dokument/svensk-forfattningssamling/lag-1974174-om-identitetsbeteckning-for_sfs-1974-174/">Lag (1974:174) om identitetsbeteckning for juridiska personer m.fl.</a></li>
</ul>
</div>
<div id="session-info" class="section level2">
Expand Down

0 comments on commit 6599da2

Please # to comment.