Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rdbnomics
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dbnomics
rdbnomics
Commits
4ff99f21
Commit
4ff99f21
authored
4 years ago
by
Sébastien Galais
Browse files
Options
Downloads
Patches
Plain Diff
Force the column 'original_period' to be of class character.
parent
2e46d98f
No related branches found
No related tags found
No related merge requests found
Pipeline
#159779
passed with stage
Stage:
in 6 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
R/dot_rdb.R
+2
-0
2 additions, 0 deletions
R/dot_rdb.R
with
2 additions
and
0 deletions
R/dot_rdb.R
+
2
−
0
View file @
4ff99f21
...
...
@@ -152,6 +152,7 @@
call.
=
FALSE
)
})
DBdata
[,
original_period
:=
as.character
(
original_period
)]
tryCatch
({
data.table
::
setnames
(
DBdata
,
"period_start_day"
,
"period"
)
...
...
@@ -292,6 +293,7 @@
call.
=
FALSE
)
})
DBlist
[,
original_period
:=
as.character
(
original_period
)]
# In case of different classes, the class of the column 'original_period'
# is set to 'character'
if
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment