Skip to content

Commit f3529ba

Browse files
committed
Update to hugo 0.134.1
- Update GA key for new system. - Update tweet shortcodes
1 parent 45a6c2a commit f3529ba

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title = "R-hub blog"
55
theme = "hugo-lithium"
66
enableEmoji = true
77
pygmentsUseClasses=true
8-
googleAnalytics = "UA-141769052-1"
8+
googleAnalytics = "G-JBDM8HXVEZ"
99
disqusShortname = ""
1010
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$", "index\\.html", '\.knit\.md$', '\.utf8\.md$']
1111
rssLimit = 5

content/post/2019-05-02-cranlogs-2-1-1/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Probably not, such data can be useful:
5555
- You could also use download counts as a way to summarize the "most important" packages around a topic, like what Zev Ross did below with spatial packages (the code attached to the tweet, [available as a GitHub gist](https://gist.github.com/zross/b64657b05156d43cf81dbdd093df5c13), uses the list of packages of the [spatial CRAN task view](https://cran.r-project.org/web/views/Spatial.html), get their downloads with `cranlogs`, and sort them by popularity).
5656
Note that the [R-hub `pkgsearch` package returns the downloads of last month for search results](https://r-hub.github.io/pkgsearch/)!
5757

58-
<!--html_preserve-->{{% tweet "1123204696141963264" %}}<!--/html_preserve-->
58+
<!--html_preserve-->{{% tweet user="zevross" id="1123204696141963264" %}}<!--/html_preserve-->
5959

6060
# How to use `cranlogs`?
6161

content/post/2019-10-29-mocking/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ or you might even wonder how to test at least part of that package of yours that
2626
In some of these cases, the programming concept you're after is *mocking*, i.e. making a function act *as if* something were a certain way!
2727
In this blog post we shall offer a round-up of resources around mocking, or not mocking, when unit testing an R package.
2828

29-
<!--html_preserve-->{{% tweet "1156754150828498945" %}}<!--/html_preserve-->
29+
<!--html_preserve-->{{% tweet user="sharlagelfand" id="1156754150828498945" %}}<!--/html_preserve-->
3030

3131
Please keep reading, do not flee to Twitter!
3232
:wink: (The talented Sharla did end up using mocking for [her package](https://sharlagelfand.github.io/opendatatoronto/)!)
@@ -159,7 +159,7 @@ Say you want to be sure your packages builds correctly on another operating syst
159159

160160
Regarding the case where you want to test your package when a suggested dependency is or is not installed, you can use the configuration script of a continuous integration service to have at least one build without that dependency:
161161

162-
<!--html_preserve-->{{% tweet "1180175458782076928" %}}<!--/html_preserve-->
162+
<!--html_preserve-->{{% tweet user="hadleywickham" id="1180175458782076928" %}}<!--/html_preserve-->
163163

164164
## Conclusion
165165

content/post/2019-12-03-readmes/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ A recent topic of the Write The Docs' great newsletter was [READMEs](https://www
1717

1818
As mentioned above, the WTD newsletter stated that READMEs are often the first entry point to a project. For a package you could think of other entry points such as the CRAN homepage, but the README remains quite important as seen in the poll below
1919

20-
<!--html_preserve-->{{% tweet "969442252610191361" %}}<!--/html_preserve-->
20+
<!--html_preserve-->{{% tweet user="carroll_jono" id="969442252610191361" %}}<!--/html_preserve-->
2121

2222
A good README is crucial to recruit users that'll actually gain something from using your package. As written by [noffle](https://github.com/noffle/) in [the Art of README](https://github.com/noffle/art-of-readme),
2323

content/post/2020-01-27-examples/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If you want to run only one of the examples you're reading
4949

5050
* You can select the lines and then run Command+Enter (Ctrl+Enter on Linux), be it in the R GUI or in RStudio. Below is a screenshot created by [Mine Çetinkaya-Rundel](https://twitter.com/minebocek) when she curated the [We are R-Ladies Twitter account](https://twitter.com/WeAreRLadies).
5151

52-
<!--html_preserve-->{{% tweet "1064734591641104384" %}}<!--/html_preserve-->
52+
<!--html_preserve-->{{% tweet user="WeAreRLadies" id="1064734591641104384" %}}<!--/html_preserve-->
5353

5454
* From an online `pkgdown` website, you'd use the copy button and then paste the result in your R console.
5555

content/post/2020-03-12-user-preferences/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,11 @@ To use an app directory from within your package you can use `rappdirs` as menti
255255

256256
* Package developers might also like the [`hoardr` package](https://docs.ropensci.org/hoardr/) that basically creates an R6 object building on `rappdirs` with a few more methods (directory creation, deletion).
257257

258-
<!--html_preserve-->{{% tweet "1233495999982628865" %}}<!--/html_preserve-->
258+
<!--html_preserve-->{{% tweet user="henrikbengtsson" id="1233495999982628865" %}}<!--/html_preserve-->
259259

260260
* Some package authors "roll their own" like Henrik Bengtsson in [`R.cache`](https://github.com/HenrikBengtsson/R.cache).
261261

262-
<!--html_preserve-->{{% tweet "1233487759412809734" %}}<!--/html_preserve-->
262+
<!--html_preserve-->{{% tweet user="henrikbengtsson" id="1233487759412809734" %}}<!--/html_preserve-->
263263

264264
* R-devel "just gained support for OS-agile user-specific #rstats cache/config/data folders" [which is big](https://twitter.com/henrikbengtsson/status/1233496382608199683) (but if you use the base R implementation available after R 4.x.y, [unless your package depends on R above that version you'll need to backport the functionality](https://twitter.com/JennyBryan/status/1233506099292246016) [^4]).
265265

netlify.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
command = "hugo -F"
33

44
[context.production.environment]
5-
HUGO_VERSION = "0.72.0"
5+
HUGO_VERSION = "0.134.1"
66

77
[context.deploy-preview.environment]
8-
HUGO_VERSION = "0.72.0"
8+
HUGO_VERSION = "0.134.1"
99

1010
[context.deploy-preview]
1111
command = "hugo -b $DEPLOY_PRIME_URL --buildFuture"

0 commit comments

Comments
 (0)